Originally posted by: SystemAdmin
[shadi said:]
hi,
using the following command:
cpConfig.cp.param.FailLimit = 400000;
The search will stop when the fail limit (400000) is reached
and when using the following command:
if (colCnt ==10)
break;
}
The search will stop when the cp model find 10 new columns.
how i can stop the when
(cpConfig.cp.param.FailLimit > 400000 && colCnt == 1) || (colCnt == 10)
i mean i dont want to stop the search if the faillimit is reached and colCnt still 0 (no column was found).
thanks in advanced
kshienboun shadi
#DecisionOptimization#OPLusingCPOptimizer