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 ?
Original Message:
Sent: 11/21/2023 2:49:00 AM
From: Paul Shaw
Subject: RE: Cplex scheduling problem
Hello,
You should look at intensity functions when defining the intervals associated with these long tasks.
https://www.ibm.com/docs/en/icos/22.1.1?topic=c-interval-variables-in-cp-optimizer
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.
https://www.ibm.com/docs/en/icos/22.1.1?topic=functions-forbidextent
https://www.ibm.com/docs/en/icos/22.1.1?topic=functions-forbidstart
https://www.ibm.com/docs/en/icos/22.1.1?topic=functions-forbidend
Best regards,
Paul
------------------------------
Paul Shaw
------------------------------