I am dealing with a kind of scheduling problem. I have a set of tasks to be executed by a set of machines. It is known that different machines are able to execute the same task, but each machine can execute one task at time. The cost of executing each task is dependent of each machine.
I need to find the minimal cost of executing all required tasks, in addition to the cost of executing each task I need to consider that there is an supplementary cost of transferring the material between two consecutive machines.
I found this example that consider the alternative resources in house building (chapter 6) : https://github.com/IBMDecisionOptimization/docplex-examples/blob/b2cb101befaa3febba0fc5fcfb77f28436891cc4/examples/cp/jupyter/scheduling_tuto.ipynb
My question is: how to add the cost of changing the worker that executes the operation in this example?
Same question asked here: https://stackoverflow.com/questions/58859430/scheduling-with-transition-costs-docplex