Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Lexicographic Variable/Value Ordering

    Posted 05/11/17 11:01 AM

    Originally posted by: Kyle_Coventry


    Hello there,

    How does one achieve a lexicographic variable/value ordering using search phases? Looks like their is no option that orders the variables left to right (as they appear in the data structure) and the values smallest to largest (by magnitude). Seems like the options all pertain to domain impact etc.

    Any clarification here would be appreciated, thanks!

    Kyle


    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Lexicographic Variable/Value Ordering

    Posted 05/12/17 10:58 AM

    Originally posted by: ol


    Hello,

    do you mean:

      cp.solve(IloSearchPhase(env, x,
                  IloSelectSmallest(IloVarIndex(env, x)),
                  IloSelectSmallest(IloValue(env))
               ));

    Some additional examples can be found in the delivered example searchphases.cpp, and you can find the complete API at:

    https://www.ibm.com/support/knowledgecenter/en/SSSA5P_12.7.1/ilog.odms.cpo.help/CP_Optimizer/User_manual/topics/tune_order.html

     

    Regards,

    ol


    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: Lexicographic Variable/Value Ordering

    Posted 05/12/17 11:26 AM

    Originally posted by: Kyle_Coventry


    This is perfect, thanks! Really appreciate it.

    This link should be in the search phase section of the online manual... 

    Kyle


    #CPOptimizer
    #DecisionOptimization