Professional Documents
Culture Documents
Unit 1.3
THE TRANSPORT PROBLEM
Contents
1. Transport problem standard formulation
1.1 Summary of mathematical properties
1.2 Cycles and linear dependence
1.3 Application to degenerate cases
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 1
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.1 Summary of mathematical properties
xB Basic variables
Ax=b
' '
B ' D ' = b '
xD Non-Basic variables
xB
A x = b B ' D ' = b '
' '
xD
x B = B '−1 b ' − B '−1 D ' x D
(*) There are very many invertible submatrices in A´: all of the are denoted by B´.
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 3
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.1 Summary of mathematical properties
m columns n -1 columns
(
B' = a 'pq , a 'st , '
, a lm ) m + n − 1 rows
A '': submatrix of A containing m + n -1 columns
a set of m + n -1 columns
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 4
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.1 Summary of mathematical properties
(
D' = a 'pq , a 'kl , , a 'rt ) a 'pq =
a ij' B '
ij a ij' , (at least some) ij 0
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 5
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.1 Summary of mathematical properties
(
B = a ij , a st , , a lm )
m+n-1 basic vectors
they are also linearly independent.
(
D = a pq , a kl , , a rt ) a pq = a
a ij B '
ij ij
, (at least some) ij 0
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 6
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
(3,4)
{(3,2), (3,4), (1,4), (1,2)}
But {(1,2), (3,4), (3,2), (1,4)}
(3,2) (1,4) … it is not a cycle !!!
It does not comply with the cycle rules.
{(1,2), (3,2), (3,4), (1,4)}
(1,2)
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 7
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Examples of Cycle.
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 8
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Examples of No-Cycle.
This layout contains a cycle. {(4,2), (1,2), (2,3), (1,4), (2,4), (4,3)}
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 9
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Cycles and Linear dependence.
Theorem 1. Given a set of columns of matrix A. They are linearly dependent if and
only if the associated cells contain a cycle.
Proof. Let suppose that the set contains the following cycle:
{(p, q), (p, r), (s, r), (s, t), …., (v, w), (v, q)}
Each cell has associated a variable and the corresponding column-vector of matrix A:
( p, q) a pq = e p + em + q (* m)
( p, r ) a pr = e p + em + r
It is easy to detect the linear combination among the
( s, r ) asr = es + em + r column-vectors: it has the form:
( s, t ) ast = es + em +t a pq − a pr + asr − ast + + avw − avq = 0
(v, w) avw = ev + em + w
(v, q ) avq = ev + em + q (*) m : number of supply constraints
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 10
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Theorem 2. The set formed by the cells that represents the basic vectors and the cell that
corresponds to the non-basic variable form a cycle.
(
a ,a ,
ij st )
, a lm B
a D = a , a ,
pq rs kl
( )
, a rt Cycle
m+n-1 basic vectors
Proof.
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 11
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Example of Theorem 2.
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 12
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 13
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.2 Cycles and linear dependence
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 14
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.3 Application to degenerate cases
Let´s rescue the shipping route problem and the different initial solutions obtained.
The number of basic variables should be m+n-1:4+4-1=7. The circled cells point out the basic
variables detected. But there are some missing ones.
Min. cost per row meth. Min. cost per column meth.
North-west corner meth.
(6 basic variables)
(4 basic variables) (6 basic variables)
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 15
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.3 Application to degenerate cases
Degree of degeneration: DG: [(m+n-1=7) – number of basic variables assigned]
North-west corner meth. Min. cost per row meth. Min. cost per column meth.
(6 basic variables)
(4 basic variables) (6 basic variables)
DG: 1
DG: 1
DG: 3
DG: 1
DG: 1
As cell (2, 2) complies with all requirements, it will be the extra degenerate basic variable (with 0
units).
x
0
Now the Feasible Basic Solution is completes to initiate the process of searching for the
Optimal solution.
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 17
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.3 Application to degenerate cases
Exercise 2: Let’s complete the set of basic variables with extra degenerate basic variables
(with zero assignement). Case “North-west corner meth.” DG: 3
In this case 3 extra assignment are needed. We look for 3 candidates with the minimum
Absolute-cost and meets with the requirement of not forming cycle with the existent basic variables.
In this case, more than 1 candidate, we carry out the searching one by one.
Cell (2, 3) complies with all requirements. It will be the first extra degenerate basic variable (with 0
units).
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 18
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.3 Application to degenerate cases
The next second candidate to become a degenerate basic variable is cell (2,1) with C 21 =10.
It also complies with all requirements, thus the value of 0 unit is assigned.
0 0
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 19
INGENIERIA DEL TRANSPORTE
1. Transport problem standard formulation. 1.3 Application to degenerate cases
The third and last candidate to become a degenerate basic variable is cell (3,1) with C 31 =12.
But it does not meet the requirement of linear independence respect to the already defined basic
variables: (3,1) forms cycle with cells (2,1), (2,3), (3,3).
The next candidate is cell (4,2) with a C42 =15. It does meet the requirement of linear independence.
0 0 0 0
Now the Feasible Basic Solution is completed to initiate the process of searching for the
Optimal solution.
Ingeniería e Infraestructura de los Transportes. Escuela Técnica Superior de Ingeniería, Univ. Sevilla 20