Example
of a production planning problem formulated as an LP (Transportation LP could
handle only simple PP problems)
Assume
that the best demand estimates are as follows
Jan 5300 May
4100
Sept 7300
Feb 5100 June
4800 Oct 7800
Mar 4400 July
6000 Nov 7600
Apr 2800 Aug
7100
Dec 6400
To
adjust for fluctuations, management can:
(i)
Change the
workforce level by hiring or firing
(ii)
Cover temporary
shortages by overtime work
(iii)
Store some of
the present surplus to cover future shortages
Constraints
- Change of workforce level is
restricted to at most 40 workers per month (up or down)
- It costs $300 to hire and
$420 to fire a worker
- Each worker produces 20
units per month on regular time and will produce no more than 6units per month
on overtime.
- Overtime production cost
exceeds regular production cost by $20 per unit
- It costs $8/unit/month to
store each unit
- At present there are 290
workers and no inventory
- Long range planning dictates
a zero inventory by next December
Solution
:
Let
dj denote the demand in the jth month.
Let
xj denote normal production in month j.
Let
yj denote overtime production in month j.
Let
zj denote inventory at the end of month j.
Upper
bound on the monthly change of workforce requires that:
|xj/20 - xj-1/20|
<= 40
|xj - xj-1 | <= 800 j = 1,2,3……,12 ---------------- (1)
Hence
there are xj/20 workers in month j,
yj <= 6(xj/20)
Or,
yj <= 0.3xj j = 1,2,3,……,12
----------------(2)
Additional
physical constraint is
Z j-1+xj+yj
= dj+zj j =
1,2,3,…….,12 ----------------(3)
(This
is the law of goods conservation)
Expenses
during the j th month :
Overtime cost = 20 yj
Storage cost = 8 z j
Hiring and firing cost tj
equals
Tj = 15 ( xj -
x j-1) if xj >= x j-1
= 21 (x j-1 - xj) if x j-1 >= x j
Hence
the objective is to minimise
42
S (20yj + 8zj +
tj)
j = 1
Boundary
conditions are x0 = 5800 , z0 = z12 = 0
------------------(4)
Non-negativity
constraints are
xj, y j , zj
, tj >= 0 j =
1,2,….,12----------------------(5)
A
linear relationship is required between the tj s and the xj s
Note
that tj = max{15(xj - x j-1), 21(x j-1
- xj)}
This
can be modeled as tj >= 15(xj - x j-1 )
& tj
>= 21(x j-1 - xj)
j = 1,2,3,…….,12------------------------(6)
Thus
we now have a linear objective function
Min n
S ( 20yj+ 8zj
+tj )
j = 1
subject
to (1),(2),(3),(4),(5),(6)
x1,x2,x3,……..,x20
have to be multiples of 20 to have a feasible solution. However we will ignore
this obstacle completely. Having obtained an optimal LP solution we simply
round each xj to the nearest multiple of 20 and adjust the level of overtime
and storage accordingly. The resulting solution is quite close to the optimal one.
Month
Demand Workforce Normal Overtime Inventory
Production Production
Jan
5300 265 5300
Feb 5100 255 5100
Mar 4400 220
4400
Apr 2800 201 4020
1220
May 4100 201
4020 1140
Jun 4800 241 4820 1160
Jul 6000 281 5620 780
Aug 7100 321 6420 100
Sept 7300 361 7220 20
Oct 7800 361 7220 560
Nov 7600
360
7200 400
Dec 6400 320 6400
During
January to March there is no overtime or inventory.
From
April to September there is a large initial inventory that gradually dwindles
to zero. No overtime used.
From
June to September, 40 new workers are hired monthly.
From
October to December no inventory is created. Some overtime is required to cover
the demand.
Drop
between November and December is sharp leading to a situation in November where
we have overtime and a worker is fired.
LP
formulation of the generic Aggregate Production Planning (APP) problem
The
decision variables are :
Xit
= units of product i to be produced in period t.
Wt
= regular workforce hours available in time t.
Ot
= overtime workforce hours used in period t. It is constrained to be no more
than a fraction p of W t .
Ht
= hours of regular workforce hired in period t.
Ft
= hours of regular workforce fired in period t.
Iit+
= units of inventory for product type i at the end of period t
I it-
= units back ordered for product type i at the end of period t.
Each
unit of Xit uses Ki hours of workforce either in regular
time or overtime
Following
costs are involved
Variable
cost vti Xit
Inventory
holding cost Cit Iit+
Back
order of cost Cit Iit-
Regular
payroll cost XtWt
Overtime
payroll cost ot Ot
(ot > rt)