What I obtained is that prob.status is 0, which is inconsistent with the pulp.LpStatus mapping. As set out in linprog, HiGHS has a different way to represent the exit status of the algorithm:
0 : Optimization terminated successfully.
1 : Iteration or time limit reached.
2 : Problem appears to be infeasible.
3 : Problem appears to be unbounded.
4 : The HiGHS solver ran into a problem.
The mapping with this solver must be aligned with the general pulp.LpStatus.
Useful extra information
The info below often helps, please fill it out if you're able to. :)
Details for the issue
What did you do?
I was very interested in using
HiGHS
solver underPuLP
, and downloaded the latest GitHub version https://github.com/coin-or/pulp/commit/a7684ac90d93dc3bca382d90841a9ab5f398b50f. I ran a small feasible problem withHiGHS
like this:What did you expect to see?
As the problem is known to be feasible, I would expect that
prob.status = 1
sinceWhat did you see instead?
What I obtained is that
prob.status
is0
, which is inconsistent with thepulp.LpStatus
mapping. As set out in linprog,HiGHS
has a different way to represent the exit status of the algorithm:The mapping with this solver must be aligned with the general
pulp.LpStatus
.Useful extra information
The info below often helps, please fill it out if you're able to. :)
What operating system are you using?
I'm using python version:
I installed PuLP via:
Did you also