How to pass multiple MIP start solutions

74 views
Skip to first unread message

Tobias Pollehn

unread,
Aug 19, 2022, 4:55:15 AM8/19/22
to OPTANO Modeling
Hi,

I would like to pass heuristic solutions to a solver (Cplex 2010) using OPTANO. Solve(Model, Dictionary<Variable, Double>) works well for one MIP start. However, I was wondering whether there is a way to pass multiple MIP start solutions to the solver?

All the best,
Tobias

OPTANO Team

unread,
Aug 19, 2022, 5:21:27 AM8/19/22
to OPTANO Modeling
Hi, 

Have you had a chance to check if EnqueueUserSolution(Dictionary<String, Double>) of Interface ICanHandleUserSolution | OPTANO.Modeling matches your need? 

best
jp

Tobias P

unread,
Aug 22, 2022, 7:56:06 AM8/22/22
to OPTANO Modeling
Hi jp,

thanks for your quick reply! The interface would be a good match. However, it seems to be implemented only for the gurobi solver and not for cplex (which I would like to use), right?

All the best,
Tobias

OPTANO Team

unread,
Aug 22, 2022, 8:40:48 AM8/22/22
to OPTANO Modeling
Hi

yes. you're absolutely right. 

In the past, the cplex docs suggested to provide just one starting solution. 

I have opened a ticket with IBM to provide more details if additional sets of start values would be beneficial:  Decision Optimization (ibm.com)

Quite curious 
jp

Tobias P

unread,
Aug 22, 2022, 10:07:55 AM8/22/22
to OPTANO Modeling
Great, thank you very much!
Reply all
Reply to author
Forward
0 new messages