Professional Documents
Culture Documents
1969
SHERIDAN, T.
g-gg^
United States
Naval Postgraduate School
THESIS
SOME LINEAR PROGRAMMING MODELS
by
October 1969
T13:?785
DUDLEY KNOX LIBRARY
NAVAL POSTGRADUATE SCHOOL
MONTEREY, CA 93943-5101
by
from the
NAVAL POSTGRADUATE SCHOOL
October 1969
AJ ps A£ew V I ^—r^— '
ABSTRACT
TABLE OF CONTENTS
A. INTRODUCTION 7
C. SCOPE OF INVESTIGATION 8
B. PROCESS ANALYSIS 9
C. MATHEMATICAL FORMULATION 9
1. Notation 10
2. Initial Formulation 11
A. RMS PRIME 13
B. OTHERS 14
V. COMPUTATIONAL ASPECTS 20
A. THEORETICAL CONSIDERATIONS 22
3
2. Initiating the Algorithm 25
3. Subsequent Iterations 29
B. IMPLEMENTATION 30
VIII. CONCLUSIONS 34
SELECTED BIBLIOGRAPHY 58
FORM DD 1437 61
ACKNOWLEDGEMENT
A. INTRODUCTION
personnel restraints.
Finally it must be compatible with the data that is, or can be,
have one and only one Commanding Officer in any circumstance, and thus
are similar.
C. SCOPE OF INVESTIGATION
utilized in the models presented here, since even linear models may
using process analysis. These models are linear programs which, when
solved, yield the least-cost labor mix required to satisfy the capability
below.
B. PROCESS ANALYSIS
is found in Appendix D.
C. MATHEMATICAL FORMULATION
for example, a Naval Air Station or Naval Shipyard. From this model
1 . Notation
per month.
10
:
2. Initial Formulation
intermediate products, and final outputs to and through the various subcost
centers.
becomes
minimize C X
subject to Z >_ K,
AW =
K 1 x 1 K
2 3
W, X, Y, Z >_
11
3. Final Formulation as a Linear Program
A
(l)
a^w = z
A = A
(2)
, such that, A^ W = Y
A
{3)
A^ W = X
sum out to zero for the station as a whole. This assumption will,
to be:
(2 ^
A W >_
the linear program becomes one of finding the vector of optimal activity
subject to A^ W > K
]
(2)
A W >
K
2 1 A ^ w - K
3
W >_ .
12
III. NATURE, SOURCES, AND AVAILABILITY OF DATA
FOR MANPOWER ALLOCATION MODEL
ways in which the cost center may be organized and/or operated. Hence it
A. RMS PRIME
is the reporting systems RMS PRIME. This system has established a break-
down into cost centers and sub-cost centers, and specified work units to
all stations. The reports provide the following data, at sub-cost center
2. Total manhours.
ensures adaptability of the model to any shore station where RMS PRIME
13
B. OTHERS
Another method which has been utilized to produce data required for
observes personnel on the job and reports their activities in various pro-
less costly than work sampling this method requires interviewers who are
involved.
14
IV. APPLICATION OF MANPOWER ALLOCATION MODEL
AT VARIOUS LEVELS OF PLANNING
Air Basic Training Command, which consists of five training air stations,
student pilots through the various phases of training, are set forth in
Appendix C.
first.
Using the notation defined in Chapter II, the final form of the
linear program may be applied directly in the SSM. The linear pro-
gramming problem which must be solved at each air station under the
fol lowing:
T
minimize C A^ W
subject to A^W^^
(2 ^
A W >
K
2 1 A ^ w 1 K
3
W >_
maintained, and K~ and K- are the vectors of lower and upper bounds on
15
:
ship,
A^ W* = X*
the optimal manning level for the station in question can be determined.
Due to the method of training pilots in phases, moving from one station
to the next, some of the outputs (z.) of the Single Station Model are
now inputs to other stations within the organization. These products, e.g.,
T.
arises
X = x
?
X
s
X. .
- amount of the i — labor input required at the j — station,
16
Similarly for intermediate products (Y, Y., y. .), final outputs
(Z, Z., z..), cost center activity levels (W, W., W. .), and labor input
for each of the stations to reflect the difference between final products
and internal products. Designate the matrix formed by those rows of the
A^ '
matrix of the j — station which correspond to internal products as
Ai
u such that,
a^'w.-t.
J 3 3
The matrix formed by the remaining rows (those relating final pro-
matrices of the Centralized Planning Model differ from those of the Single
Station Models for each base by the deletion of the rows which make up
aP>*.
3
1
Ia' '
!
1 '*
= a'
A
*(2)
3'
A<
where
(2)"
SO)"
and
jflc) rrt (k)
A i
i
(k)
o A
i(k)
for k = 1, 2, 3.
17
,
An additional constraint set arises from the fact that there are upper
(and possibly lower) bounds on the total number of personnel of each labor
category which are available to the commander for assignment. The constraints
i — £_i U.
- i
i 1 »
( 3)
L < V A . I
-
- 3-1
J J
Thus, in the form previously standardized the problem facing the central
T 3
minimize C A< > W
subject to
|t
A W =
i
Z >_ K
( 3)
l •
y A . W. "<
J J
-J-l
W, X, Y, Z, T > 0.
or
t 3>
minimize c a< W
a^ W
T >*
A< w
2)
a( w
(3)
L < y A W. •
B
' J-l
J -
18
Note that the results of Appendix B concerning intermediate products
the stations in his command and specifies the cost center in which they
will be placed, as well as the activity level at which that cost center
will be operated.
presented in Appendix E.
19
V. COMPUTATIONAL ASPECTS
A x b
i i i
A X = b
2 2 2
mm m
112
A* X,+ A* X
2
. .
mm
.+A* X = b
m+1
..
X. - for all j
,1
20
*
Where the A. and the A. are matrices, the X. are vectors of activity
that the CPM may indeed be put in this form, that is:
minimize 7 C. a\ W.
subject to A, W, (1)
1
A W (2)
2 2 2
AW s s
= B
s
(3)
*
W = T (4)
2 2 s
(3) 3) 3)
L —< A, W, + A^ W9 + ... + A^ Wc (5)
2 2 s J
where
1
'I.
J
B. j
3
iV
ft J
Constraint sets (1), (2) and (3) are independent of each other, that
is, the stations in CNABATRA are only jointly constrained by (4) and (5),
21
VI. DECENTRALIZED PLANNING AT CNABATRA LEVEL
his cognizance without detailed information and central direction for each
decision. The planner, who must satisfy overall constraints which bind
together the entire organization, simply specifies the prices which sub-
those details.
planning model for the CNABATRA organization. That is, one in which the
labor solution to the Training Command, without being concerned with the
Training Command.
It was shown in Chapter V that the only elements of the entire constraint
22
1 )*
A^* W, + Ap>* W
2
+ ... + A<
Ws . T (1)
and
LiAf'vf 1
» 2t ...Hf»3 i B t«
products are final products in the Single Station Model and were redes-
In the case of the Naval Air Basic Training Command these internal
training to the next. Thus the final output of completely trained pilots
is the number of students who entered the program less the attrition
required output at each phase of the training syllabus in order that the
final output of the system meet the specified level. In this manner
in the original Single Station Model. The station which received internal
product (t. .) will now consider that quantity as a labor input which has
as follows:
L —< A^ W, + a!,
c
3
) W
c
+ ... + A^
s
3)
W
s —< B
23
. ;
From Chapter II
A^ J
W.
J
= X.
J
for j = 1 , . . . , s
which yields X, + X + + X
L
—< c
...
s —< B
F, equation (3) )
T
minimize C X (3)
subject to L
-< X-. + X + ... + X —< (4)
2 s
A W (5)
] 1
Ap W = B. (6)
2
AW s s
= B
s
(7)
W. i 0; for j = 1 , ...,s.
where again,
Z.
J
3
minimize cTa< »w.
J J J
24
.
2)
a( w. >
-
J J
K . < A^ W. : K ,
W. >
-
J
the overall problem, by changing the prices to be charged for labor inputs.
violate the upper bound, stations will seek solutions which require less
cause stations to attempt to utilize more of that input, with the result
that the lower bound may be satisfied. It may be necessary that several
is reached.
subprograms using the actual wages paid in the different labor categories.
Further assume that these X° do not form a feasible solution to the Master
Program, i.e., some upper or lower bounds are violated. The phase I-phase
25
.
in such a way that, given the new prices, the stations will change their
To determine the new set of prices, CNABATRA must solve this L.P.,
minimize
T
I C X° A
J J J
j= l
subject to
x =1
1
Ap = 1 s constraints
(9)
= 1
Let the lower bound L be equal to zero, for this example. The
of the a. are all one because there is only one basic feasible solution
Assuming that the vector X. has n elements, the dual of this Master
dual variables can be thought of as the opportunity cost (or shadow price)
2
of the input constraint with which it is associated. Let the row vector
= ,..., v
V
[ V] , v
2 n +s ]
2
Hadley, G., Linear Programming , Addison-Wesley , p. 484, 1963,
26
.
presently in the basis will be considered for entry into the basis if its
"Z. - C" is positive, i.e., its indirect cost is greater than its direct
cost. That vector X. will be selected for entry which corresponds to the
max (Z. - C). In the restricted master program only those vectors which
J J
j
form the basis appear. Thus, the "Z. - C." for vectors not in the basis
cannot be calculated because those vectors have not even been determined.
basic vectors only if they are likely candidates for entry into the basis,
following equation:
the basis, B is the inverse of the present basis, and a. is the column
T n -l
From Duality: V = C
thus Z. = V a.
3 3
,o
a where e^ is a s-dimensional
3
column vector with a 1 in the
j —
position and zeros else-
where.
Z. = v,x-, + v x + ... + v x + v
V
. . .
3 1 lj 2 2j n n J
x x
27
—
or:
T T
Z. - C. = V X° - C X° + v . . = (V - C ) X° + v A .
J J J J J n
x
+j y j n +j
x
The costs and the values of the dual variables are all known. A new
T
max [(V - C ) X + v ..]J >
3 n +j
x
Note that v ,. is a constant, thus the max I' (V - C.) X.] must
n +J J J
be determined by the j —
th
subprogram to decide the vector which is to be
entered into the basis. It is desirable to maintain the form of the sub-
(at the station level) that "prices" are simply being changed. This is
station becomes
T
minimize (C - V) A^J
W
J
subject to Av' W.
-
J Ij
( 2)
A . W. . >
-
J
K . < A^ W. < K .
W. >
-
J
After solution of the subprograms with the new prices, CNABATRA will
are termed C ..
J
28
The negative of the C. are added to v .
s and the X. corresponding
J
+
Y
maX [
"C
J
+ V
n/j ]
= "
[ C
t
+
\^
Then xi will enter the basis of the restricted master program as
the coefficient of a new variable x.. Thus the restricted master has
the form:
minimize
T
clx?x, + clx2x« + ... + cl (X°A. + xlxl) + ... + C X°A
CCC ttt t t SSS
subject to
x = 1
2
(10)
v4 = ]
= 1
Note that at each iteration only one new vector of inputs and one
3. Subsequent Iterations
dual variables and computation of a new set of "prices". The prices are
29
made, allowing entry of a new vector solution into the basis of the master
In the general case where the lower bounds are greater than zero,
the only modification to the above is that the constraint set (8) becomes
twice as large.
That is
becomes
A v v x
2
••• + X
s° h- 1
Thus there 2n + s dual variables, the algorithm is operated as
A
B. IMPLEMENTATION
manner at CNABATRA.
commander submit proposed manning levels which will produce the required
the labor inputs, and the stations are required to propose new manning
30
levels at the new prices. A new vector is selected for entry into the
and new solutions requested from the station subprograms. This iterative
TRAINING
AIR STATIONS
31
VII. OTHER PLANNING INFORMATION AVAILABLE
FROM LINEAR PROGRAM SOLUTION
the restricted master, values of the dual variable activity can be putputted
32
Both the post-optimal ity analysis and parametric
programming techniques can be applied to as many
individual values as desired, as well as to entire
rows and/or columns, allowing the user an almost
unlimited number of situations which can be simulated,
and, in many cases, problems that can be foreseen and
avoided.
33
VIII. CONCLUSIONS
Naval Shore Activity have been examined and mathematical models have been
reached:
34
APPENDIX A
of all inputs are independent of activity levels. That is, the tech-
to scale."
the individual outputs when operated at the same activity levels that
possible.
35
APPENDIX B
properly-posed problem."
restated as follows:
36
A. DISCUSSION
minimize C A W
subject to A^ W > K
]
(2)
A W = Y
K
2 1 A ^ w 1 K
3
W >_
A^ W =
Consider first the case of one technology per cost center. Thus if
Theorem 1 : I •
N - f
Proof: Each cost center has some type of unique quantifiable output,
otherwise the elements of the A matrix for that cost center would be
the case where each cost center produces one, and only one, output,
(2) (2)
A is an I x N matrix, since there is one row of A v ' corresponding
cost center
37
{
v (2)'
Thus the maximum rank of the A matrix is:
(1)
v
Theorem 2: Given that the A '
matrix is of full rank, f; The rank of
f
v 2)
A ' must be less than or equal to (N - f) for a feasible solution to
exist.
Case 1: I = N - f
KC}
(2)
By (1) above, the maximum rank of h is the min [I, N], and the
theorem is satisfied.
Case 2: I > N - f
KCI
(2)
By contradiction, assume that r(l\ )
•
N - f and a feasible
(1)
A
A =
(2)
(2);
The assumption above that the r(A v ) = M > N - f, implies f linearly
rows of A^ as ) B?
2
^ .
(1) (2)
J J
3-1
J
B .
where x =
[^ ^, ... ,x
m
]
38
That is, 3- W = 0, which does not satisfy the constraints on final
and j
3. \ . Hence the rank of A is equal toM+f>N-f+f=N,
and the contradiction is reached r (A) > N.
(2)
Thus, rank of l\ ' must be less than or equal to n - f.
B. CONCLUSIONS
(2) (2)
the constraint set A v '
W = unless the rank of Pc ' is less than or
T (3)
K
minimize C k ' W
subject to A^ W > K
]
2)
A^ W >
K
2 1 A ^ w 1 K
3
W > 0.
39
APPENDIX C
total of nine training squadrons. The flow of pilots through the command
Field for all student pilots. Upon completion of the primary syllabus
those students selected for jet training advance to Basic Jet Training at
for aircraft carrier qualification and finally are sent to either Kingsville
the basic syllabus advance to Whiting Field, Milton, Florida for basic
prop training (VT - 2 and VT - 3), then return to Saufley for carrier
40
.
APPENDIX D
a. Students - x,
b. Airmen - E-2/E-3 - x
2
c. Aviation mechanics - x
3
d. Flight instructors - x«
a. Students processed - y,
b. Repaired aircraft -
y2
a. Student attrition - z,
b. Trained pilots - z
2
balance equations relating inputs and outputs for each productive process
41
H
Cost Center
*
2 —
cost center, yielding the following vector equations for each cost
center:
Cost Center A:
a v
n
a
21
a
31
42
Cost Center B
'
b
lll
1
b z
21 :
2
|
i
b yi
j- 31 i
!- b 41
i
(2)
1
b *3
1
5i!
b Xr,
I
6ll
b
7lj
[
Cost Center C
11 ^2
'21 y3
I
(3)
31
41
where a,, b,, y-i j are the activity levels at which the first productive
43
Combining equations (1), (2), and (3) yields
'11 1
!
Z
21 2
ll '31 yl
-b '11
41
I
b -c y 3i
51 21
1
a x
21 B i|
i
a
31
b
61 '31
H X
2 !
'41
b
71
to:
(1)
.A
(2)
(3)
Z K
2 - l
X K
11 l 1 12
K X K
2l - 2 - 22
'31 '32
K
'41 ^4 - 42
44
The problem can be written in the standard form as
(c c + c c )
Yl
2 31 3 41
subject to:
b K
21 ^ »
1
a a b 6 °
ll l " 31 1 1
-b B] + c >
41 n Y]
b
51
B-, - c
21
Y] 1
k - a a k
ll 21 l - 12
k _ a a +b ^ + C y, 1 k
21 31 1 61 3] 22
k C k
31 - 41
Y
l - 32
k b k
41 1 71
e
l 1 42
45
.
APPENDIX E
the same as the SSM example in Appendix B. That is, with but three
Let the flow of products within and through the system be as shown
in Figure E-l
x., .
- aviation mechanic input to station j.
46
Assuming, as before, one technology per cost center, vector equations
For NAS-1:
Cost Center A
a
ll"
a w x
21 11
i
n
a x
.
31. 21
[
Cost Center B
"
b z
n !
n
b r
21 j
12
i
b
31 Yl1
'12
!
b
4l!
j
ki
1
>
b y 3l'
5l| j
t i
j
b X :
.
6lj 1
41
Cost Center C
-c
11 21
w
21 13 31
'31 31
For NAS-2:
Cost Center A,
-d
11 *12l
'21
'21 y 12!
J
31 72
47
Cost Center B.
11 21
'21 ^22
'31 '22 y ll
41
22i
-e
51 32
x
'6Zj 42
Cost Center C :
?
-f
11 y 22 l
I
f
22
'23 y 32
il f x.
v
31 32
48
Equations can be grouped as before, yielding:
!
b
ll
jO) e z
n 21
e
21
a(D* b -d
21 ll
a "b
ll 31 *11
b -c
41 ll *21
*
w
"b
51
c
31
iT ^31
2>
A< "e
d
21 31 w ^12
12
G - f
41 ll ^22j
w
"e 13
f
51 21 i
w "
i
21
a x
21
w
n;
22
a x 2ii
31
w
o c 23 x I
31 j 31 I
3>
A< b X
61 41
j
d X
31 22|
f x
31 32
^0 e '
x
61 42
w ir
a ~ x
21 l
w
( 3) 12
y a . w. a d x
31 31 2
3-i J J
w
13
c f X
31 31 3|
w 1
.0 b
61
e
61
w
21
22
X
\A/ _ _
'23 j
A^
])
, and similarly for the A^
J
and fS.
J
3
\ j = 1,2.
49
Assuming the following bounds have been specified:
z 1 K
22 1
3
" - x - i = 1.....4
ij ij ij
J - 1.2
and,
1J '
j= l
minimize (C + C w + (C w *
n a 21 21
a
31
)
n 41
b
6]
)
]2
(C^c-J w 1Q + (C 00
"13 d, n ) w 01 + (C.
U
22 3T
e cl ) w
'42 C
'3r3r "21 6T "22
(C f ) w
32 31 23
subject to:
e w > K
21 22 l
b w -d w >
21 12 ll 21
a w b w >
ll ll 31 12
b
41
w
12
C n nW- >
b w +c w >
51 12 31 13
d w
21 21 -e w
31 22
w
e
41 22
.f
n w 23l
-e w +f w i0
51 22 21 23
- a w < Bn
"11 21 ll
- a w < 6
"21 31 ll 21
- c w < 3
'31 31 13 31
- b w
"41 61 12 < Hi
- d w 1 6
"22 31 21 22
f w 23l
"32 - 31
6
32
"42 - e w i e
61 22 42
50
a w l b
\ i 21 ll l
h i a
31
w
ll
+d
31
w
21
lb 2
< c w f w 23^- b
h 31 12 31 3
w W
u < b
61 12
e
61 22 - b
4
and:
w
11
w *
w
12
•
w
13
i *
w
21
iw*
2
I
*
w
23
= a w
11 21 ll
• *
= a w
21 3i n
*
= c w
31 31 31
*
= b w
41 61 12
*
= d w
22 31 21
*
= f w
23 31 21
• •
= e w
24 61 23
51
APPENDIX F
DECOMPOSITION PRINCIPLE
The technique has the disadvantage that the master and subprograms
A. GENERAL FORM
minimize C, X + C Y
?
subject to A X = b (1)
1 ]
A Y = b (2)
2 2
A, X + A Y = b (3)
2
Where X and Y are vectors of activity levels in the first and second
involve only the first subsystem, equation (2) is the constraints only on
the second, and equation (3) expresses those constraints held in common.
52
Let S, and Sp be the set of extreme point solutions to A, X = b,
S-i = X-. , Xp » . . . , X.
K
x = y x. x.
J J
3-i
where
K
} x. = 1 , x. >
L
Y = V y. Y.
J J
3-1
L
'
y . = 1, y >
I
J J
j =l
where,
S = Y Y Y
2 J i
•
2 Lj
Thus for any feasible solutions X and Y, the supersystem program can be
K .. K
T
minimize Z\ ( J x. X.) + Ci ( Y u- Y.)
I
J J ^ J J
j=1 j=1
subject to K L
At (I A X ) + A (I y Y ) = b
53
K
= l
L
= l
V p
j
Ah Ah
d x
2
C
L
2
YY
2
, G,
c x cl L
1 K
[A X ]f A X , '
A X ]
1 ] 2 l K
'
O L"p ' "I J "O •
p »•••) r\p l|J
subject to F A + F ji = b
1 2
I A. = 1
J
3=i
J
j-1
\ .,
J
)i.
J
-
54
:
The problem thus formulated, with all extreme point solutions to the
Master program. It has the drawback that the set of all extreme point
unnecessary) to obtain.
known. A new vector would be considered for entry if its "Z. - C." is
J J
Then the dual of the master program will have m + 2 variables. The
:
f
u W
a. = or
J
Z. - C. = Vf,. - C. + V,,
J J lj J m+1
Z. - C. = Vf,. - C. + v ,,
J J 2j j m+2
55
:
Recall
lj 1 J
f . = A 9 Y.
2j 2 j
are called upon to find another extreme point solution to each subprogram.
specifying new "prices" for the X's and Y's. The new problems specified
Subprogram 1
subject to A X = b (4)
] ]
X >
Subprogram 2:
subject to A Y = b (5)
2 2
Y >_
selects:
min [C
}
+ v
m+1
, C 2+ v
m+2
] > (6)
Consider, for example, that \ will be brought into the basis. The
K+1
56
minimize
V + C
l
X
K+1
A
K+1
+ G P
2
subject to F A + A X A + F P = b
1 l K+1 K+1 2
K
X + A = 1
J K+ 1
j-.i
A ., u. =
J J
and
rc
i
+
W < °
tC
2
+
W < °
57
SELECTED BIBLIOGRAPHY
58
.
No. Copies
3. OPNAV 96 1
9. OPNAV 100C1 1
59
)
Security Classification
6. PROJEC T NO.
96. OTHER REPORT NOISI (Any other numbers that may be assigned
this report)
10 DISTRIBUTION STATEMENT
This document has been approved for public release and sale; its distribution
is unlimited.
13. ABSTRACT
The problem of forecasting Naval shore station manning requirements is
examined by considering the flow of goods and services. The approach of process
models are formulated for centralized planning at various management levels, from
decentralized planninq.
DD ,
F
°o1"„1473 (PAGE 1
LINK A
KEY WO R DS
Manpower Allocation
DD ,'°1".,1473 (A(.K
•ii |
62
Security Classificatioi
lhesS4465
Some linear programming models for forec