Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  difference between concert and solver

    Posted 03/16/16 04:36 PM

    Originally posted by: FiFila


    Hi;

    What is the difference between concert and solver in CP optimizer? 

     

    Best


    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: difference between concert and solver

    Posted 03/17/16 05:33 AM

    Originally posted by: rdumeur


    Dear Fifila,

    The  "concert" term denotes the modeling layer. That is the set of classes and functions that allows you to build a constraint model.

    The "solver" term  denotes the engine (the IloCP class in C++ API)  that produce variable assignments consistent with the constraints expressed in the constraint model.

    I hope this helps,

     

            Cheers,

     


    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: difference between concert and solver

    Posted 03/18/16 01:13 AM

    Originally posted by: FiFila


    Thank Renaud;

    Would you please let me know what is difference between IloConstraint and IlcConstraint , for instance difference between  cp.add(IlcConstraint) and  cp.add(IloConstraint)?

     

    Best regards

    Fila


    #CPOptimizer
    #DecisionOptimization


  • 4.  Re: difference between concert and solver

    Posted 03/18/16 02:33 AM

    Originally posted by: rdumeur


    Dear FiFila,

     

    The difference is that the IloConstraint is a handle to a data structure used as a model definition, when the IlcConstraint is a handle to a data structure used by the solver during solve. The ILO wrapper macros allows you to define a new type of IloConstraint for which you precise the kind of IlcConstraint that will be produced during solve  (it is the constraint returned in the body you specify when using the wrapper macro).

    At the beginning of solve, the solver will scan the IloModel, and for each ILO constraint stored in it, it will invoke the associated IlcConstraint generation procedure. If your model include a custom constraint defined using the wrapper macros, then the procedure you've specified will be invoked to produce the appropriate IlcConstraint.

    I hope this helps.

    Cheers,

     


    #CPOptimizer
    #DecisionOptimization