Topic
  • 4 replies
  • Latest Post - ‏2012-11-08T13:01:29Z by ronaldluo
ronaldluo
ronaldluo
3 Posts

Pinned topic OPL IDE "no response" for a small-size CP, is it a bug?

‏2012-11-06T13:51:32Z |
Hello,

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.

Best Regards,
Ronald,
Updated on 2012-11-08T13:01:29Z at 2012-11-08T13:01:29Z by ronaldluo
  • ronaldluo
    ronaldluo
    3 Posts

    Re: OPL IDE "no response" for a small-size CP, is it a bug?

    ‏2012-11-07T13:38:10Z  
    help! help! help!
  • GGR
    GGR
    1 Post

    Re: OPL IDE "no response" for a small-size CP, is it a bug?

    ‏2012-11-07T14:54:41Z  
    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
    FredericDelhoume
    29 Posts

    Re: OPL IDE "no response" for a small-size CP, is it a bug?

    ‏2012-11-07T15:22:48Z  
    • GGR
    • ‏2012-11-07T14:54:41Z
    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.
    Here 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.

    <<< setup
    <<< generate

    !
    ! 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
    04)
    ! 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
    !

    <<< solve
    OBJECTIVE: ### CONCERT exception: CP Optimizer Error : (10) IlcFloatExpI::getVal
    ue non-fixed constrained variable 0,000,000,002,7DA,470
  • ronaldluo
    ronaldluo
    3 Posts

    Re: OPL IDE "no response" for a small-size CP, is it a bug?

    ‏2012-11-08T13:01:29Z  
    • GGR
    • ‏2012-11-07T14:54:41Z
    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.
    Many 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!!!