Originally posted by: GMB7_Wang_Kefeng
I have get a feasibility solution by heuristic algorithm, and I want to set this solution
as an initial solution during solving my model. About 'set initial solution', I have found
the warmstart examples. But as far as I know, the warmstart tell us how to set initial
solutin for one variable. But my model have several variables like:
dvar boolean x
i in N1j in N2k in V;
dvar int+ a
i in Nk in V;
dvar int+ b
i in Nk in V;
dvar int+ y
i in N1j in N2;
dvar int+ z
i in N1j in N2;
I want to know how to attach the initial value got by the heuristic algorithm to these
variables. A section of code or a template is welcome, thank you very much!
#DecisionOptimization#OPLusingCPLEXOptimizer