CPLEX exceeds time limit issueAdvantages generic cplex callback within branch-and-cutUsing CPLEX “solution pool” to count feasible pointsDoes the API affect the time Gurobi requires to find an optimum?CPLEX non-convex Quadratic Programming algorithmsHow to get the best bound of large LP problems in CPLEX?Advantages of IBM CPLEX Studio over CPLEX in MATLAB?Correct way to get a dual extreme ray for an infeasible LP in CPLEX / C++Parallelization of an existing Adaptive Large Neighbourhood Search Heuristic“Best practices” for formulating MIPsWhat instances can be solved today by modern solvers (pure LP)?

How can I get a file's size with C++17?

What can a novel do that film and TV cannot?

Can you use a reaction to affect initiative rolls?

Is it possible that Curiosity measured its own methane or failed doing the spectrometry?

Is there ever a reason not to use Java 8's parallelSort?

How come having a Deathly Hallow is not a big deal?

What could a Medieval society do with excess animal blood?

What does "another" mean in this case?

Will greasing clutch parts make it softer

Cannot update a field to a Lookup, MasterDetail, or Hierarchy from something else (44:13)

Use real text instead of lipsum in moderncv quote alignment

Do I need to be legally qualified to install a Hive smart thermostat?

Phrasing "it says" or "it reads"

Which are more efficient in putting out wildfires: planes or helicopters?

What caused the flashes in the video footage of Chernobyl?

When do I make my first save against the Web spell?

What verb goes with "coup"?

Blood-based alcohol for vampires?

Can Monks cast spells?

My mother co-signed for my car. Can she take it away from me if I am the one making car payments?

How is /a/ pronounced before n/m in French?

How can I know (without going to the station) if RATP is offering the Anti Pollution tickets?

Yield on municipal bonds versus treasury

How can solar sailed ships be protected from space debris?



CPLEX exceeds time limit issue


Advantages generic cplex callback within branch-and-cutUsing CPLEX “solution pool” to count feasible pointsDoes the API affect the time Gurobi requires to find an optimum?CPLEX non-convex Quadratic Programming algorithmsHow to get the best bound of large LP problems in CPLEX?Advantages of IBM CPLEX Studio over CPLEX in MATLAB?Correct way to get a dual extreme ray for an infeasible LP in CPLEX / C++Parallelization of an existing Adaptive Large Neighbourhood Search Heuristic“Best practices” for formulating MIPsWhat instances can be solved today by modern solvers (pure LP)?













4












$begingroup$


I am solving a MILP model using CPLEX 12.8.0, but CPLEX exceeds the time limit on some test instances. More specifically, I set the time limit for 30 minutes using the cplex.setParam(IloCplex::TiLim, 1800) command, but in some instances, CPLEX runs for over 2 hours.










share|improve this question







New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$







  • 1




    $begingroup$
    I have faced a similar bug in Gurobi for a few times, but only for my large instances. In those instances, the time for "presolve" was too large, that made the total time larger than the specified limit.
    $endgroup$
    – Mostafa
    3 hours ago










  • $begingroup$
    @Mostafa, so how did you fix the problem?
    $endgroup$
    – OllieK
    2 hours ago















4












$begingroup$


I am solving a MILP model using CPLEX 12.8.0, but CPLEX exceeds the time limit on some test instances. More specifically, I set the time limit for 30 minutes using the cplex.setParam(IloCplex::TiLim, 1800) command, but in some instances, CPLEX runs for over 2 hours.










share|improve this question







New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$







  • 1




    $begingroup$
    I have faced a similar bug in Gurobi for a few times, but only for my large instances. In those instances, the time for "presolve" was too large, that made the total time larger than the specified limit.
    $endgroup$
    – Mostafa
    3 hours ago










  • $begingroup$
    @Mostafa, so how did you fix the problem?
    $endgroup$
    – OllieK
    2 hours ago













4












4








4





$begingroup$


I am solving a MILP model using CPLEX 12.8.0, but CPLEX exceeds the time limit on some test instances. More specifically, I set the time limit for 30 minutes using the cplex.setParam(IloCplex::TiLim, 1800) command, but in some instances, CPLEX runs for over 2 hours.










share|improve this question







New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




I am solving a MILP model using CPLEX 12.8.0, but CPLEX exceeds the time limit on some test instances. More specifically, I set the time limit for 30 minutes using the cplex.setParam(IloCplex::TiLim, 1800) command, but in some instances, CPLEX runs for over 2 hours.







