coin-or / pulp

A python Linear Programming API
http://coin-or.github.io/pulp/
Other
2.05k stars 381 forks source link

New HiGHS (highspy) interface does not set lp status #633

Closed simon-b closed 8 months ago

simon-b commented 1 year ago

Details for the issue

New HIGHS solver does not call lp.assignStatus. The status is returned from: https://github.com/coin-or/pulp/blob/master/pulp/apis/highs_api.py#L346 but in actualSolve the call to lp.assignStatus is not present. https://github.com/coin-or/pulp/blob/master/pulp/apis/highs_api.py#L352

What did you do?

Solve a model using pulp.HIGHS()

What did you expect to see?

The lp would have a status that matches the HIGHS result

What did you see instead?

lp.status is zero (LpStatusNotSolved)

Useful extra information

I installed PuLP via:

Did you also