rust-or / lp-solvers

library implementing interaction with various linear programming solvers
https://docs.rs/lp-solvers/
MIT License
17 stars 8 forks source link

Passing arbitrary arguments to the solvers #10

Open areleu opened 1 week ago

areleu commented 1 week ago

Hi! We are testing out https://github.com/rust-or/good_lp and to use solvers such as gurobi we need to use your API, to do proper testing we needed to adjust the arguments passed to the solver and I couldn't find an API to do this so I implmenented a hack here https://github.com/areleu/lp-solvers/tree/verbose-gurobi which I consider not viable in the long run because this would mean adding a method for every single command.

Am I missing some part of the documentation or is this a missing feature?

lovasoa commented 1 week ago

It's not possible yet. Pull request welcome !