rust-or / good_lp

Linear Programming for Rust, with a user-friendly API. This crate allows modeling LP problems, and lets you solve them with various solvers.
https://crates.io/crates/good_lp
MIT License
216 stars 35 forks source link

really need an example that had these properties #21

Closed AdamGlass closed 1 year ago

AdamGlass commented 1 year ago

bottoms up programmatic construction of some expression with some variables and some constants

lovasoa commented 1 year ago

Have a look at the examples

lovasoa commented 1 year ago

https://github.com/rust-or/good_lp/blob/main/tests/resource_allocation_problem.rs

https://github.com/rust-or/good_lp/blob/main/tests/shadow_price.rs