cplex milp c++






share|improve this question







New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question







New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question






New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 9 hours ago









OllieKOllieK

242 bronze badges




242 bronze badges




New contributor



OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




OllieK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









  • 1




    $begingroup$
    I have faced a similar bug in Gurobi for a few times, but only for my large instances. In those instances, the time for "presolve" was too large, that made the total time larger than the specified limit.
    $endgroup$
    – Mostafa
    3 hours ago










  • $begingroup$
    @Mostafa, so how did you fix the problem?
    $endgroup$
    – OllieK
    2 hours ago












  • 1




    $begingroup$
    I have faced a similar bug in Gurobi for a few times, but only for my large instances. In those instances, the time for "presolve" was too large, that made the total time larger than the specified limit.
    $endgroup$
    – Mostafa
    3 hours ago










  • $begingroup$
    @Mostafa, so how did you fix the problem?
    $endgroup$
    – OllieK
    2 hours ago







1




1




$begingroup$
I have faced a similar bug in Gurobi for a few times, but only for my large instances. In those instances, the time for "presolve" was too large, that made the total time larger than the specified limit.
$endgroup$
– Mostafa
3 hours ago




$begingroup$
I have faced a similar bug in Gurobi for a few times, but only for my large instances. In those instances, the time for "presolve" was too large, that made the total time larger than the specified limit.
$endgroup$
– Mostafa
3 hours ago












$begingroup$
@Mostafa, so how did you fix the problem?
$endgroup$
– OllieK
2 hours ago




$begingroup$
@Mostafa, so how did you fix the problem?
$endgroup$
– OllieK
2 hours ago










2 Answers
2






active

oldest

votes


















5












$begingroup$

It could be that you faced the issue described in this bug report.



RS03137: CPLEX MAY IGNORE TIME LIMITS ON HIGHLY SYMMETRIC MODELS ON WHICH A NEW INCUMBENT IS FOUND CLOSE TO THE TIME LIMIT.
http://www-01.ibm.com/support/docview.wss?uid=swg1RS03137



The big was fixed in version 12.9, which was released earlier in the year.






share|improve this answer








New contributor



Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





