Originally posted by: imanopl
Sorry for my delay. Because that issue was solved. One other issue that I have is inability to extract the model. When I want to extract the model I receive an handle error. The model is solved correctly and I can get the objective value but I cannot get the extracted model. When I make the last line of the code, I mean: cp.extract(model); , it works well.
IloCP cp(model);
cp.solve();
cp.out() << std::endl << "Optimal value: " << cp.getValue(cmax) << std::endl;
cp.extract(model);
#DecisionOptimization#OPLusingCPOptimizer