Open Travelling Salesman ProblemGenetic algorithm for travelling salesman problem with multiple salesmentravelling salesmantravelling salesman understanding constraintsTravelling Salesman on Subset of PointsTravelling salesman problem as an integer linear programTravelling Salesman VariationIs there a vehicle routing problem without time and cost constraints, whose objective is to maximize revenue?Constraints in Vehicle Routing Problem Programming FormulationCriteria in Capacitated Vehicle Routing ProblemDelivery Assignment Optimization
School performs periodic password audits. Is my password compromised?
What do you call someone who likes to pick fights?
Did Amazon pay $0 in taxes last year?
How do you make a gun that shoots melee weapons and/or swords?
The (Easy) Road to Code
An Undercover Army
How to make sure I'm assertive enough in contact with subordinates?
How to distinguish easily different soldier of ww2?
Why is there an extra space when I type "ls" on the Desktop?
Is the differential, dp, exact or not?
How can I portion out frozen cookie dough?
Giving a talk in my old university, how prominently should I tell students my salary?
Are small insurances worth it?
Paper published similar to PhD thesis
Can I challenge the interviewer to give me a proper technical feedback?
Is it a Cyclops number? "Nobody" knows!
PTIJ: Sport in the Torah
Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?
Vector-transposing function
How can I have x-axis ticks that show ticks scaled in powers of ten?
What is the purpose of a disclaimer like "this is not legal advice"?
Is it appropriate to ask a former professor to order a library book for me through ILL?
Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?
If nine coins are tossed, what is the probability that the number of heads is even?
Open Travelling Salesman Problem
Genetic algorithm for travelling salesman problem with multiple salesmentravelling salesmantravelling salesman understanding constraintsTravelling Salesman on Subset of PointsTravelling salesman problem as an integer linear programTravelling Salesman VariationIs there a vehicle routing problem without time and cost constraints, whose objective is to maximize revenue?Constraints in Vehicle Routing Problem Programming FormulationCriteria in Capacitated Vehicle Routing ProblemDelivery Assignment Optimization
$begingroup$
I am trying to find a linear program for the open Travelling Salesman Problem, where the salesman does not need to return to the starting point. More precisely, I have to do this with multiple possible depots and multiple salesmen (trucks).
The formulation for the non open version of the problem is the following (forget about the green box):
LP for closed multi depot vehicle routing problem:
N is the number of customers, M is the number of depots, K is the number of trucks. My idea was to delete constraint (3) and (4), because still every place needs to be visited, but not from all places a truck needs to leave. But when I put this in the solver, he gives me tours with subtours.
Why is that the case and/or are there other ways to solve this?
linear-programming mathematical-modeling discrete-optimization operations-research
New contributor
$endgroup$
add a comment |
$begingroup$
I am trying to find a linear program for the open Travelling Salesman Problem, where the salesman does not need to return to the starting point. More precisely, I have to do this with multiple possible depots and multiple salesmen (trucks).
The formulation for the non open version of the problem is the following (forget about the green box):
LP for closed multi depot vehicle routing problem:
N is the number of customers, M is the number of depots, K is the number of trucks. My idea was to delete constraint (3) and (4), because still every place needs to be visited, but not from all places a truck needs to leave. But when I put this in the solver, he gives me tours with subtours.
Why is that the case and/or are there other ways to solve this?
linear-programming mathematical-modeling discrete-optimization operations-research
New contributor
$endgroup$
add a comment |
$begingroup$
I am trying to find a linear program for the open Travelling Salesman Problem, where the salesman does not need to return to the starting point. More precisely, I have to do this with multiple possible depots and multiple salesmen (trucks).
The formulation for the non open version of the problem is the following (forget about the green box):
LP for closed multi depot vehicle routing problem:
N is the number of customers, M is the number of depots, K is the number of trucks. My idea was to delete constraint (3) and (4), because still every place needs to be visited, but not from all places a truck needs to leave. But when I put this in the solver, he gives me tours with subtours.
Why is that the case and/or are there other ways to solve this?
linear-programming mathematical-modeling discrete-optimization operations-research
New contributor
$endgroup$
I am trying to find a linear program for the open Travelling Salesman Problem, where the salesman does not need to return to the starting point. More precisely, I have to do this with multiple possible depots and multiple salesmen (trucks).
The formulation for the non open version of the problem is the following (forget about the green box):
LP for closed multi depot vehicle routing problem:
N is the number of customers, M is the number of depots, K is the number of trucks. My idea was to delete constraint (3) and (4), because still every place needs to be visited, but not from all places a truck needs to leave. But when I put this in the solver, he gives me tours with subtours.
Why is that the case and/or are there other ways to solve this?
linear-programming mathematical-modeling discrete-optimization operations-research
linear-programming mathematical-modeling discrete-optimization operations-research
New contributor
New contributor
edited 17 hours ago
Rodrigo de Azevedo
13.1k41960
13.1k41960
New contributor
asked 17 hours ago
PeterPeter
133
133
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The easiest way to handle the Open TSP is to consider a regular TSP, and to change the cost function such that every arc to the depot has cost $0$. Keep all the constraints, and just change $c_i,depot=0$ for all nodes $i$.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
);
);
Peter 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%2fmath.stackexchange.com%2fquestions%2f3140056%2fopen-travelling-salesman-problem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The easiest way to handle the Open TSP is to consider a regular TSP, and to change the cost function such that every arc to the depot has cost $0$. Keep all the constraints, and just change $c_i,depot=0$ for all nodes $i$.
$endgroup$
add a comment |
$begingroup$
The easiest way to handle the Open TSP is to consider a regular TSP, and to change the cost function such that every arc to the depot has cost $0$. Keep all the constraints, and just change $c_i,depot=0$ for all nodes $i$.
$endgroup$
add a comment |
$begingroup$
The easiest way to handle the Open TSP is to consider a regular TSP, and to change the cost function such that every arc to the depot has cost $0$. Keep all the constraints, and just change $c_i,depot=0$ for all nodes $i$.
$endgroup$
The easiest way to handle the Open TSP is to consider a regular TSP, and to change the cost function such that every arc to the depot has cost $0$. Keep all the constraints, and just change $c_i,depot=0$ for all nodes $i$.
answered 17 hours ago
KuifjeKuifje
7,2652726
7,2652726
add a comment |
add a comment |
Peter is a new contributor. Be nice, and check out our Code of Conduct.
Peter is a new contributor. Be nice, and check out our Code of Conduct.
Peter is a new contributor. Be nice, and check out our Code of Conduct.
Peter is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Mathematics 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%2fmath.stackexchange.com%2fquestions%2f3140056%2fopen-travelling-salesman-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