I am working on a large scale production scheduling problem that interacts with users. Suppose we have a schedule generated few mins ago. Now, users review the schedule result and make few modifications on schedule result itself along with modifications on input parameters. The modified schedule should be fed to CP as an initial partial schedule. In this case, I want to use the warm-start method. Previously, I have used the warm-start by feeding an OPL model with previous OPL solution in the following way. for (var j in oplNew.Jobs) for (var m in oplNew.Mchs) sol.setValue(oplNew.itvs[j][o],oplOld.itvs[j][o]);
However, in my use-case, I don't have oplOld, but only the suggested schedule. Let me use the sample of "sched_jobshop" to illustrate the need. We would like to start the search with the following schedule (note the schedule may have conflicts and contain only partial schedule). How to feed this suggested schedule to CP as warm-start?
//partial suggested schedulestartOf(itvs)==20; startOf(itvs)==40; startOf(itvs)==55;startOf(itvs)==58; startOf(itvs)==62; startOf(itvs)==65;startOf(itvs)==22; startOf(itvs)==35; startOf(itvs)==45;startOf(itvs)==60; startOf(itvs)==70; startOf(itvs)==80;