Originally posted by: mslusky
Hello,
I am trying to see the propagation log for my code, so I did
_cp.setParameter(IloCP::PropagationLog, IloCP::Normal);
but when I run the code, it gives me a runtime error. It just says R6010 Abort() has been called. This is using 12.4. It does not happen with 12.2. The full code snippet is
_cp.extract(_model); _cp.setParameter(IloCP::TimeLimit, 300); _cp.setIntParameter(IloCP::Workers, 1); _cp.setParameter(IloCP::LogVerbosity, IloCP::Verbose); _cp.setParameter(IloCP::LogPeriod, 1); _cp.setParameter(IloCP::DefaultInferenceLevel, IloCP::Extended); _cp.setParameter(IloCP::SearchType, IloCP::Restart); _cp.setParameter(IloCP::RestartFailLimit, 40000); _cp.setParameter(IloCP::PropagationLog, IloCP::Normal); _solFound = _cp.solve(_phaseArray);
If I comment out the PropagationLog line, the model runs fine. If I put it in and try to debug, it brings me to the file crt0msg.c at line 217.
Is PropagationLog not compatible with something else I'm doing? Is this an issue with CPOptimizer? Is there a workaround?
Thanks,
Marla
#CPOptimizer#DecisionOptimization