简体   繁体   中英

Solving system of linear inequalities in 3 or more variables - Python

I want to solve systems of linear inequalities in 3 or more variables. That is, to find all possible solutions.

I originally found GLPK and tried the python binding, but the last few updates to GLPK changed the APIs and broke the bindings. I haven't been able to find a way to making work.

I would like to have the symbolic answer, but numeric approximations will be fine too.

I would also be happy to use a library that solves maximization problem. I can always re-write the problems to be solve in that way.

制作矩阵对象并使用Crammer方法

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM