rust-or / rust-lp-modeler

Lp modeler written in Rust
MIT License
95 stars 29 forks source link

Feedback on good_lp #70

Open lovasoa opened 3 years ago

lovasoa commented 3 years ago

Hello @jcavat ! Sorry for polluting the issue section, but I finished a first iteration of the improved API for linear programming I was mentioning in https://github.com/jcavat/rust-lp-modeler/pull/66#issuecomment-777411644. It is in early stage, but I would love to get your feedback on the API design.

Here it is:

lovasoa commented 3 years ago

Compared to this crate, it doesn't handle non-linear objectives and constraints, but it is immensely faster when handling large problems. I have a test for a sum of 100k variables.

jcavat commented 3 years ago

very elegant ! You should consider at least quadratic inequalities. It seems it's now well supported by CBC.

lovasoa commented 3 years ago

Would you be interested in contributing ? Can I add you as a maintainer ?