pywr / pywr-next

An experimental repository exploring ideas for a major revision to Pywr using Rust as a backend.
6 stars 4 forks source link

Improve run_all_solvers to allow specifying which solvers should pass #202

Closed jetuk closed 2 days ago

jetuk commented 4 weeks ago

Not all tests will be able to be passed by all solver implementations. For example, so some solvers might not support integer variables. The helper function run_all_solvers should be updated to specifying either the solvers which are expected to run the model without error. Other solvers should be expected to return something like an UnsupportedFeature error.

jetuk commented 2 days ago

Done in #215