HiGHS icon indicating copy to clipboard operation
HiGHS copied to clipboard

python: Provide incumbent solution in callback

Open few opened this issue 1 year ago • 2 comments

An accessor for the incumbent solution was already present in the callback data in highspy. But as pointed out in #1856 it was not properly implemented. This PR fixes that.

few avatar Aug 17 '24 19:08 few

I updated the commit to fix the formatting issue and made a small edit to examples/call_highs_from_python.py

few avatar Aug 21 '24 18:08 few

This should be addressed in PR #1942, which was just merged in latest. There are significant updates to highspy, including callbacks.

Please, if possible, pull the updates from the latest branch before we can review/approve this.

galabovaa avatar Sep 26 '24 09:09 galabovaa