Decision Optimization

Decision Optimization

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


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

Variable IloStep quantities

  • 1.  Variable IloStep quantities

    Posted 02/17/15 10:38 AM

    Originally posted by: AndreCire


    Dear Forum,

    I hope all is well.

    I need to model a renewable resource (a product in a tank) that is consumed and produced by certain activities (representing typical product demand and production, respectively). Consumption activities have a pre-determined amount that they require from the resource and can be formulated perfectly with "-IloStepAtEnd". Production activities, on the other hand, have a variable production amount between 'vmin' and 'vmax' that I formulate also using +IloStepAtEnd:

    f += IloStepAtEnd(act_prod_A, vmin, vmax)
    f += IloStepAtEnd(act_prod_B, vmin, vmax)
    ...
    f += IloStepAtEnd(act_prod_Z, vmin, vmax)

    (for some cumulative function 'f'). My issue is that I have additional constraints over the total amount that is produced during that period (e.g., raw material limitations). For example, I may not be able to produce 'vmax' in all production activities. Since the amount 'v' that is produced for each +IloStepAtEnd in this case is a decision of the problem, would it be possible to actually get that variable/expression and use it in other constraints? I hope I'm not missing something trivial there.

    Thanks a lot!
    Andre


    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Variable IloStep quantities

    Posted 02/18/15 07:31 AM

    Originally posted by: Petr Vilím


    Hello Andre,

    The heights of individual steps are accessible using IloHeigtAtEnd. This function returns the total change that is caused by all steps/pulses of given interval in a cumul function. It is possible to pass the total cumulative function f as an argument, but also the individual pulses if necessary. See the bottom of this page for more details.

    Cheers, Petr


    #CPOptimizer
    #DecisionOptimization