Bravos-Power / pyoframe

Rapidly formulate huge optimization models
https://bravos-power.github.io/pyoframe/
MIT License
1 stars 1 forks source link

Fixed bug related to getting solution when solver returns timeout #65

Closed kjartan-at-bravos closed 2 weeks ago

kjartan-at-bravos commented 2 weeks ago

When the gurobi compute server reaches TimeLimit. it returns the OK flag, but may not have a solution. Fixed this by checking if termination condition is optimal before attempting to get the solution from the compute server.

santiago-roig commented 2 weeks ago

Please fix the failing tests before we merge