Originally posted by: SystemAdmin
Dear forum,
I'm implementing a scheduling problem in CP Optimizer with some side constraints (such as all-diff), a non-overlapping constraint, and a couple of user-defined constraints. These new constraints might change the candidate heads/tails of a IlcIntervalSequenceVar, and potentially add precedence relations as well. Furthermore, I have a non-deterministic search strategy (which proves optimality if certain conditions are given). Following the CP Optimizer manual, I thus set
cp.setParameter(IloCP::AutomaticReplay, IloCP::Off);
before calling "cp.solve(my_nondet_goal)". Nevertheless, the search still tries to replay the optimal solution, outputting the message
! Search terminated, replaying optimal solution
and then, due to the non-deterministic nature of my search, it exits with the following message after some fails:
Error: IloCP internal error: cannot replay solution
Should CP-Optimizer still replays the search strategy, even when the above parameter is set to "off"? Or the solver always needs to replay the optimal solution in any case? (Perhaps because of the presence of these additional constraints?)
My CP Optimizer version was obtained from the CPLEX 12.2 Academic Studio package.
Thank you very much for your kind help,
Andre
#CPOptimizer#DecisionOptimization