Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  problem with matching

    Posted 11/16/11 09:25 AM

    Originally posted by: John85655


    Hi OPL-Profs,

    I'm an beginner in using OPL and right now i am fighting with a problem:
    I have 21 machines and 5 processes.But certain machines are just able to do certain processes.
    At the ende each product has to run through each process on one machine per process.
    On which one isn't clear yet, as i want to minimize the costs.

    Does anyone has an idea how to implement this with OPL?
    First the process-machine-matching and later the Just-on-one-machine-per-process-problem?

    Thanks a lot for your help!
    John
    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: problem with matching

    Posted 11/17/11 03:55 AM

    Originally posted by: rdumeur


    Hi,

    I think you will find help in an example provided in the product: sched_jobshopflex.
    In the .mod file you'll see that an operation can be instantiated on different machines by using alternatives (modes in this example). So you have an interval variable representing the operation and the alternative constraints ensure that the operation happens only on one machine by ensuring that the corresponding interval variable is selected.
    Note that this example is more sophisticated because it even allows for different execution times depending on which machine the operation is performed.

    To ensure that processed are done one after the other on each machine, the noOverlap constraint is used on a sequence variable representing the operations performed on each machine.

    To ensure that operations are performed in the correct order, operations are connected via endBeforeStart constraints.

    I hope this helps.
    #CPOptimizer
    #DecisionOptimization