Forum Discussion
FICO
1 year agoCommunity Manager
Xpress solver freezes when using addmipsol
I have run my code, which includes adding heuristic solutions at each leaf node of the branch-and-bound tree. The added solution is feasible and accepted by the solver. However, at a certain point, t...
FICO
1 year agoCommunity Manager
Hi, sorry for the delay, this request went through several hands and now landed on my desk. I have a question: How do you know the solver freezes? From what I am seeing in the log file you shared, there is steady progress in the Branch-and-Bound search. The last log line happens at some 89k branch-and-bound nodes and reads:
89181 .113081 .009942 10 2297 14 91.21% 1 90
From what I read in your code, you (potentially) add a user solution at the beginning of every new node of the search tree (via the prenode callback). So, lots of log messages are to be expected. The solver needs to check the solution internally, which is what slows down the solver from your perspective. But I cannot see it freeze completely.
I'll play around with your code and let you know what else I find out.

