Linear programming: modelling a transportation problem
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a transportation problem with a twist-- I have a set number of managers and a set number of stores (where there are way more stores than managers), and I'm trying to match the managers to stores. The twist is that each manager can have up to a certain number of stores (constraint), and no two managers share the same store. The goal is to minimise the distance between the manager and each store s/he manages. I haven't been able to figure out how to model this problem, or rather if it is even possible to formulate this problem into a linear programming model. Please let me know!
optimization linear-programming mathematical-modeling
add a comment |Â
up vote
0
down vote
favorite
I have a transportation problem with a twist-- I have a set number of managers and a set number of stores (where there are way more stores than managers), and I'm trying to match the managers to stores. The twist is that each manager can have up to a certain number of stores (constraint), and no two managers share the same store. The goal is to minimise the distance between the manager and each store s/he manages. I haven't been able to figure out how to model this problem, or rather if it is even possible to formulate this problem into a linear programming model. Please let me know!
optimization linear-programming mathematical-modeling
Is this not better thought of as an assignment problem rather than a transportation problem? You will need multiple rows for each manager to represent the multiplicity of stores that can be managed by each. To keep the problem balanced you will also need dummy stores (representing managers not getting a store assignment). The solution is likely to be highly none unique.
â Paul
Aug 27 at 18:16
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a transportation problem with a twist-- I have a set number of managers and a set number of stores (where there are way more stores than managers), and I'm trying to match the managers to stores. The twist is that each manager can have up to a certain number of stores (constraint), and no two managers share the same store. The goal is to minimise the distance between the manager and each store s/he manages. I haven't been able to figure out how to model this problem, or rather if it is even possible to formulate this problem into a linear programming model. Please let me know!
optimization linear-programming mathematical-modeling
I have a transportation problem with a twist-- I have a set number of managers and a set number of stores (where there are way more stores than managers), and I'm trying to match the managers to stores. The twist is that each manager can have up to a certain number of stores (constraint), and no two managers share the same store. The goal is to minimise the distance between the manager and each store s/he manages. I haven't been able to figure out how to model this problem, or rather if it is even possible to formulate this problem into a linear programming model. Please let me know!
optimization linear-programming mathematical-modeling
asked Aug 27 at 17:37
user3755880
6
6
Is this not better thought of as an assignment problem rather than a transportation problem? You will need multiple rows for each manager to represent the multiplicity of stores that can be managed by each. To keep the problem balanced you will also need dummy stores (representing managers not getting a store assignment). The solution is likely to be highly none unique.
â Paul
Aug 27 at 18:16
add a comment |Â
Is this not better thought of as an assignment problem rather than a transportation problem? You will need multiple rows for each manager to represent the multiplicity of stores that can be managed by each. To keep the problem balanced you will also need dummy stores (representing managers not getting a store assignment). The solution is likely to be highly none unique.
â Paul
Aug 27 at 18:16
Is this not better thought of as an assignment problem rather than a transportation problem? You will need multiple rows for each manager to represent the multiplicity of stores that can be managed by each. To keep the problem balanced you will also need dummy stores (representing managers not getting a store assignment). The solution is likely to be highly none unique.
â Paul
Aug 27 at 18:16
Is this not better thought of as an assignment problem rather than a transportation problem? You will need multiple rows for each manager to represent the multiplicity of stores that can be managed by each. To keep the problem balanced you will also need dummy stores (representing managers not getting a store assignment). The solution is likely to be highly none unique.
â Paul
Aug 27 at 18:16
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Let $x_ij$ be a binary variable that takes value $1$ if and only if manager $i$ is assigned to store $j$.
You want to minimize the total distance after assignment:
$$
sum_i,jd_ijx_ij
$$
subject to :
- A manager $i$ cannot have more than $S_i$ stores :
$$
sum_jx_ij le S_iquad forall i
$$ - No two managers share the same store :
$$
sum_ix_ij =1 quad forall j
$$ - Variables are binary :
$$
x_ijin 0,1 quad forall i,j
$$
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Let $x_ij$ be a binary variable that takes value $1$ if and only if manager $i$ is assigned to store $j$.
You want to minimize the total distance after assignment:
$$
sum_i,jd_ijx_ij
$$
subject to :
- A manager $i$ cannot have more than $S_i$ stores :
$$
sum_jx_ij le S_iquad forall i
$$ - No two managers share the same store :
$$
sum_ix_ij =1 quad forall j
$$ - Variables are binary :
$$
x_ijin 0,1 quad forall i,j
$$
add a comment |Â
up vote
0
down vote
Let $x_ij$ be a binary variable that takes value $1$ if and only if manager $i$ is assigned to store $j$.
You want to minimize the total distance after assignment:
$$
sum_i,jd_ijx_ij
$$
subject to :
- A manager $i$ cannot have more than $S_i$ stores :
$$
sum_jx_ij le S_iquad forall i
$$ - No two managers share the same store :
$$
sum_ix_ij =1 quad forall j
$$ - Variables are binary :
$$
x_ijin 0,1 quad forall i,j
$$
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Let $x_ij$ be a binary variable that takes value $1$ if and only if manager $i$ is assigned to store $j$.
You want to minimize the total distance after assignment:
$$
sum_i,jd_ijx_ij
$$
subject to :
- A manager $i$ cannot have more than $S_i$ stores :
$$
sum_jx_ij le S_iquad forall i
$$ - No two managers share the same store :
$$
sum_ix_ij =1 quad forall j
$$ - Variables are binary :
$$
x_ijin 0,1 quad forall i,j
$$
Let $x_ij$ be a binary variable that takes value $1$ if and only if manager $i$ is assigned to store $j$.
You want to minimize the total distance after assignment:
$$
sum_i,jd_ijx_ij
$$
subject to :
- A manager $i$ cannot have more than $S_i$ stores :
$$
sum_jx_ij le S_iquad forall i
$$ - No two managers share the same store :
$$
sum_ix_ij =1 quad forall j
$$ - Variables are binary :
$$
x_ijin 0,1 quad forall i,j
$$
answered Aug 28 at 7:02
Kuifje
6,8362524
6,8362524
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896451%2flinear-programming-modelling-a-transportation-problem%23new-answer', 'question_page');
);
Post as a guest
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
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
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
Is this not better thought of as an assignment problem rather than a transportation problem? You will need multiple rows for each manager to represent the multiplicity of stores that can be managed by each. To keep the problem balanced you will also need dummy stores (representing managers not getting a store assignment). The solution is likely to be highly none unique.
â Paul
Aug 27 at 18:16