LINEAR PROGRAMMING Formulation Example
LINEAR PROGRAMMING Formulation Example
PROGRAMMING
FORMULATION
Two Mines Company
The Two Mines Company own two different mines that produce
an ore which, after being crushed, is graded into three
classes: high, medium and low-grade. The company has
contracted to provide a smelting plant with 12 tons of high-
grade, 8 tons of medium-grade and 24 tons of low-grade ore
per week. The two mines have different operating
characteristics as detailed below.
Mine Cost per day (Php'000) Production (tons/day)
High Medium Low
X 180 6 3 4
Y 160 1 1 6
Subject to:
M1 + B1 = 3,000
M2 + B2 = 2,000
M3 + B3 = 900
2M1 + 1.5M2 + 3M3 ≤ 10,000
1M1 + 2M2 + 1M3 ≤ 5,000
M, M, M, B, B, B ≥ 0
1 2 3 1 2 3
Example 2. (The Weedworker Company)
The Weedworker Company manufactures two types of lawn trimmers: an electric
model and a gas model. The company has contracted to supply a national
discount retail chain with a total of 30,000 electric trimmers and 15,000 gas
trimmers. However, Weedworker’s production capability is limited in three
departments: production, assembly, and packaging. The following table
summarizes the hours of processing time available and the processing time
required by each department, for both types of trimmers:
Hours Required per Trimmer
Electric Gas Hours Available
Production 0.20 0.40 10,000
Assembly 0.30 0.50 15,000
Packaging 0.10 0.10 5,000
The company makes its electric trimmer in-house for $55 and its gas trimmer for
$85. Alternatively, it can buy electric and gas trimmers from another source
for $67 and $95, respectively. How many gas and electric trimmers should
Weedworker make and how many should it buy from its competitor to fulfill
its contract in the least costly manner?
Example (Agri-Pro Problem.)
Agri-Pro is a company that sells agricultural products to
farmers in several farming regions. One service it provides
to customers is custom feed mixing, whereby a farmer can
order a specific amount of livestock feed and specify the
amount of corn, grain, and minerals the feed should
contain. This is an important service because the proper
feed for various farm animals changes regularly
depending on the weather, pasture conditions, and so on.
Agri-Pro stocks bulk amounts of four types of feeds that it
can mix to meet a given customer’s specifications. The next
table summarizes the four feeds, their composition of corn,
grain, and minerals, and the cost per pound for each type.
Example (Agri-Pro Problem.)
Percent of Nutrient in
Nutrient Feed 1 Feed 2 Feed 3 Feed 4
Corn 30% 5% 20% 10%
Grain 10% 30% 15% 10%
Minerals 20% 20% 20% 30%
Cost per Pound $0.25 $0.30 $0.32 $0.15
Subject to:
X1 + X2 + X3 + X4 = 8 } pounds of feed required
(.30X1 + .05X2 + .20X3 + .10X4 ) / 8 ≥ 0.20 } min % of corn
(.10X1 + .30X2 + .15X3 + .10X4 ) / 8 ≥ 0.15 } min % of grain
(.20X1 + .20X2 + .20X3 + .30X4 ) / 8 ≥ 0.15 } min % of minerals
X, X, X, X ≥ 0
1 2 3 4
Example (TuneUp Corporation)
The TuneUp Corporation manufactures heavy-duty air compressors for
the home and light industrial markets. TuneUp is presently trying to
plan its production and inventory levels for the next six months.
Because of seasonal fluctuations in utility and raw material costs, the
per unit cost of producing air compressors varies from month to
month—as does the demand for air compressors. Production
capacity also varies from month to month due to differences in the
number of working days, vacations, and scheduled maintenance and
training.
Month
1 2 3 4 5 6
Unit Production Cost $ 240 $ 250 $ 265 $ 285 $ 280 $ 260
Units Demanded 1,000 4,500 6,000 5,500 3,500 4,000
Maximum Production 4,000 3,500 4,000 4,500 4,000 3,500
Example (TuneUp Corporation)
Given the size of TuneUp’s warehouse, a maximum of 6,000 units can
be held in inventory at the end of any month. The owner of the
company likes to keep at least 1,500 units in inventory as safety
stock to meet unexpected demand contingencies. To maintain a
stable workforce, the company wants to produce no less than one
half of its maximum production capacity each month. TuneUp’s
controller estimates that the cost of carrying a unit in any given
month is approximately equal to 1.5% of the unit production cost in
the same month. TuneUp estimates the number of units carried in
inventory each month by averaging the beginning and ending
inventory for each month.
There are 2,750 units currently in inventory. TuneUp wants to identify
the production and inventory plan for the next six months that will
meet the expected demand each month while minimizing production
and inventory costs.
Example (TuneUp Corporation)
1. Defining the Decision Variables
Production Levels
B2 = B1 + X1 − 1,000
B3 = B2 + X2 − 4,500
B4 = B3+ X3 − 6,000
B5 = B4 + X4 − 5,500
B6 = B5 + X5 − 3,500
B7 = B6 + X6 − 4,000
Example (Air-Express scheduling problem)