Global AI and Data Science

 View Only
  • 1.  Cplex scheduling problem

    Posted Mon November 20, 2023 12:55 PM

    If I need to schedule several production orders and their sizes are larger than 3 days. But my work center capacity is 20 hours per day. Can cplex pause the POs automatically when capacity is reached and continue the PO on a different day ? If yes, what function ? If not, there will be no feasible solution. and will the sizes have to be adjusted manually ?


    Sent from my iPhone

  • 2.  RE: Cplex scheduling problem

    Posted Tue November 21, 2023 02:49 AM


    You should look at intensity functions when defining the intervals associated with these long tasks.
    Essentially, CP Optimizer allows tasks to be suspended at certain times.  You should make intensity
    0 when the work center is closed.  Also, these constraints below might be useful depending on what
    you want to do.

    Best regards,


    Paul Shaw

  • 3.  RE: Cplex scheduling problem

    Posted Wed November 29, 2023 04:48 PM
    Thanks! I am trying to implement a calendar using the house building example in the cplex manual. To define a step function I need to define breaks. In my case, breaks is defined for each operator. So it should be an array of arrays of tuples of two integers. But the software keeps giving me error: Data array unexpected for "Breaks". 
    I wrote Breaks = { {<int, int>, <int,int>, ...}, {<int,int>,...},...} 

    Anything wrong ?