jump-dev / HiGHS.jl

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

Optimize the approach to clear quadratic objective #197

Closed metab0t closed 5 months ago

metab0t commented 5 months ago

It seems that we can pass numnz=0 to empty the Hessian and clear quadratic objective.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e26ff8b) 84.22% compared to head (f420720) 84.18%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #197 +/- ## ========================================== - Coverage 84.22% 84.18% -0.04% ========================================== Files 3 3 Lines 1699 1695 -4 ========================================== - Hits 1431 1427 -4 Misses 268 268 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

odow commented 5 months ago

I assume there's already a test for this, but could we add a new test just to be explicit?

odow commented 5 months ago

Thanks @metab0t