Topic
  • 5 replies
  • Latest Post - ‏2013-05-06T07:42:26Z by DanielJunglas
SystemAdmin
SystemAdmin
7929 Posts

Pinned topic Time Limit Problem in Cplex 12.5

‏2013-01-28T13:55:37Z |
Although I set the time limit to 1800 seconds using "setParam(IloCplex::TiLim ,1800)" in Cplex 12.5, the time spent to solve the root node processing (before B&C) has reached to 86000 seconds in some instances! How can this occur? Is there a way to force Cplex to stop around 1800 seconds (I know that it may exceed 1800 seconds but should not be as much as 86000 seconds).

I was using the same time limit statement in Cplex 12.2 without any problem.
Updated on 2013-02-10T10:07:21Z at 2013-02-10T10:07:21Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    7929 Posts

    Re: Time Limit Problem in Cplex 12.5

    ‏2013-01-28T19:02:30Z  
    CPLEX should not overshoot the time limit by that much. Can you show us a log file for this problem?
    Or even better, can you provide the model that causes this trouble?
  • SystemAdmin
    SystemAdmin
    7929 Posts

    Re: Time Limit Problem in Cplex 12.5

    ‏2013-02-05T23:28:10Z  
    I encounter similar problem using 12.4, when I set the time limit to be 2 seconds, in fact the solver took more than 1 hour for some data.

    Is this an bug?
  • SystemAdmin
    SystemAdmin
    7929 Posts

    Re: Time Limit Problem in Cplex 12.5

    ‏2013-02-10T10:07:21Z  
    I encounter similar problem using 12.4, when I set the time limit to be 2 seconds, in fact the solver took more than 1 hour for some data.

    Is this an bug?
    Yes, I think that this can be considered a bug. Can you provide log file and/or a model to reproduce this issue?
  • falvelos
    falvelos
    1 Post

    Re: Time Limit Problem in Cplex 12.5

    ‏2013-04-19T09:45:50Z  
    Yes, I think that this can be considered a bug. Can you provide log file and/or a model to reproduce this issue?

    I have the same problem with cplex 12.4.

    Any idea of a workaround? I tried using my own timer and mipcallback (I am solvign a large MIP) but did not work. 

  • DanielJunglas
    DanielJunglas
    1578 Posts

    Re: Time Limit Problem in Cplex 12.5

    ‏2013-05-06T07:42:26Z  
    • falvelos
    • ‏2013-04-19T09:45:50Z

    I have the same problem with cplex 12.4.

    Any idea of a workaround? I tried using my own timer and mipcallback (I am solvign a large MIP) but did not work. 

    Why did using your own timer and the mipcallback fail?

    What API do you use? If nothing else helps you could use a terminate flag or an aborter that is activated by a different thread or an appropriate signal.