Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Resource usage resets after Changeover Occurs?

    Posted 01/29/15 01:49 PM

    Originally posted by: cartepap


    Problem involves scheduling a series of products of type A, then incurring downtime, then switching over to schedule products of type B.

    I have successfully modeled the time needed to make the changeover with a tuple and noOverlap function. I am currently trying to model the resource consumption. Once the resource of A gets used up, it should change over to product B. Then once it switches back to product A, the resource should be replenished. I can use the cumulFunction to model the initial depletion, but how do I get it to reset once a changover has occured?

    Thanks


    #ConstraintProgramming-General
    #DecisionOptimization


  • 2.  Re: Resource usage resets after Changeover Occurs?

    Posted 01/30/15 09:03 AM

    Originally posted by: ChrisBr


    Hello Patrick,

    I'm not sure to understand your question.
    Did you consider to use stepAtStar/stepAtEnd?
    I suggest you to have a look at CP Optimizer User's Manual>Designing scheduling models>Modeling classical finite capacity resources

    Feel free to come back and to give us your model if you need more help.

    Regards,

    Chris.
     


    #ConstraintProgramming-General
    #DecisionOptimization


  • 3.  Re: Resource usage resets after Changeover Occurs?

    Posted 02/03/15 03:58 PM

    Originally posted by: cartepap


    Hi Chris,

    Thanks for the reply. I read the link you provided and would classify my problem as a renewable resource type. I have figured out the problem I was having earlier, but have come across something that should be relatively straight forward...

    dvar interval A[i in Task]  size i.pt;
    dvar interval Maint[i in 1..M] optional size 5;
    dvar sequence S in A and Maint types all(i in Task)i.type;

    I'm getting an error on the "and". I'm trying to say that I have a sequence of tasks, with optional maintenance tasks. What syntax do I need to cram multiple interval names into one sequence?


    #ConstraintProgramming-General
    #DecisionOptimization


  • 4.  Re: Resource usage resets after Changeover Occurs?

    Posted 02/03/15 05:43 PM

    Originally posted by: cartepap


    Found it! it's append. 


    #ConstraintProgramming-General
    #DecisionOptimization


  • 5.  Re: Resource usage resets after Changeover Occurs?

    Posted 03/03/19 12:15 PM

    Originally posted by: KCBHOSALE


    Sir, can you please send me the code for changeover time


    #ConstraintProgramming-General
    #DecisionOptimization