$endgroup$




















    0












    $begingroup$

    That may be related to the "presolve" phase of the optimization procedure. In large instances, the time for "presolve" may be too large, that makes the total time larger than the specified time-limit.



    If that is the case, you can set the presolve parameter to zero, so that CPLEX does not perform a presolve on your instances. The following link is useful to perform that:



    https://www.ibm.com/support/knowledgecenter/en/SS9UKU_12.6.1/com.ibm.cplex.zos.help/CPLEX/Parameters/topics/PreInd.html



    Also, if you don't want to eliminate the presolve totally, you can limit the number of passes it performs. For that, you can find the parameter in the following link:



    https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/Parameters/topics/PrePass.html






    share|improve this answer









    $endgroup$















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "700"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );






      OllieK is a new contributor. Be nice, and check out our Code of Conduct.









      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2for.stackexchange.com%2fquestions%2f858%2fcplex-exceeds-time-limit-issue%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5












      $begingroup$

      It could be that you faced the issue described in this bug report.



      RS03137: CPLEX MAY IGNORE TIME LIMITS ON HIGHLY SYMMETRIC MODELS ON WHICH A NEW INCUMBENT IS FOUND CLOSE TO THE TIME LIMIT.
      http://www-01.ibm.com/support/docview.wss?uid=swg1RS03137



      The big was fixed in version 12.9, which was released earlier in the year.






      share|improve this answer








      New contributor



      Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      $endgroup$

















        5












        $begingroup$

        It could be that you faced the issue described in this bug report.



        RS03137: CPLEX MAY IGNORE TIME LIMITS ON HIGHLY SYMMETRIC MODELS ON WHICH A NEW INCUMBENT IS FOUND CLOSE TO THE TIME LIMIT.
        http://www-01.ibm.com/support/docview.wss?uid=swg1RS03137



        The big was fixed in version 12.9, which was released earlier in the year.






        share|improve this answer








        New contributor



        Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        $endgroup$















          5












          5








          5





          $begingroup$

          It could be that you faced the issue described in this bug report.



          RS03137: CPLEX MAY IGNORE TIME LIMITS ON HIGHLY SYMMETRIC MODELS ON WHICH A NEW INCUMBENT IS FOUND CLOSE TO THE TIME LIMIT.
          http://www-01.ibm.com/support/docview.wss?uid=swg1RS03137



          The big was fixed in version 12.9, which was released earlier in the year.






          share|improve this answer








          New contributor



          Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          $endgroup$



          It could be that you faced the issue described in this bug report.



          RS03137: CPLEX MAY IGNORE TIME LIMITS ON HIGHLY SYMMETRIC MODELS ON WHICH A NEW INCUMBENT IS FOUND CLOSE TO THE TIME LIMIT.
          http://www-01.ibm.com/support/docview.wss?uid=swg1RS03137



          The big was fixed in version 12.9, which was released earlier in the year.







          share|improve this answer








          New contributor



          Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.








          share|improve this answer



          share|improve this answer






          New contributor



          Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.








          answered 7 hours ago









          Xavier NodetXavier Nodet

          1513 bronze badges




          1513 bronze badges




          New contributor



          Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




          New contributor




          Xavier Nodet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.























              0












              $begingroup$

              That may be related to the "presolve" phase of the optimization procedure. In large instances, the time for "presolve" may be too large, that makes the total time larger than the specified time-limit.



              If that is the case, you can set the presolve parameter to zero, so that CPLEX does not perform a presolve on your instances. The following link is useful to perform that:



              https://www.ibm.com/support/knowledgecenter/en/SS9UKU_12.6.1/com.ibm.cplex.zos.help/CPLEX/Parameters/topics/PreInd.html



              Also, if you don't want to eliminate the presolve totally, you can limit the number of passes it performs. For that, you can find the parameter in the following link:



              https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/Parameters/topics/PrePass.html






              share|improve this answer









              $endgroup$

















                0












                $begingroup$

                That may be related to the "presolve" phase of the optimization procedure. In large instances, the time for "presolve" may be too large, that makes the total time larger than the specified time-limit.



                If that is the case, you can set the presolve parameter to zero, so that CPLEX does not perform a presolve on your instances. The following link is useful to perform that:



                https://www.ibm.com/support/knowledgecenter/en/SS9UKU_12.6.1/com.ibm.cplex.zos.help/CPLEX/Parameters/topics/PreInd.html



                Also, if you don't want to eliminate the presolve totally, you can limit the number of passes it performs. For that, you can find the parameter in the following link:



                https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/Parameters/topics/PrePass.html






                share|improve this answer









                $endgroup$















                  0












                  0








                  0





                  $begingroup$

                  That may be related to the "presolve" phase of the optimization procedure. In large instances, the time for "presolve" may be too large, that makes the total time larger than the specified time-limit.



                  If that is the case, you can set the presolve parameter to zero, so that CPLEX does not perform a presolve on your instances. The following link is useful to perform that:



                  https://www.ibm.com/support/knowledgecenter/en/SS9UKU_12.6.1/com.ibm.cplex.zos.help/CPLEX/Parameters/topics/PreInd.html



                  Also, if you don't want to eliminate the presolve totally, you can limit the number of passes it performs. For that, you can find the parameter in the following link:



                  https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/Parameters/topics/PrePass.html






                  share|improve this answer









                  $endgroup$



                  That may be related to the "presolve" phase of the optimization procedure. In large instances, the time for "presolve" may be too large, that makes the total time larger than the specified time-limit.



                  If that is the case, you can set the presolve parameter to zero, so that CPLEX does not perform a presolve on your instances. The following link is useful to perform that:



                  https://www.ibm.com/support/knowledgecenter/en/SS9UKU_12.6.1/com.ibm.cplex.zos.help/CPLEX/Parameters/topics/PreInd.html



                  Also, if you don't want to eliminate the presolve totally, you can limit the number of passes it performs. For that, you can find the parameter in the following link:



                  https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/Parameters/topics/PrePass.html







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 1 hour ago









                  MostafaMostafa

                  3489 bronze badges




                  3489 bronze badges




















                      OllieK is a new contributor. Be nice, and check out our Code of Conduct.









                      draft saved

                      draft discarded


















                      OllieK is a new contributor. Be nice, and check out our Code of Conduct.












                      OllieK is a new contributor. Be nice, and check out our Code of Conduct.











                      OllieK is a new contributor. Be nice, and check out our Code of Conduct.














                      Thanks for contributing an answer to Operations Research Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2for.stackexchange.com%2fquestions%2f858%2fcplex-exceeds-time-limit-issue%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

                      Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

                      19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу