jump-dev / HiGHS.jl

A Julia interface to the HiGHS solver
https://highs.dev
MIT License
103 stars 14 forks source link

Fix INFEASIBLE_POINT statuses #98

Closed odow closed 2 years ago

odow commented 2 years ago

Closes #97

The example in #97 now returns:

julia> solution_summary(model)
* Solver : HiGHS

* Status
  Termination status : OPTIMAL
  Primal status      : INFEASIBLE_POINT
  Dual status        : INFEASIBLE_POINT
  Message from the solver:
  "7"

* Candidate solution
  Objective value      : 144677.302624058
  Objective bound      : 0.0
  Dual objective value : 180188.05708437136

* Work counters
  Solve time (sec)   : 0.12055
  Simplex iterations : 488
  Barrier iterations : 0

Not adding it as a test because it's really an upstream bug in HiGHS that will get fixed at some point.

codecov[bot] commented 2 years ago

Codecov Report

Merging #98 (a2968a9) into master (efddaca) will decrease coverage by 0.06%. The diff coverage is 89.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
- Coverage   84.52%   84.46%   -0.07%     
==========================================
  Files           3        3              
  Lines        1260     1268       +8     
==========================================
+ Hits         1065     1071       +6     
- Misses        195      197       +2     
Impacted Files Coverage Δ
src/MOI_wrapper.jl 95.24% <89.47%> (-0.16%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update efddaca...a2968a9. Read the comment docs.