Linear Programming Overview
Linear Programming Overview
3
LP Applications
4
Requirements of an LP Problem
5
LP formulations
Steps in Formulating LP
7
Formulating an LP
The Glickman Electronics Company in Washington, DC, produces two products: (1) the
Glickman x-pod, a portable music player, and (2) the Glickman BlueBerry, an internet
connected color telephone. The production process for each product is similar in that
both require a certain number of hours of electronic work and a certain number of
labor-hours in the assembly department. Each x-pod takes 4 hours of electronic work
and 2 hours in the assembly shop. Each BlueBerry requires 3 hours in electronics and 1
hour in assembly. During the current production period, 240 hours of electronic time
are available, and 100 hours of assembly department time are available. Each x-pod
sold yields a profit of $7; each BlueBerry produced may be sold for a $5 profit.
Glickman’s problem is to determine the best possible combination of x-pods and
BlueBerrys to manufacture to reach the maximum profit. This product-mix situation can
be formulated as a linear programming problem.
8
Formulating an LP
9
Formulating an LP
11
Example
12
Example Continued
Day Number of
employees
required
Monday 17
Tuesday 13
Wednesday 15
Thursday 19
Friday 14
Saturday 16
Sunday 11
Formulate an LP that the post office can use to decide on the
number of full-time employees.
13
Example Continued
14
Example Continued
15
Example Continued
𝑀𝑖𝑛 𝑥1 + 𝑥2 + ⋯ + 𝑥7 = 𝑥𝑖
𝑖=1
16
LP Applications
Production-Mix Example
Failsafe Electronics Corporation primarily manufactures four highly technical products, which it
supplies to aerospace firms that hold NASA contracts. Each of the products must pass through the
following departments before they are shipped: wiring, drilling, assembly, and inspection. The time
requirements in each department (in hours) for each unit produced and its corresponding profit value
are summarized in this table:
18
Production-Mix Example
The production time available in each department each month and the minimum monthly production
requirement to fulfill contracts are as follows
19
Production-Mix Example
20
Production-Mix Example
21
Diet Problem Example
The Feed ’N Ship feedlot fattens cattle for local farmers and ships them to meat
markets in Kansas City and Omaha. The owners of the feedlot seek to determine the
amounts of cattle feed to buy to satisfy minimum nutritional standards and, at the
same time, minimize total feed costs. Each grain stock contains different amounts of
four nutritional ingredients: A, B, C, and D. Here are
the ingredient contents of each grain, in ounces per pound of grain:
22
Diet Problem Example
23
Diet Problem Example
Mexico City Bank of Commerce and Industry is a busy bank that has requirements for
between 10 and 18 tellers depending on the time of day. Lunchtime, from noon to 2
P.M., is usually heaviest. The table below indicates the workers needed at various hours
that the bank is open.
25
Labor Scheduling Example
The bank now employs 12 full-time tellers, but many people are on
its roster of available part-time employees. A part-time employee
must put in exactly 4 hours per day but can start anytime between
9 A.M. and 1 P.M. Part-timers are a fairly inexpensive labor pool
because no retirement or lunch benefits are provided them. Full-
timers, on the other hand, work from 9 A.M. to 5 P.M. but are
allowed 1 hour for lunch. (Half the full-timers eat at 11 A.M., the
other half at noon.) Full-timers thus provide 35 hours per week of
productive labor time. By corporate policy, the bank limits part-time
hours to a maximum of 50% of the day’s total requirement. Part-
timers earn $6 per hour (or $24 per day) on average, whereas full-
timers earn $75 per day in salary and benefits on average.
26
Labor Scheduling Example
29
Integer and Binary Variables
30
• Dependent selections
Y1 ≤ Y2 ,Y1 can only occur if Y2 occurs
Y1 = Y2both events or neither event
31
Example
32
Example
Decision variables
𝑦1 , 𝑦2 , 𝑦3 : binary variables that are equal to 1 if a factory is built at
locations 1,2,3
X1 , X2 , X3 = number of units produced at the plants 1,2,3
33
Example
34
SOLVING LINEAR PROGRAMMING PROBLEMS
WITH EXCEL
Example
36
a) Sidneyville’s sales manager has renegotiated the contract for
regular desks and now expects to make a profit of $125 on
each. He excitedly conveys this information to the firm’s
production manager, expecting that the optimal mix of rolltop
and regular desks will change as a result. Does it?
b) Suppose that the new contract also has a higher profit for the
rolltop desks. If the new profit for the rolltop desks is $140, how
will this change the optimal solution?
37
c) A logging company has offered to sell Sidneyville an additional 50 square feet of
maple for $5.00 per square foot. Based on the original objective function, would you
recommend that it accept the offer?
d) Assuming that Sidneyville purchases the 50 square feet of maple, how is the optimal
solution affected?
e) The firm is considering a pine desk that would require 25 square feet of pine and no
other wood. What profit for pine desks would be required to make its production
worthwhile, assuming current levels of resources and original profits on regular and
rolltop desks?
f) During inspection, the quality department discovered that 50 square feet of pine had
water damage and could not be used. Will it be optimal to produce both desks under
these circumstances? Will the product mix change?
38
Sensitivity Analysis
39
Sensitivity Analysis
40