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)?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
2 replies Latest Post - 2012-11-09T23:15:28Z by SystemAdmin
Pinned topic Why does my Program run infinitely?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-09T23:15:28Z at 2012-11-09T23:15:28Z by SystemAdmin
GGR 270002SS1034 PostsACCEPTED ANSWER
Re: Why does my Program run infinitely?2012-11-09T16:51:11Z in response to SystemAdminHi
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