Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Model variable interval lengths

  • 1.  Model variable interval lengths

    Posted 02/09/17 03:39 PM

    Originally posted by: nlp7


    Hi, 

    I want to model a scheduling problem where the length of an interval is proportional to the value of a continuous (positive) variable.

    Would it be possible to model it in CP without discretizing my variables?

    Thank you in advance


    #ConstraintProgramming-General
    #DecisionOptimization


  • 2.  Re: Model variable interval lengths

    Posted 02/13/17 08:02 AM

    Hi,

    Floating point expressions problem

    CP supports only integer decision variables. However, it is possible to constrain floating point expressions, or to use them as an objective term. It is also possible to declare floating point expressions with the dexpr keyword.
    To access this example, go to: examples/opl/floatexpr.

     

    regards


    #ConstraintProgramming-General
    #DecisionOptimization