HiGHS
HiGHS copied to clipboard
python: Provide incumbent solution in callback
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.
I updated the commit to fix the formatting issue and made a small edit to examples/call_highs_from_python.py
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.