Lecture 2 - Introduction To Linear Programming
Lecture 2 - Introduction To Linear Programming
So as to Maximize Profit
So as Maximize Profit
So as Maximize Profit
So as Maximize Profit
So as Maximize Profit
So as Maximize Profit
Unit consumptions – the amount of raw material consumption for every unit of production
Maximize Profit
Objective Function?
How do you measure?
Maximize Profit
Objective Function?
How do you measure?
= 5 𝑥1 + 4 𝑥2
Restrictions/Constraints?
Usage of raw material, M1 ≤ Amount of M1 available
Production for Interior paint can not exceed that of exterior paint by more than 1 ton
6𝑥1 + 4𝑥2 ≤ 24
𝑥1 + 2𝑥2 ≤ 6
Demand for Interior paint can not exceed that of exterior paint by more than 1 ton
−𝑥1 + 𝑥2 ≤ 1
𝑥2 ≤ 2
Restrictions/Constraints?
Usage of raw material, M1 ≤ Amount of M1 available
6𝑥1 + 4𝑥2 ≤ 24
Can the production quantity be negative?
Usage of raw material, M2 ≤ Amount of M2 available
𝑥1 + 2𝑥2 ≤ 6
Demand for Interior paint can not exceed that of exterior paint by more than 1 ton
−𝑥1 + 𝑥2 ≤ 1
𝑥2 ≤ 2
Restrictions/Constraints?
Usage of raw material, M1 ≤ Amount of M1 available
6𝑥1 + 4𝑥2 ≤ 24
Non-negativity Constraint
Usage of raw material, M2 ≤ Amount of M2 available
𝑥1 , 𝑥2 ≥ 0
𝑥1 + 2𝑥2 ≤ 6
Demand for Interior paint can not exceed that of exterior paint by more than 1 ton
−𝑥1 + 𝑥2 ≤ 1
𝑥2 ≤ 2
Graph
𝑥2
𝑥1
Graph
Draw 6𝑥1 + 4𝑥2 = 24
𝑥1 0 4
𝑥2 6 0
𝑥2
𝑥1
Graph
Draw 6𝑥1 + 4𝑥2 = 24
𝑥1 0 4
𝑥2 6 0
𝑥2
𝑥1
Graph
Draw 6𝑥1 + 4𝑥2 = 24
𝑥1 0 4
𝑥2 6 0
𝑥2
𝑥1
Graph
Draw 𝑥1 + 2𝑥2 = 6
𝑥1 0 6
𝑥2 3 0
𝑥2
𝑥1
Graph
Draw 𝑥1 + 2𝑥2 = 6
𝑥1 0 6
𝑥2 3 0
𝑥2
𝑥1
Graph
Draw −𝑥1 + 𝑥2 = 1
𝑥1 0 -1
𝑥2 1 0
𝑥2
𝑥1
Graph
Draw −𝑥1 + 𝑥2 = 1
𝑥1 0 -1
𝑥2 1 0
𝑥2
𝑥1
Graph
Draw 𝑥2 = 2
𝑥1 0 1
𝑥2 2 2
𝑥2
𝑥2 = 2
𝑥1
Graph
Draw 𝑥2 = 2
𝑥1 0 1
𝑥2 2 2
𝑥2
𝑥2 ≤ 2
𝑥1
Graph
Draw 𝑥1 = 0
𝑥1 0 0
𝑥2 1 2
𝑥2
𝑥1 ≥ 0
𝑥1
Graph
Draw 𝑥2 = 0
𝑥1 0 1
𝑥2 0 0
𝑥2
𝑥1 𝑥2 = 0
Graph
Draw 𝑥2 = 0
𝑥1 0 1
𝑥2 0 0
𝑥2
𝑥1 𝑥2 = 0
Graph
Graph
𝑥1 + 2𝑥2 = 6
𝑥1 = 6 − 2 × 1.5
6𝑥1 + 4𝑥2 = 24 ⟹ 𝑥1 = 3
𝑧 = 5 × 3 + 4 × 1.5
𝑥1 + 2𝑥2 = 6 = 21
Maximize, Z = 60x1+50x2
Subject to:
Graph
Graph
Graph
Graph
Graph
Slack
Minimization Problem
Determine the values of decision variables x1 and x2 that will yield
the minimum cost in the following problem. Solve using the
objective function approach.
Graph