How to compare two different formulations of a problem?Tightness of an LP relaxation without using objective functionSolving ATSP problem for large-scale problemFormulation of a constraint in a MIP for an element in different SetsHow to formulate this scheduling problem efficiently?Estimation of the size of Branch-and-Bound trees using MLTwo-commodity flow formulation for an asymmetric cost VRPThe rationale to improve MTZ?Static stochastic knapsack problem: unbounded versionMixed-Integer Linear Programming (Capacity Planning)Is there a way to proportionalize fixed costs in a MILP?Best model for precedence constraints within scheduling problem
Convert HTML color to OLE
How do you call it when two celestial bodies come as close to each other as they will in their current orbits?
Is a butterfly one or two animals?
Why would the President need briefings on UFOs?
Interaction between Ethereal Absolution versus Edgar Markov with Captivating Vampire
Alchemist potion on Undead
Is "stainless" a bulk or a surface property of stainless steel?
Can others monetize my project with GPLv3?
Stuffing in the middle
Why does my air conditioner still run, even when it is cooler outside than in?
What happened after the end of the Truman Show?
Has there ever been a truly bilingual country prior to the contemporary period?
How did Apollo 15's depressurization work?
Unbiased estimator of exponential of measure of a set?
Why doesn't mathematics collapse down, even though humans quite often make mistakes in their proofs?
Earliest evidence of objects intended for future archaeologists?
How can I describe being temporarily stupid?
Do predators tend to have vertical slit pupils versus horizontal for prey animals?
Church Booleans
Would it be illegal for Facebook to actively promote a political agenda?
Can my Boyfriend, who lives in the UK and has a Polish passport, visit me in the USA?
Can I submit a paper under an alias so as to avoid trouble in my country?
How to think about joining a company whose business I do not understand?
Default camera device to show screen instead of physical camera
How to compare two different formulations of a problem?
Tightness of an LP relaxation without using objective functionSolving ATSP problem for large-scale problemFormulation of a constraint in a MIP for an element in different SetsHow to formulate this scheduling problem efficiently?Estimation of the size of Branch-and-Bound trees using MLTwo-commodity flow formulation for an asymmetric cost VRPThe rationale to improve MTZ?Static stochastic knapsack problem: unbounded versionMixed-Integer Linear Programming (Capacity Planning)Is there a way to proportionalize fixed costs in a MILP?Best model for precedence constraints within scheduling problem
$begingroup$
I somewhat know how to compare two MILP formulations of a problem that both use the same set of decision variables (as in the classical MTZ vs DFJ formulations of the TSP). I was wondering how two formulations of a problem that use different sets of decision variables are compared. Can we just compare the LP-relaxation bounds?
For example, a route-based formulation for a vehicle routing problem (using an exponential number of variables) is usually considered to provide a better LP-relaxation bound. However, such a formulation employs a completely different set of decision variables. What is the right way to show that such a formulation is better? Is there a standard definition?
mixed-integer-programming vehicle-routing bounds lp-relaxation polyhedra
New contributor
$endgroup$
add a comment |
$begingroup$
I somewhat know how to compare two MILP formulations of a problem that both use the same set of decision variables (as in the classical MTZ vs DFJ formulations of the TSP). I was wondering how two formulations of a problem that use different sets of decision variables are compared. Can we just compare the LP-relaxation bounds?
For example, a route-based formulation for a vehicle routing problem (using an exponential number of variables) is usually considered to provide a better LP-relaxation bound. However, such a formulation employs a completely different set of decision variables. What is the right way to show that such a formulation is better? Is there a standard definition?
mixed-integer-programming vehicle-routing bounds lp-relaxation polyhedra
New contributor
$endgroup$
1
$begingroup$
Can I suggest that you remove the last sentence and write that up as a separate question? "How do you compare two different formulations?" and "Are route-based models always better?" are two distinct, and valid, questions.
$endgroup$
– LarrySnyder610♦
4 hours ago
2
$begingroup$
Possibly related question: Tightness of an LP relaxation without using objective function.
$endgroup$
– Kevin Dalmeijer
4 hours ago
add a comment |
$begingroup$
I somewhat know how to compare two MILP formulations of a problem that both use the same set of decision variables (as in the classical MTZ vs DFJ formulations of the TSP). I was wondering how two formulations of a problem that use different sets of decision variables are compared. Can we just compare the LP-relaxation bounds?
For example, a route-based formulation for a vehicle routing problem (using an exponential number of variables) is usually considered to provide a better LP-relaxation bound. However, such a formulation employs a completely different set of decision variables. What is the right way to show that such a formulation is better? Is there a standard definition?
mixed-integer-programming vehicle-routing bounds lp-relaxation polyhedra
New contributor
$endgroup$
I somewhat know how to compare two MILP formulations of a problem that both use the same set of decision variables (as in the classical MTZ vs DFJ formulations of the TSP). I was wondering how two formulations of a problem that use different sets of decision variables are compared. Can we just compare the LP-relaxation bounds?
For example, a route-based formulation for a vehicle routing problem (using an exponential number of variables) is usually considered to provide a better LP-relaxation bound. However, such a formulation employs a completely different set of decision variables. What is the right way to show that such a formulation is better? Is there a standard definition?
mixed-integer-programming vehicle-routing bounds lp-relaxation polyhedra
mixed-integer-programming vehicle-routing bounds lp-relaxation polyhedra
New contributor
New contributor
edited 24 mins ago
Opt
New contributor
asked 8 hours ago
OptOpt
1435 bronze badges
1435 bronze badges
New contributor
New contributor
1
$begingroup$
Can I suggest that you remove the last sentence and write that up as a separate question? "How do you compare two different formulations?" and "Are route-based models always better?" are two distinct, and valid, questions.
$endgroup$
– LarrySnyder610♦
4 hours ago
2
$begingroup$
Possibly related question: Tightness of an LP relaxation without using objective function.
$endgroup$
– Kevin Dalmeijer
4 hours ago
add a comment |
1
$begingroup$
Can I suggest that you remove the last sentence and write that up as a separate question? "How do you compare two different formulations?" and "Are route-based models always better?" are two distinct, and valid, questions.
$endgroup$
– LarrySnyder610♦
4 hours ago
2
$begingroup$
Possibly related question: Tightness of an LP relaxation without using objective function.
$endgroup$
– Kevin Dalmeijer
4 hours ago
1
1
$begingroup$
Can I suggest that you remove the last sentence and write that up as a separate question? "How do you compare two different formulations?" and "Are route-based models always better?" are two distinct, and valid, questions.
$endgroup$
– LarrySnyder610♦
4 hours ago
$begingroup$
Can I suggest that you remove the last sentence and write that up as a separate question? "How do you compare two different formulations?" and "Are route-based models always better?" are two distinct, and valid, questions.
$endgroup$
– LarrySnyder610♦
4 hours ago
2
2
$begingroup$
Possibly related question: Tightness of an LP relaxation without using objective function.
$endgroup$
– Kevin Dalmeijer
4 hours ago
$begingroup$
Possibly related question: Tightness of an LP relaxation without using objective function.
$endgroup$
– Kevin Dalmeijer
4 hours ago
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
Even if the decision variables differ, you may still be able to prove that one of the formulations is stronger than the other by introducing an appropriate mapping.
Take for example a flow formulation and a route formulation for a vehicle routing problem (minimization). Typically, the folllowing argument can be made:
- Given (fractional) values for the route variables, we can find values for the flow variables that result in the same objective value.
- Given (fractional) values for the flow variables, there may not be values for the route variables that result in the same or a lower objective value.
- It follows that the route formulation always provides a bound that is at least as high as that of the flow formulation, and sometimes higher.
- So the route formulation is stronger.
For vehicle routing problems, step 1 is often trivial, and step 2 may require a little bit of work.
$endgroup$
add a comment |
$begingroup$
I'm not sure there is a single, definitive best way to compare models, and if there is I likely have never seen it applied. I lean toward computational comparisons if properly done, but "properly done" is in the eye of the beholder. The most obvious criteria for computational comparisons are that they use the same test problems (not selected because they favor one model over the other) and that they use the same hardware. The next criterion is that, ideally, the test problems are both realistic (comparable to real-world versions of the problem) and span a reasonable range of sizes. You are correct that the MTZ algorithm for TSP has looser relaxations than DFJ, but about the time you are running out of memory trying to look at all node subsets of cardinality greater than two, the MTZ formulation starts to look pretty darn good.
Also, some formulations may benefit from specific features of certain solvers, which needs to be made clear if those features are used in the comparisons.
$endgroup$
add a comment |
$begingroup$
I agree with most of the comments here; Even if the decision variables are different, you may use proof by construction, for example, with appropriate mapping to prove that a formulation is stronger than another one. When comparing two different (yet equivalent) formulation for the same problem, I often use three criteria: (1) LP relaxation/tightness, (2) sizes of the formulations (in terms of number of variables and constraints; a larger size often suggests an increase in solution time for the LP relaxations), (3) the existence of artificial/logical/etc Big-M constraints. You can check our recent paper (https://www.sciencedirect.com/science/article/pii/S0377221719304989), in which we compare different (equivalent) SMILP formulation for single server stochastics sequencing and scheduling. Then after comparing the formulation theoretically, you may consider comparing them computationally using a wide range of realistic problem instances.
New contributor
$endgroup$
add a comment |
$begingroup$
Generally I see on the papers, at first comparison according to number of variables and equations, after then experimental performance comparison on test problems.
$endgroup$
1
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
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
);
);
Opt 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%2f1329%2fhow-to-compare-two-different-formulations-of-a-problem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Even if the decision variables differ, you may still be able to prove that one of the formulations is stronger than the other by introducing an appropriate mapping.
Take for example a flow formulation and a route formulation for a vehicle routing problem (minimization). Typically, the folllowing argument can be made:
- Given (fractional) values for the route variables, we can find values for the flow variables that result in the same objective value.
- Given (fractional) values for the flow variables, there may not be values for the route variables that result in the same or a lower objective value.
- It follows that the route formulation always provides a bound that is at least as high as that of the flow formulation, and sometimes higher.
- So the route formulation is stronger.
For vehicle routing problems, step 1 is often trivial, and step 2 may require a little bit of work.
$endgroup$
add a comment |
$begingroup$
Even if the decision variables differ, you may still be able to prove that one of the formulations is stronger than the other by introducing an appropriate mapping.
Take for example a flow formulation and a route formulation for a vehicle routing problem (minimization). Typically, the folllowing argument can be made:
- Given (fractional) values for the route variables, we can find values for the flow variables that result in the same objective value.
- Given (fractional) values for the flow variables, there may not be values for the route variables that result in the same or a lower objective value.
- It follows that the route formulation always provides a bound that is at least as high as that of the flow formulation, and sometimes higher.
- So the route formulation is stronger.
For vehicle routing problems, step 1 is often trivial, and step 2 may require a little bit of work.
$endgroup$
add a comment |
$begingroup$
Even if the decision variables differ, you may still be able to prove that one of the formulations is stronger than the other by introducing an appropriate mapping.
Take for example a flow formulation and a route formulation for a vehicle routing problem (minimization). Typically, the folllowing argument can be made:
- Given (fractional) values for the route variables, we can find values for the flow variables that result in the same objective value.
- Given (fractional) values for the flow variables, there may not be values for the route variables that result in the same or a lower objective value.
- It follows that the route formulation always provides a bound that is at least as high as that of the flow formulation, and sometimes higher.
- So the route formulation is stronger.
For vehicle routing problems, step 1 is often trivial, and step 2 may require a little bit of work.
$endgroup$
Even if the decision variables differ, you may still be able to prove that one of the formulations is stronger than the other by introducing an appropriate mapping.
Take for example a flow formulation and a route formulation for a vehicle routing problem (minimization). Typically, the folllowing argument can be made:
- Given (fractional) values for the route variables, we can find values for the flow variables that result in the same objective value.
- Given (fractional) values for the flow variables, there may not be values for the route variables that result in the same or a lower objective value.
- It follows that the route formulation always provides a bound that is at least as high as that of the flow formulation, and sometimes higher.
- So the route formulation is stronger.
For vehicle routing problems, step 1 is often trivial, and step 2 may require a little bit of work.
answered 3 hours ago
Kevin DalmeijerKevin Dalmeijer
2,0695 silver badges25 bronze badges
2,0695 silver badges25 bronze badges
add a comment |
add a comment |
$begingroup$
I'm not sure there is a single, definitive best way to compare models, and if there is I likely have never seen it applied. I lean toward computational comparisons if properly done, but "properly done" is in the eye of the beholder. The most obvious criteria for computational comparisons are that they use the same test problems (not selected because they favor one model over the other) and that they use the same hardware. The next criterion is that, ideally, the test problems are both realistic (comparable to real-world versions of the problem) and span a reasonable range of sizes. You are correct that the MTZ algorithm for TSP has looser relaxations than DFJ, but about the time you are running out of memory trying to look at all node subsets of cardinality greater than two, the MTZ formulation starts to look pretty darn good.
Also, some formulations may benefit from specific features of certain solvers, which needs to be made clear if those features are used in the comparisons.
$endgroup$
add a comment |
$begingroup$
I'm not sure there is a single, definitive best way to compare models, and if there is I likely have never seen it applied. I lean toward computational comparisons if properly done, but "properly done" is in the eye of the beholder. The most obvious criteria for computational comparisons are that they use the same test problems (not selected because they favor one model over the other) and that they use the same hardware. The next criterion is that, ideally, the test problems are both realistic (comparable to real-world versions of the problem) and span a reasonable range of sizes. You are correct that the MTZ algorithm for TSP has looser relaxations than DFJ, but about the time you are running out of memory trying to look at all node subsets of cardinality greater than two, the MTZ formulation starts to look pretty darn good.
Also, some formulations may benefit from specific features of certain solvers, which needs to be made clear if those features are used in the comparisons.
$endgroup$
add a comment |
$begingroup$
I'm not sure there is a single, definitive best way to compare models, and if there is I likely have never seen it applied. I lean toward computational comparisons if properly done, but "properly done" is in the eye of the beholder. The most obvious criteria for computational comparisons are that they use the same test problems (not selected because they favor one model over the other) and that they use the same hardware. The next criterion is that, ideally, the test problems are both realistic (comparable to real-world versions of the problem) and span a reasonable range of sizes. You are correct that the MTZ algorithm for TSP has looser relaxations than DFJ, but about the time you are running out of memory trying to look at all node subsets of cardinality greater than two, the MTZ formulation starts to look pretty darn good.
Also, some formulations may benefit from specific features of certain solvers, which needs to be made clear if those features are used in the comparisons.
$endgroup$
I'm not sure there is a single, definitive best way to compare models, and if there is I likely have never seen it applied. I lean toward computational comparisons if properly done, but "properly done" is in the eye of the beholder. The most obvious criteria for computational comparisons are that they use the same test problems (not selected because they favor one model over the other) and that they use the same hardware. The next criterion is that, ideally, the test problems are both realistic (comparable to real-world versions of the problem) and span a reasonable range of sizes. You are correct that the MTZ algorithm for TSP has looser relaxations than DFJ, but about the time you are running out of memory trying to look at all node subsets of cardinality greater than two, the MTZ formulation starts to look pretty darn good.
Also, some formulations may benefit from specific features of certain solvers, which needs to be made clear if those features are used in the comparisons.
answered 5 hours ago
prubinprubin
3,4515 silver badges25 bronze badges
3,4515 silver badges25 bronze badges
add a comment |
add a comment |
$begingroup$
I agree with most of the comments here; Even if the decision variables are different, you may use proof by construction, for example, with appropriate mapping to prove that a formulation is stronger than another one. When comparing two different (yet equivalent) formulation for the same problem, I often use three criteria: (1) LP relaxation/tightness, (2) sizes of the formulations (in terms of number of variables and constraints; a larger size often suggests an increase in solution time for the LP relaxations), (3) the existence of artificial/logical/etc Big-M constraints. You can check our recent paper (https://www.sciencedirect.com/science/article/pii/S0377221719304989), in which we compare different (equivalent) SMILP formulation for single server stochastics sequencing and scheduling. Then after comparing the formulation theoretically, you may consider comparing them computationally using a wide range of realistic problem instances.
New contributor
$endgroup$
add a comment |
$begingroup$
I agree with most of the comments here; Even if the decision variables are different, you may use proof by construction, for example, with appropriate mapping to prove that a formulation is stronger than another one. When comparing two different (yet equivalent) formulation for the same problem, I often use three criteria: (1) LP relaxation/tightness, (2) sizes of the formulations (in terms of number of variables and constraints; a larger size often suggests an increase in solution time for the LP relaxations), (3) the existence of artificial/logical/etc Big-M constraints. You can check our recent paper (https://www.sciencedirect.com/science/article/pii/S0377221719304989), in which we compare different (equivalent) SMILP formulation for single server stochastics sequencing and scheduling. Then after comparing the formulation theoretically, you may consider comparing them computationally using a wide range of realistic problem instances.
New contributor
$endgroup$
add a comment |
$begingroup$
I agree with most of the comments here; Even if the decision variables are different, you may use proof by construction, for example, with appropriate mapping to prove that a formulation is stronger than another one. When comparing two different (yet equivalent) formulation for the same problem, I often use three criteria: (1) LP relaxation/tightness, (2) sizes of the formulations (in terms of number of variables and constraints; a larger size often suggests an increase in solution time for the LP relaxations), (3) the existence of artificial/logical/etc Big-M constraints. You can check our recent paper (https://www.sciencedirect.com/science/article/pii/S0377221719304989), in which we compare different (equivalent) SMILP formulation for single server stochastics sequencing and scheduling. Then after comparing the formulation theoretically, you may consider comparing them computationally using a wide range of realistic problem instances.
New contributor
$endgroup$
I agree with most of the comments here; Even if the decision variables are different, you may use proof by construction, for example, with appropriate mapping to prove that a formulation is stronger than another one. When comparing two different (yet equivalent) formulation for the same problem, I often use three criteria: (1) LP relaxation/tightness, (2) sizes of the formulations (in terms of number of variables and constraints; a larger size often suggests an increase in solution time for the LP relaxations), (3) the existence of artificial/logical/etc Big-M constraints. You can check our recent paper (https://www.sciencedirect.com/science/article/pii/S0377221719304989), in which we compare different (equivalent) SMILP formulation for single server stochastics sequencing and scheduling. Then after comparing the formulation theoretically, you may consider comparing them computationally using a wide range of realistic problem instances.
New contributor
New contributor
answered 2 hours ago
Karmel ShehadehKarmel Shehadeh
212 bronze badges
212 bronze badges
New contributor
New contributor
add a comment |
add a comment |
$begingroup$
Generally I see on the papers, at first comparison according to number of variables and equations, after then experimental performance comparison on test problems.
$endgroup$
1
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
add a comment |
$begingroup$
Generally I see on the papers, at first comparison according to number of variables and equations, after then experimental performance comparison on test problems.
$endgroup$
1
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
add a comment |
$begingroup$
Generally I see on the papers, at first comparison according to number of variables and equations, after then experimental performance comparison on test problems.
$endgroup$
Generally I see on the papers, at first comparison according to number of variables and equations, after then experimental performance comparison on test problems.
answered 6 hours ago
kur agkur ag
1494 bronze badges
1494 bronze badges
1
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
add a comment |
1
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
1
1
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
$begingroup$
I'm not sure why someone downvoted this. It's arguably not the best way to compare, but I agree that it is somewhat common in papers.
$endgroup$
– prubin
5 hours ago
add a comment |
Opt is a new contributor. Be nice, and check out our Code of Conduct.
Opt is a new contributor. Be nice, and check out our Code of Conduct.
Opt is a new contributor. Be nice, and check out our Code of Conduct.
Opt 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%2f1329%2fhow-to-compare-two-different-formulations-of-a-problem%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$
Can I suggest that you remove the last sentence and write that up as a separate question? "How do you compare two different formulations?" and "Are route-based models always better?" are two distinct, and valid, questions.
$endgroup$
– LarrySnyder610♦
4 hours ago
2
$begingroup$
Possibly related question: Tightness of an LP relaxation without using objective function.
$endgroup$
– Kevin Dalmeijer
4 hours ago