Professional Documents
Culture Documents
BITS Pilani
Pilani Campus
BITS Pilani
Pilani | Dubai | Goa | Hyderabad
OR Models
Network Models
Caveat
For course related queries, my email id: shekhar.rajagopalan@pilani.bits-pilani.ac.in
For administrative and other queries, contact BITS WILP section directly
o Contact details would have been shared during the orientation
s1 1
c11
1 c12 d2
c13
Network Model
2
Or c21
Network Representation
2 c22 d3
c23
s2 3
d1 m n
1
Min c x
i 1 j 1
ij ij
s1 n
c11
1 c12 d2 x ij si i 1, 2, ,m Supply
c13 j 1
2 m
c21
x ij = d j j 1, 2, ,n Demand
2 c22 d3 i 1
c23
s2 3 xij > 0 for all i and j
Min: 12x11 + 6x12 + 5x13 + 20x21 + 11x22 + 9x23 + 30x31 + 26x32 + 28x33
Non-negativity of variables:
xij > 0, i = 1, 2, 3 and j = 1, 2, 3
ZG568 OR Models 12 BITS-Pilani
Solution Summary
Objective Function Value = 142000.000 • B1 will receive 1000 Kg from A1 and
Variable Value Reduced Cost 3000 Kg from A3
x11 1000.000 0.000
x12 2000.000 0.000 • B2 will receive 2000 Kg from A1 and 500
x13 0.000 1.000 Kg from A2.
x21 0.000 3.000
x22 500.000 0.000 • B3 will receive 2500 Kg from A2.
x23 2500.000 0.000 • The total shipping cost will be $142,000
x31 3000.000 0.000
x32 0.000 2.000
x33 0.000 6.000
c36
3
c13
s1 1 c37 6 d1
c14
c15 c46
4 c47
c23
c24 c56
s2 2 7 d2
c25
5 c57
Sources Destinations
Intermediate Nodes
ZG568 OR Models 15 BITS-Pilani
Formulation
Using the notation:
xij = number of units shipped from node i to node j
cij = cost per unit of shipping from node i to node j
si = supply at origin node i
dj = demand at destination node j
The LP model modifications required here are identical to those required for the
special cases in the transportation problem.
ZROX
Zrok
75
5 1
ARNOLD
TP1 K_N
50 Unit transportation cost:
5
KumarN KumarS
8 8 TP1 5 8
Glam
HEWES TP2 7 4
75 The costs to ship to final destination:
7 3 60
Zrok Glam Rock
TP2 WASH
K_S 4 40 KumarN 1 5 8
BURN
4 4 KumarS 3 4 4
Rock
x
j 1
ij 1 i 1, 2, ,m Agents
m
x
i 1
ij 1 j 1, 2, ,n Tasks
• An assignment is unacceptable:
Min
all arcs
c ij xij
s.t.
arcs out
xij 1 Origin node i
arcs out
xij x
arcs in
ij 0 Transhipment nodes
x
arcs in
ij 1 Destination node j
60
2 5
100
30
80 90
130
40 130
3
180 6
1
80 30 50 90
40 3
6
1
30 50
4
ZG568 OR Models 34 BITS-Pilani
Maximal Flow Problem
The maximal flow problem is concerned with determining the maximal volume
of flow from one node (called the source) to another node (called the sink).
In the maximal flow problem, each arc has a maximum arc flow capacity which
limits the flow through the arc.
We will add an arc from the sink node back to the source node to represent
the total flow through the network.
There is no capacity on the newly added sink-to-source arc.
We want to maximize the flow over the sink-to-source arc.
NatEx's indirect routes from San Diego to Tampa, along with their respective
estimated excess shipping capacities (measured in thousands of cubic feet per day),
are shown on the next slide.
Is there sufficient excess capacity to indirectly ship 5000 cubic feet of packages in
one day?
3
Denver 2 5 St. Louis
4 2 3 2
3 4
San 4 3
Diego 1 4 7 Tampa
3 1
3 5 5 Dallas
Houston 3 6 Atlanta
6
Transportation problem
Assignment problem
Transshipment problem
Shortest Route problem
Maximal Flow problem
Thank you!!