Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  declaration of variable

    Posted 02/04/09 12:27 PM

    Originally posted by: SystemAdmin


    [hidedeep2008 said:]

    in OPL, are the following two declarations of variable the same?

    1.  int variable=
    2.  dexpr int variable=
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: declaration of variable

    Posted 02/04/09 12:37 PM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    Hi,

    Short answer, no.

    1. defined constant data to be used to define the optimization model.

    Declaring decision variables (on which the engine will decide the value) is done using :

    dvar int x in 1..10;

    Then 2. defines an decision expression that can contains decision variables. It can be used several times in the model where the same expression is used. It makes the model more readable.

    Alain
    #DecisionOptimization
    #OPLusingCPOptimizer