Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  adding constraint in CP

    Posted 06/05/12 05:04 AM

    Originally posted by: WBCT_tushar_goel


    After obtaining solution I need to add a new constraint to my CP model , so that the whole model gets modified and a new solution is obtained. The constraint which is being added depends on the previous solution of the model. Is there any way in Constraint Programming that this task is performed itself by the engine.
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: adding constraint in CP

    Posted 06/05/12 11:11 AM

    Originally posted by: GGR


    Hi

    Your request is quite unclear for me:

    You can enumerate the solutions of a CP Optimizer model in OPL using the startNewSearch/next instructions mmeber of IloCP in a OPL script file.

    If the constraint is intended to dramatically change the solution, the best way is to chain model resolutions augmented of this constraint although using an OPL script file.

    You can find any information about this under IDE and OPL > Optimization Programming Language (OPL) > IBM ILOG Script Reference Manual

    and

    IDE and OPL > Optimization Programming Language (OPL) > IBM ILOG Script Reference Manual > OPL Classes > IloCP

    Documentation pages

    Hape that helps
    #DecisionOptimization
    #OPLusingCPOptimizer