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

Small documentation error #28

Closed ghproek closed 11 months ago

ghproek commented 1 year ago

This should be very easy to fix. I believe the documentation here is in error (it says that two things are equivalent, but I don't see how they could be):

https://docs.rs/good_lp/1.4.0/good_lp/variable/struct.ProblemVariables.html#method.add

lovasoa commented 1 year ago

Oh yes, you are right, this is a mistake in the documentation. Can you make a small Pull Request to fix that?

robbiemu commented 11 months ago

submitted https://github.com/rust-or/good_lp/pull/34

lovasoa commented 11 months ago

What was the problem here? It looks like it was an example for the variables bounds syntax with two inequalities