Topic
  • 2 replies
  • Latest Post - ‏2012-11-09T23:15:28Z by SystemAdmin
SystemAdmin
SystemAdmin
378 Posts

Pinned topic Why does my Program run infinitely?

‏2012-11-09T12:40:09Z |
Hello!

I am very new at ILOG CPLEX and OPL, I am doing a project that needs to get the optimized solution plus number of solutions.

It generates the number of solutions but runs forever and therefore will not generate the optimal solution. what could be causing this (running infinitely)?

Thank you.
Updated on 2012-11-09T23:15:28Z at 2012-11-09T23:15:28Z by SystemAdmin
  • GGR
    GGR
    34 Posts

    Re: Why does my Program run infinitely?

    ‏2012-11-09T16:51:11Z  
    Hi

    Proving optimality can take a very long time using CP for the whole search tree must be traversed. have you try to put a limit in your model. You can do it by adding a parameter files to your run configuration and set a limit in the CP solver tab.

    Hope that helps
  • SystemAdmin
    SystemAdmin
    378 Posts

    Re: Why does my Program run infinitely?

    ‏2012-11-09T23:15:28Z  
    • GGR
    • ‏2012-11-09T16:51:11Z
    Hi

    Proving optimality can take a very long time using CP for the whole search tree must be traversed. have you try to put a limit in your model. You can do it by adding a parameter files to your run configuration and set a limit in the CP solver tab.

    Hope that helps
    I put a cp time limit, the problem is with the time limit, it does not generate the optimal solution.