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)?
$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.
cplex milp c++
New contributor
$endgroup$
add a comment |
$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.
cplex milp c++
New contributor
$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
add a comment |
$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.
cplex milp c++
New contributor
$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++
cplex milp c++
New contributor
New contributor
New contributor
asked 9 hours ago
OllieKOllieK
242 bronze badges
242 bronze badges
New contributor
New contributor
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
$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.
New contributor
$endgroup$
add a comment |
$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
$endgroup$
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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.
New contributor
$endgroup$
add a comment |
$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.
New contributor
$endgroup$
add a comment |
$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.
New contributor
$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.
New contributor
New contributor
answered 7 hours ago
Xavier NodetXavier Nodet
1513 bronze badges
1513 bronze badges
New contributor
New contributor
add a comment |
add a comment |
$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
$endgroup$
add a comment |
$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
$endgroup$
add a comment |
$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
$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
answered 1 hour ago
MostafaMostafa
3489 bronze badges
3489 bronze badges
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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