Hi, I would like to know how I can give an initial integer solution to a MIP solved with CPLEX. I found this link on the topic but I’m not convinced about the option it suggests for CPLEX in particular “Advanced basis” sounds like a setting to warm start an LP, not a MIP. I’m also not sure how to actually give my heuristic solution to CPLEX after that.
https://how-to.aimms.com/Articles/108/108-kb11-mip-initial-solution.html.
I also found this related question, but the link in the selected answer seems to be broken: https://community.aimms.com/developers-math-or-programming-39/how-to-start-solving-with-an-initial-solution-466.
Thanks
Best answer by Marcel Hunting
Hi
Note that you can check whether CPLEX accepts the MIP start by printing the CPLEX status file (in the log folder) by setting the following options:
- Solvers General option 'Solver listing messages' to 'All'
- CPLEX option 'MIP display' to 'Display each nth node'
CPLEX will print for example:
1 of 1 MIP starts provided solutions.
MIP start 'm1' defined initial solution with objective 21.0000.