Professional Documents
Culture Documents
Problem
Chapter 10
Models
• Physical
• Analog
• Mathematical
Analog Model
Algorithms
10 20 40 60
N 0.001 seconds 0.002 seconds 0.004 seconds 0.006 seconds P-complete
N3 0.001 seconds 0.008 seconds 0.064 seconds 0.216 seconds P-complete
2n 0.001 seconds 1.0 seconds 12.7 days 366 centuries NP-complete
Server(s)
Arrival Departure
Process Queu Process
e
Single-row layout
Multi-row layout
Airport terminal gates
Terminal
Gates
Department shape approximation
Single-row layout modeling
li lj
Dept i Dept j
xi
xj
Parameters and variables for the
single-row layout model
Parameters:
• n number of departments in the problem
• cij cost of moving a unit load by a unit distance between
departments i and j
• fij number of unit loads between departments i and j
• li length of the horizontal side of department i
• dij minimum distance by which departments i and j are to be
separated horizontally
• H horizontal dimension of the floor plan
Decision Variable:
• xi distance between center of department i and vertical reference
line (VRL)
ABSMODEL 1
n 1 n
Minimize c
i 1 j i 1
f xi x j
ij ij
li lj
xi
xj
General Customer
repair Parts
area service display
area
R o o m
R 1 - 12 8 20 0 1 TV/VCR 20 x 10
o 2 12 - 4 6 2 2 Audio 10 x 10
[fij] o 3 8 4 - 10 0 3 Microwave 10 x 10
=
m 4 20 6 10 - 3 4 Computer 20 x 10
5 0 2 0 3 - 5 Parts 15 x 10
LMIP 1?
xi x j if xi x j 0
x j xi if xi x j 0
x x
ij
ij
0 otherwise 0 otherwise
1 if xi x j
zij
0 otherwise
n 1
ij ij ij ij
n
Minimize c f x x
i 1 j i 1
Subject to
x
ij xij 0.5 li l j dij i 1, 2,..., n 1; j i 1,..., n
c f x x
n
Minimize ij ij ij ij
i 1 j i 1
3 4 c d c,3 a,4
Parameters:
n total number of departments and locations
aij net revenue from operating department i at location j
fik flow of material from department i to k
cjl cost of transporting unit load of material from location j to l
Decision Variable:
1 if department i is assigned to location j
xij
0 otherwise
QAP
n n n n n n
Maximize a x f
i 1 j 1
ij ij
i 1 j 1 k 1 l 1
ik c jl xij xkl
i k j l
n n n n n n
Minimize a x f
i 1 j 1
ij ij
i 1 j 1 k 1 l 1
ik c jl xij xkl
i k j l
n n n n
Minimize fik c jl xij xkl
i 1 j 1 k 1 l 1
n i k j l
Subject to x
j 1
ij 1 i=1,2,...,n
x
i 1
ij 1 j=1,2,...,n
xij 0 or 1 i, j=1,2,...,n
Do Example 3 in LINGO
Office Site
1 2 3 4 1 2 3 4
O
f 1 - 17 12 11 S 1 - 1 1 2
[fNij]= f 2 17 - 12 4 [dij] i 2 1 - 2 1
=
i 3 12 12 - 4 t 3 1 2 - 1
c 4 11 4 4 - e 4 2 1 -
e
ABSMODEL 2
c f x
n1 n
Minimize ij ij i x j yi y j
i 1 j i 1
xi
Facility i
yi
Facility j
yj
xj
HRL
VRL
Do Example 4 in LINGO
Office Site
1 2 3 4 1 2 3 4
O
f 1 - 17 12 11 S 1 - 1 1 2
[fNij]= f 2 17 - 12 4 [dij] i 2 1 - 2 1
=
i 3 12 12 - 4 t 3 1 2 - 1
c 4 11 4 4 - e 4 2 1 -
e
ABSMODEL 3
n 1 n
Minimize c
i 1 j i 1
ij f ij xi x j y i y j
bj Facility j
dhij lj
dvij
li
yj
bi Facility i
xi yi
HRL
VRL
Do Example 5 in LINGO
Office Trips Matrix
O 1 2 3 4 5 Office Dimensions
(in feet)
f 1 - 10 15 20 0 1 25 x 2
f 2 10 - 30 35 10 2 25 x 20
[fij] = i 3 15 30 - 10 20 3 35 x 30
c 4 20 35 10 - 15 4 30 x 20
e 5 0 10 20 15 - 5 35 x 20
LMIP 2
n n
Minimize c
i 1 j 1
f h
ij ij ij
MCj
MCk
MCi MCi
LP for generating blockplan
Parameters
Lui , Lli Upper and lower bounds on the length of department i
HA,VA Set of department pairs adjacent in the horizontal and vertical dimensions, respectively
Decision Variables
i 1 j i 1
Subject to xi x j xij xij i 1, 2,..., n 1; j i 1,..., n yi y j yij yij i 1, 2,..., n 1; j i 1,..., n