You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the "mip_solution" is just a numpy array with dimension of 3.
I was trying to investigate why I can't get the solution and have seen this comment here
// XXX: This is clearly wrong, most likely we need to have the
So, I was wondering if there is either a way to get the current solution by fixing the issue in this file, or at least a way to export the current solution to a file.
Thanks
-Sertalp
The text was updated successfully, but these errors were encountered:
I can see that they are being accepted because a highs_improved_solution file was created and saved the first of the improved solutions.
That was ~6.5hrs ago. Since then over a dozen improvements have taken place yet none of them got saved. Much to my dismay because I just hit ctrl-c to copy something but my focus was on my terminal 🤦♂️ The real sad part was that I had realized this was taking place and the ctrl-c I used was to copy the options pasted above for this ticket. Anyhow, after getting down to a gap of 1.72% and 75.01% explored in those 6.5hrs I really would like to have seen the last incumbent.
I am trying to read the incumbent solution in a user callback whenever an improvement is made in a MIP model. Here is what I have:
It seems like the "mip_solution" is just a numpy array with dimension of 3.
I was trying to investigate why I can't get the solution and have seen this comment here
HiGHS/src/highs_bindings.cpp
Line 1179 in 5ce7a27
So, I was wondering if there is either a way to get the current solution by fixing the issue in this file, or at least a way to export the current solution to a file.
Thanks
-Sertalp
The text was updated successfully, but these errors were encountered: