Chapter 2 - Introduction To LP
Chapter 2 - Introduction To LP
1
Mathematical Models
2
Koopmans and Kantorovich, Nobel Prize in Economics in 1975
“for their contributions to the theory of optimum allocation of resources”
3
Key Elements of Mathematical Models
Mathematical
System Inputs Models System Outputs
Values of
Uncontrollable System Controllable
Inputs Constraints Inputs
Corresponding Decision
Exogenous Variables Constraint Functions
Variables of Optimal
(Parameters/Constants) (Decision Variables)
System Objectives
4
Mathematical Representations
• Decision Variables
• Exogenous Variables
(Parameters/Constants)
5
Linearity of Functions
6
Linear Programs
8
Balancing study and other activities (linear programs for time allocation)
Problem Statement
9
Linear Programs for Time Allocation
• Time constraint: x1 + x2 + x3 10
• Dating constraint: x2 1
• Study constraint: x1 2
10
Linear Programs for Time Allocation
11
Mixing Gravels to Produce an Aggregate (Linear Programs)
Problem Statement
Fine Material
30%-35%
13
Mixing Gravels to Produce an Aggregate (Linear Programs)
Problem Statement (cont.)
14
Source 1 Source 2 Source 3 Source 4
How to choose
the amount of
aggregate from
each source to
minimize the
Coarse 48%-55% total cost ?
Fine 30%-35%
Sand 15-20%
15
Mixing Gravels to Produce an Aggregate (Linear Programs)
System Analysis
• Decision variables: amount of aggregate ordered from four
sources
– xj is the amount of aggregate from the j-th source
• Objective function: the least money spend on the aggregate
– Minimize 0.20x1+0.30x2+0.45x3+0.65x4
• Constraint functions
– 1000 pounds aggregates: x1+x2+x3+x4=1000
– Composition requirement of coarse material (example)
16
Mixing Gravels to Produce an Aggregate (Linear Programs)
Mathematical Representation of the Linear Program
Objective
Decision Variables Linear or not
Function
Constraint
Functions Linear or not 17
Mixing Gravels to Produce an Aggregate (Linear Programs)
Solution to the Linear Program
x1* = 400
x2* = 0
Values of decision
variables with the x3* = 600
optimal solution
x4* = 0
18
Mixing Gravels to Produce an Aggregate (Multiple Objectives LP)
Problem Statement & Analysis
19
Mixing Gravels to Produce an Aggregate (Multiple Objectives LP)
Mathematical Representation
Objective
Decision Variables Linear or not
Functions
Constraint
Functions Linear or not 20
Cutting Plywood (Integer Programming)
Problem Statement
8 22
Cutting Plywood (Integer Programming)
System Analysis
• Constraint functions
– Weekly demand for different kinds of furniture
components (table tops): 2𝑥3 + 𝑥5 + 𝑥7 ≥ 20
– All xj are the positive integers
23
Cutting Plywood (Integer Programming)
Mathematical Representation of Integer Programming
Objective
Decision Variables Linear or not
Function
Constraint
Functions Linear or not 24
Cutting Plywood (Integer Programming)
Solution to the Integer Programming Problem
x1* = 3
x2* = 18
x3* = 10
Values of decision
variables with the x8* = 3
optimal solution
x9* = 11
x10* = 19
x*j = 0 for j =4,5,6,7
25
Selecting Projects for Bidding (Zero-One Programming)
Problem Statement
• A company plans to bid for several projects out of 8
possible ones within its limits of time for preparing the
bids, skilled labors, and cranes. The potential profits of
them are presented as follows:
Project No. Time to Prepare Bid Skilled Labor Needed Crane Profit
(Person-week) (103) (103)
#1 8 6 1 80
#2 12 5 0 110
#3 13 4 1 100
#4 11 7 0 90
#5 9 8 0 70
#6 7 3 1 80
#7 8 4 1 90
#8 8 5 1 60
26
Selecting Projects for Bidding (Zero-One Programming)
Problem Statement
27
Selecting Projects for Bidding (Zero-One Programming)
System Analysis
• Decision variables: whether to bid one project or not
– xj is the decision to bid the j-th project, 1 for bidding, 0
for not bidding
• Objective function: the maximum profit
– Maximize 𝑍 = 80𝑥1 + ⋯ + 60𝑥8 = σ8𝑗=1 𝑝𝑗𝑥𝑗
• Constraint functions
– Resource constraints (crane limits): 𝑥1 + 𝑥3 + 𝑥6 + 𝑥7 +
𝑥8 ≤ 3
– All xj are either 1 or 0
28
Selecting Projects for Bidding (Zero-One Programming)
Mathematical Representation
Objective
Decision Variables Linear or not
Function
Constraint
Functions Linear or not 29
Selecting Projects for Bidding (Zero-One Programming)
Solution to the Zero-One Programming Problem
x2* = 1
x3* = 1
Values of decision x5* = 1
variables with the
optimal solution
x6* = 1
x7* = 1
x*j = 0 for j =1,4,8
30
The Transportation Problem (LP Models of Network Flow)
Problem Statement
31
The Transportation Problem (LP Models of Network Flow)
Problem Statement (Cont.)
32
The Transportation Problem (LP Models of Network Flow)
System Analysis
• Decision variables: the amount of construction material
delivered from warehouse to construction site
– xij is the amount of the construction material delivered from the
i-th warehouse to the j-th construction site
• Constraint functions
– Construction material availability at warehouses:
𝑥11 + 𝑥12 + 𝑥13 ≤ 𝑎1
– Construction material required by construction sites:
𝑥11 + 𝑥21 + 𝑥31 ≥ 𝑏1
33
The Transportation Problem (LP Models of Network Flow)
Mathematical Representation
Objective
Decision Variables Linear or not
Function
Linear or not
Constraint
Functions
34
Summary
35
Summary
36