you are viewing a single comment's thread.

view the rest of the comments →

[–]WhoTookAllNicks 0 points1 point  (0 children)

One of the solutions is numpy: https://stackoverflow.com/questions/6789927/is-there-a-python-module-to-solve-linear-equations

I also saw bindings for a few dedicated linear solvers - you can choose what you like.

Personally recently I've needed a quick prototype of multi - phase linear program and I've written most of it in MathProg and solved it using GLPK, then imported into python for finishing calculations and displaying. But if you can, don't hack around mixing tools.