Intro
Intro
1
Linear Programming (LP)
2
LP Problems : Product Mix
● Objective
To select the mix of products or services that results
in maximum profits for the planning period
● Decision Variables
How much to produce and market of each product or
service for the planning period
● Constraints
Maximum amount of each product or service
demanded; Minimum amount of product or service
policy will allow; Maximum amount of resources
available
3
LP Problems : Production Plan
● Objective
To select the mix of products or services that results
in maximum profits for the planning period
● Decision Variables
How much to produce on straight-time labor and
overtime labor during each month of the year
● Constraints
Amount of products demanded in each month;
Maximum labor and machine capacity available in
each month; Maximum inventory space available in
each month
4
Recognizing LP Problems
Characteristics of LP Problems
● A well-defined single objective must be stated.
5
Steps in Formulating LP Problems
6
Example: LP Formulation
8
Example: LP Formulation
9
Example: LP Formulation
10
Example: LP Formulation
11
Example: LP Formulation
● LP in Final Form
● Max Z = 10x1 + 15x2
● Subject To
●2x1 + 4x2 < 100 ( aluminum constraint)
●3x1 + 2x2 < 80 ( steel constraint)
●x1 , x2 > 0 (non-negativity constraints)
12
Example: LP Formulation
14
Example: LP Formulation
15
Example: LP Formulation
16
Example: LP Formulation
● LP in Final Form
● Max Z = 15x1 + 21x2
● Subject To
●4x1 + 3x2 < 920 ( labor constraint)
●8x1 + 12x2 < 2400 ( wood constraint)
●x2 - 40 > 0 (make at least 40 tables)
●x1 - 4 x2 > 0 (at least 4 chairs for every table)
●x1 , x2 > 0 (non-negativity constraints)
17
Example: LP Formulation
18
Example: LP Formulation
19
Example: LP Formulation
21
Example: LP Formulation
● LP in Final Form
● Min Z = 6x1 + 8x2
● Subject To
●x1 + x2 = 1500 ( mix constraint)
●x1 < 800 ( mix constraint)
●x2 > 600 ( mix constraint )
●x1 , x2 > 0 (non-negativity constraints)
22
LP Problems in General
23
LP Problem
24
LP Model
25
LP Problem
The White Horse Apple Products Company purchases apples
from local growers and makes applesauce and apple juice. It
costs $0.60 to produce a jar of applesauce and $0.85 to
produce a bottle of apple juice. The company has a policy that
at least 30% but not more than 60% of its output must be
applesauce.
The company wants to meet but not exceed demand for each
product. The marketing manager estimates that the maximum
demand for applesauce is 5,000 jars, plus an additional 3 jars
for each $1 spent on advertising. Maximum demand for apple
juice is estimated to be 4,000 bottles, plus an additional 5
bottles for every $1 spent to promote apple juice. The
company has $16,000 to spend on producing and advertising
applesauce and apple juice. Applesauce sells for $1.45 per jar;
apple juice sells for $1.75 per bottle. The company wants to
know how many units of each to produce and how much
advertising to spend on each in order to maximize profit.
26
LP Model
27
LP Problem
A ship has two cargo holds, one fore and one aft. The fore cargo hold has a
weight capacity of 70,000 pounds and a volume capacity of 30,000 cubic
feet. The aft hold has a weight capacity of 90,000 pounds and a volume
capacity of 40,000 cubic feet. The shipowner has contracted to carry loads
of packaged beef and grain. The total weight of the available beef is
85,000 pounds; the total weight of the available grain is 100,000 pounds.
The volume per mass of the beef is 0.2 cubic foot per pound, and the
volume per mass of the grain is 0.4 cubic foot per pound. The profit for
shipping beef is $0.35 per pound, and the profit for shipping grain is $0.12
per pound. The shipowner is free to accept all or part of the available
cargo; he wants to know how much meat and grain to accept in order to
maximize profit.
28
LP Model
29
LP Problem
30
LP Model
31
LP Model
Min X1 + X2 + X3 + X4 + X5 + X6 + X7
ST
X1 + X4 + X5 + X6 +X7 ≥ 8 (Sunday)
X1 + X2 + X5 + X6 +X7 ≥ 6 (Monday)
X1 + X2 + X3 + X6 +X7 ≥ 5 (Tuesday)
X1 + X2 + X3 + X4 +X7 ≥ 4 (Wednesday)
X1 + X2 + X3 + X4 +X5 ≥ 6 (Thursday)
X2 + X3 + X4 + X5 +X6 ≥ 7 (Friday)
X3 + X4 + X5 + X6 +X7 ≥ 9 (Saturday)
All variables ≥ 0 and integer
32