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
238 stars 34 forks source link

Default solver configuration & reporting #40

Closed k-sidorov closed 1 year ago

k-sidorov commented 1 year ago

Addressing the issue #32:

lovasoa commented 1 year ago

Isn't it a bit confusing to add a constant named DEFAULT_SOLVER_NAME for every solver, even the ones that are not the default? Couldn't we just add a method called name () to the solver trait?