As attached, it is a small-size CP model. But every time when I run it, I get "no response" and have to kill the IDE process. Is it a bug?
OPL version: 12.4, I test it on my laptop (winxp32) and a Z800 workstation (winxp64). same problem.
Anyone can help me? thanks a lot.
Pinned topic OPL IDE "no response" for a small-size CP, is it a bug?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-08T13:01:29Z at 2012-11-08T13:01:29Z by ronaldluo
GGR 270002SS101 Post
Re: OPL IDE "no response" for a small-size CP, is it a bug?2012-11-07T14:54:41ZThis is the accepted answer. This is the accepted answer.Hi Ronald
Actually seems to be a bug. I suspect Something like a division by zero that is not well handled in the objective function.
FredericDelhoume 270002VWS831 Posts
Re: OPL IDE "no response" for a small-size CP, is it a bug?2012-11-07T15:22:48ZThis is the accepted answer. This is the accepted answer.
- GGR 270002SS10
You might want to close the "Statistics" tab before running to see results in IDE.
! Maximization problem - 18 variables, 15 constraints
! Initial process time : 0.01s (0.00s extraction + 0.01s propagation)
! . Log search space : 18.0 (before), 18.0 (after)
! . Memory usage : 720.2 kB (before), 720.2 kB (after)
! Using parallel search with 2 workers.
! Best Branches Non-fixed W Branch decision
* 1.797693e+308 9 0.01s 1 -
! Search terminated normally, 1 solution found.
! Best objective : 1.79769e+308 (optimal - effective tol. is 1.79769e+3
! Number of branches : 111
! Number of fails : 57
! Total memory usage : 2.4 MB (2.0 MB CP Optimizer + 0.4 MB Concert)
! Time spent in solve : 0.01s (0.01s engine + 0.00s extraction)
! Search speed (br. / s) : 7,115.3
OBJECTIVE: ### CONCERT exception: CP Optimizer Error : (10) IlcFloatExpI::getVal
ue non-fixed constrained variable 0,000,000,002,7DA,470
Re: OPL IDE "no response" for a small-size CP, is it a bug?2012-11-08T13:01:29ZThis is the accepted answer. This is the accepted answer.
- GGR 270002SS10
As GGR suggested, I checked the model and found that it may have a chance of division by zero. I just added a very small number to denominator and the problem is solved.
Hope that in the next version of OPL can prompt a message instead of get no response.
Thanks again for GGR and FredericDelhoume's help!!!