scipopt / russcip

Rust interface for SCIP
https://crates.io/crates/russcip
Apache License 2.0
34 stars 11 forks source link

Return best found solution if one is found #41

Closed mmghannam closed 1 year ago

mmghannam commented 1 year ago

https://github.com/scipopt/russcip/blob/14dbea2cbd7dd87bba96a65b17c45e739c121f84/src/model.rs#L425

It can be that a solution is found but the status is not optimal; e.g. a timelimit is reached. We should instead check if a solution exists.

mmghannam commented 1 year ago

@yonch from your fork, I assume you will be adding a pull request soon? 😄

yonch commented 1 year ago

happy to! especially now I know the PR will have an interested reviewer :)

I think I should rebase, should be a few minutes.

mmghannam commented 1 year ago

Solved in #42