Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

set initial solution got by heuristic algorithm

  • 1.  set initial solution got by heuristic algorithm

    Posted 02/26/12 03:34 AM

    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 xi in N1j in N2k in V;
    dvar int+ ai in Nk in V;
    dvar int+ bi in Nk in V;
    dvar int+ yi in N1j in N2;
    dvar int+ zi 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