Closed hangsuUNC closed 2 months ago
Hi,
I was trying to use good-lp to solve a mixed integer linear programing problem. Is it possible to iteratively adding constraints to a model? If yes, is there an example how to use the add_constraints() function?
Thanks,
Hang
The function you are looking for is probably https://docs.rs/good_lp/latest/good_lp/solvers/trait.SolverModel.html#method.with
there are many examples in this repo and in the documentation
Hi,
I was trying to use good-lp to solve a mixed integer linear programing problem. Is it possible to iteratively adding constraints to a model? If yes, is there an example how to use the add_constraints() function?
Thanks,
Hang