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.
This topic has been locked.
4 replies Latest Post - 2012-11-08T13:01:29Z by ronaldluo
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
FredericDelhoume 270002VWS822 PostsACCEPTED ANSWER
Re: OPL IDE "no response" for a small-size CP, is it a bug?2012-11-07T15:22:48Z in response to GGRHere is output from oplrun, the statistics in IDE does does not handle well the enormous values one can see in log...
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:29Z in response to GGRMany thanks to GGR and FredericDelhoume.
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!!!