SlideShare a Scribd company logo
Operations Research
Content
1. What linear Programming
2. Three basic components of linear programming (LP)
3. Steps of Mathematical Linear Programming model
4. Two-Variable Model LP Model
4.1. Example 1
4.2. Example 2
5. Graphical LP Solution
5.1. Example 1
5.2 Example 2
LINEAR PROGRAMMING
(LP)
• linear programming(LP): is a technique for
optimization of a linear objective function,
subject to linear equality and linear
inequality constraints.
• Linear programming determines the way to
achieve the best outcome (such as
maximum profit or lowest cost) in a given
mathematical model and given some list
of requirements represented as linear
equations.
Three basic components of linear
programming (LP)
• All OR models, LP included, consist of three
basic components:
1. Decision variables that we seek to determine
2. Objective (goal) that we need to optimize
(maximize or minimize).
3. Constraints that the solution must satisfy.
The proper definition of the decision variables is
an essential first step in the development of the
model.
Basics
• In the case of linear programming (LP), the
objective function and the constraints are all
linear functions of the decision variables.
• Linear function: for example: Y = X1 + X2
• Linear constraints are linear functions that
are restricted to be “less than or equal to ” ”
equal to” Or “greater than or equal to ” a
constant.
Steps of Mathematical Linear
Programming Model
• Step 1:
Identify the decision variables of the problem
• Step 2:
Construct the objective function as an LP
combination of the decision variables
• Step 3:
Identify the constraints of the problem such as
resource limitation, interrelation between
variables
Example 1
• A factory produces two types of products A and B.
• Each unit of A requires 50 minutes of processing time
on machine one and 30 minutes on machine two.
• Each unit of B requires 24 minutes on machine one
and 33 minutes on machine two
• Machine one is going to be available for 40 hours and
machine two is available for 35 hours
• The profit per unit of A is $25 and the profit per unit
of B is $30.
• Company policy is to determine the production
quantity of each product in such a way as to
maximize
constrain
Objective
Solution
• 1. Define the decision variables.
– X1: the number of product A to be produced.
– X2: the number of product B to be produced.
– Clearly X1, X2 ≥ 0
• 2. Write the objective in terms of the decision
variables.
– The factory gets a profit of $25 for product A and
$30 for product B.
– the objective function is to maximize profit (P).
• P= 25 X 1 + 30 X 2
Solution
• 3. Write the constraints in terms of the decision
variables.
– If we produce X1 units of A and X2 units of B,
machine one should be used for 50 X1 + 24 X2
minutes
– Since each unit of A requires 50 minutes of
processing time on machine one and each unit of
B requires 24 minutes of processing time on
machine one
– On the other hand, machine one is available for
40 hours or equivalently for 2400 minutes This
imposes the following constraint:
• 50 X1 + 24 X2 ≤ 2400.
Solution
• Similarly, machine two should be used for 30
X1 + 33 X2 minutes
• since each unit of A requires 30 minutes of
processing time on machine two and
• each unit of B requires 33 minutes of
processing time on machine two.
• On the other hand, machine two is available
for 35 hours or equivalently for 2100
minutes.
• This imposes the following constraint:
• 30X1 +33 X2 ≤ 2100.
Solution
• Maximize :
P= 25 X 1 + 30 X 2
• Subject to :
50 X1 + 24 X2 ≤ 2400.
30X1 +33 X2 ≤ 2100.
X1,X2 ≥ 0
Example 2
Reddy Mikks problem: The goal of Reddy
Mikks is to maximize (i.e., increase as
much as possible) the total daily profit
of both paints.
The following table provides the basic
data of the problem:
Example 2
𝑥1 = Tons produced daily of exterior paint
𝑥2 = Tons produced daily of interior paint
Profit from exterior paint = 5𝑥1(thousand dollars)
Profit from interior paint = 4𝑥2 1thousand2 dollars
• Step 1 : formulate objective function
Letting 𝑧 represent the total daily profit (in
thousands of dollars), the objective (or goal) of
Reddy Mikks is expressed
Maximize 𝑧 = 5𝑥1+ 4𝑥2
• Step 2 : construct the constraints that restrict raw material usage
and product demand.
Thus, the raw material constraints are:
6𝑥1 + 4𝑥2 ≤ 24 (RM of M1)
𝑥1+ 2𝑥2 ≤ 6 (RM of M2)
• first restriction on product demand stipulates that the daily production of
interior paint cannot exceed that of exterior paint by more than 1 ton
𝑥2 − 𝑥1 ≤ 1
• second restriction limits the daily demand of interior paint to 2 tons
𝑥2 ≤ 2
Solution
• The complete Reddy Mikks model is
Maximize 𝑧 = 5𝑥1+ 4𝑥2
Subject to
6𝑥1 + 4𝑥2 ≤ 24 (1)
𝑥1+ 2𝑥2 ≤ 6 (2)
−𝑥1 + 𝑥2 ≤ 1 (3)
𝑥2 ≤ 2 (4)
𝑥1, 𝑥2≥ 0 (5)
Linear Optimization Models
Developing an Optimization Model
1. Define the decision variables.
2. Identify the objective (goal) that we need to optimize
(maximize or minimize).
3. Identify all appropriate constraints that the solution must
satisfy.
4. Write the objective function and constraints as mathematical
expressions.
Characteristics of Linear Optimization Models
 The objective function and all constraints are linear
functions of the decision variables
 All variables are continuous (fractional values are allowed)
Example 2
• Niki holds two part-time jobs, Job I and Job II.
She never wants to work more than a total of 12
hours a week. She has determined that for every
hour she works at Job I, she needs 2 hours of
preparation time, and for every hour she works
at Job II, she needs one hour of preparation
time, and she cannot spend more than 16 hours
for preparation.
• If Niki makes $40 an hour at Job I, and $30 an
hour at Job II, how many hours should she work
per week at each job to maximize her income?
Objective
• Let the number of hours per week Niki will
work at Job I = x
• Let the number of hours per week Niki will
work at Job II = y
• Now we write the objective function. Since
Niki gets paid $40 an hour at Job I, and $30
an hour at Job II, her total income I is given
by the following equation.
Z=40x+30y
Constraints
Our next task is to find the constraints. The
second sentence in the problem states, "She
never wants to work more than a total of 12 hours
a week." This constraint translates mathematically
to:
x+y≤12
Constraints
The third sentence states, "For every hour she
works at Job I, she needs 2 hours of preparation
time, and for every hour she works at Job II,
she needs one hour of preparation time, and she
cannot spend more than 16 hours for
preparation." The translation follows.
2x+y≤16
The fact that x and y can never be negative is
represented by the following two constraints:
x≥0, and y≥0.
Objective and constraints
 Z=40x+30y
• x+y≤12
• 2x+y≤16
• x≥0;y≥0
Solution
 x+y≤12
 2x+y≤16
x 0 12
y 12 0
x 0 8
y 16 0
Constraint 1
0
2
4
6
8
10
12
14
0 2 4 6 8 10 12 14
Axis
Title
Axis Title
Y-Values x+y≤12
(0,12) (12,0)
Constraint 2
0
2
4
6
8
10
12
14
16
18
0 1 2 3 4 5 6 7 8 9
Axis
Title
Axis Title
Y-Values
2x+y≤16
(0,16) (8,0)
All Constraints
0
2
4
6
8
10
12
14
16
18
0 2 4 6 8 10 12 14
Axis
Title
Axis Title
Y-Values x+y≤12
2x+y≤16
Feasible region
• To determine the correct side, designate any
point not lying on the straight line as a reference
point. If the chosen reference point satisfies the
inequality, then its side is feasible; otherwise,
the opposite side becomes the feasible half-
space.
• The origin (0, 0) is a convenient reference point
and should always be used so long as it does not
lie on the line representing the constraint.
• x+y≤12 0+0 ≤12
• 2x+y≤16 2(0)+0 ≤16
Determination of the Feasible Solution Space
0
2
4
6
8
10
12
14
16
18
0 2 4 6 8 10 12 14
Axis
Title
Axis Title
Y-Values
Infeasible space
The vertices of the Feasible Solution
Space
• In practice, a typical LP may include hundreds or
even thousands of variables and constraints.
• Of what good then is the study of a two-variable
LP? The answer is that the graphical solution
provides a key result: The optimum solution of
an LP, when it exists, is always associated with a
corner point of the solution space, thus limiting
the search for the optimum from an infinite
number of feasible points to a finite number of
corner points.
0
2
4
6
8
10
12
14
16
18
0 2 4 6 8 10 12 14
Axis
Title
Axis Title
Y-Values
The vertices of the Feasible Solution Space
Infeasible space
C
D
A
B
Determine the optimum point
• The values of x and y associated with the optimum point C are determined
by solving the equations associated with lines (1) and (2):
• x+y≤12 *2 2x+2y=24 2x+2(8)=24
- 2x+16=24
• 2x+y≤16 *1 2x+y=16 2x=24-16
x=8/2
y=24-16 X=4
y=8
The vertices of the Feasible
Solution Space
A (0,0)
B (0,12)
C (4,8)
D (8,0)
0
2
4
6
8
10
12
14
16
18
0 2 4 6 8 10 12 14
Axis
Title
Axis Title
Y-Values
C
D
B
A
The maximum (or minimum) value of the
objective function
(X,Y) F(X,Y)=40x+30y Max
(0,0) 40(0)+30(0) 0
(0,12) 40(0)+30(12) 360
(8,0) 40(8)+30(0) 320
(4,8) 40(4)+30(8) 400
(X,Y) F(X,Y)=40x+30y Min
(0,0) 40(0)+30(0) 0
(0,12) 40(0)+30(12) 360
(8,0) 40(8)+30(0) 320
(4,8) 40(4)+30(8) 400
The solution is X = 4 and Y = 8 with z = 40*4+30*8 = 400.
Therefore, we conclude that Niki should work 4 hours at Job I, and 8 hours at Job II.
Example 2
Use graphical method to solve the
following linear programming model.
 Maximize z = 5x1 + 4x2
subject to
1. 6x1 + 4x2 ≤ 24
2. 6x1 + 3x2 ≤ 22.5
3. x1 + x2 ≤ 5
4. x1 + 2x2 ≤ 6
5. -x1 + x2 ≤ 1
6. x2 ≤ 2
7. x1, x2 ≥ 0
Solution
• 6x1 + 4x2 ≤ 24
• 6x1 + 3x2 ≤ 22.5
• x1 + x2 ≤ 5
• x1 + 2x2 ≤ 6
• -x1 + x2 ≤ 1
• x2 ≤ 2
x1 0 4
x2 6 0
x1 0 3.75
x2 7.5 0
x1 0 5
x2 5 0
x1 0 6
x2 3 0
x1 0 -1
x2 1 0
x1 0
x2 2
Constraint 1
0
1
2
3
4
5
6
7
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
Axis
Title
Axis Title
Y-Values 6x1 + 4x2 ≤ 24
(0,6) (4,0)
Constraint 2
0
1
2
3
4
5
6
7
8
0 0.5 1 1.5 2 2.5 3 3.5 4
Axis
Title
Axis Title
Y-Values
6x1 + 3x2 ≤ 22.5
(0,7.5) (3.75,0)
Constraint 3
0
1
2
3
4
5
6
0 1 2 3 4 5 6
Axis
Title
Axis Title
Y-Values
x1 + x2 ≤ 5
(0,5) (5,0)
Constraint 4
0
0.5
1
1.5
2
2.5
3
3.5
0 1 2 3 4 5 6 7
Axis
Title
Axis Title
Y-Values x1 + 2x2 ≤ 6
(0,3) (6,0)
Constraint 5
0
0.2
0.4
0.6
0.8
1
1.2
-1.2 -1 -0.8 -0.6 -0.4 -0.2 0
Axis
Title
Axis Title
Y-Values
-x1 + x2 ≤ 1
(0,1) (-1,0)
Constraint 6
0
0.5
1
1.5
2
2.5
0 0.5 1 1.5 2 2.5
Axis
Title
Axis Title
Y-Values
x2 ≤ 2
(0,2)
All Constraints
-1
0
1
2
3
4
5
6
7
8
-2 -1 0 1 2 3 4 5 6 7
Axis
Title
Axis Title
Y-Values
6x1 + 4x2 ≤ 24 (0,6) (4,0)
6x1 + 3x2 ≤ 22.5 (0,7.5) (3.75,0)
x1 + x2 ≤ 5 (0,5) (5,0)
x1 + 2x2 ≤ 6 (0,3) (6,0)
-x1 + x2 ≤ 1 (0,1) (-1,0)
x2 ≤ 2 (0,2)
Feasible region
• To determine the correct side, designate any point not
lying on the straight line as a reference point. If the chosen
reference point satisfies the inequality, then its side is
feasible; otherwise, the opposite side becomes the feasible
half-space.
• The origin (0, 0) is a convenient reference point and should
always be used so long as it does not lie on the line
representing the constraint.
1. 6x1 + 4x2 ≤ 24 6(0) + 4(0) ≤ 24
2. 6x1 + 3x2 ≤ 22.5 6(0) + 3(0) ≤ 22.5
3. x1 + x2 ≤ 5 (0) + (0) ≤ 5
4. x1 + 2x2 ≤ 6 (0) + 2(0) ≤ 6
5. -x1 + x2 ≤ 1 -(0) + (0) ≤ 1
6. x2 ≤ 2 (0) ≤ 2
Determination of the Feasible Solution Space
0
1
2
3
4
5
6
7
8
-2 -1 0 1 2 3 4 5 6 7
Axis
Title
Axis Title
Y-Values
Infeasible space
6x1 + 4x2 ≤ 24
6x1 + 3x2 ≤ 22.5
x1 + x2 ≤ 5
x1 + 2x2 ≤ 6
-x1 + x2 ≤ 1
x2 ≤ 2
The vertices of the Feasible Solution Space
• In practice, a typical LP may include hundreds or even
thousands of variables and constraints.
• Of what good then is the study of a two-variable LP? The
answer is that the graphical solution provides a key
result: The optimum solution of an LP, when it exists, is
always associated with a corner point of the solution
space, thus limiting the search for the optimum from an
infinite number of feasible points to a finite number of
corner points.
The vertices of the Feasible Solution Space
0
1
2
3
4
5
6
7
8
-2 -1 0 1 2 3 4 5 6 7
Axis
Title
Axis Title
Y-Values
A
B
C D
E
F
Determine the optimum point
• The values of x and y associated with the optimum point E are determined
by solving the equations associated with lines (1) and (4):
• 6x1 + 4x2 ≤ 24 *1 6x1 + 4x2 ≤ 24 6x1 + 4(1.5) ≤ 24
-
6x1 + 12x2 ≤ 36 6x1 + 6 ≤ 24
• x1 + 2x2 ≤ 6 *6
-8x2= -12 6x1 ≤ 24 - 6
x2 = -12/-8 6x1 ≤ 18
x2 = 1.5 x1 ≤ 18/6
x1 = 3
The vertices of the Feasible Solution Space
0
1
2
3
4
5
6
7
8
-2 -1 0 1 2 3 4 5 6 7
Axis
Title
Axis Title
Y-Values
A (0,0)
B (0,1)
C (1,2)
D (2,2)
E (3,1.5)
F (3.75,0)
A
B
C D
E
F
The maximum value of the objective function
(X1,X2) F(X,Y)=5x1 + 4x2 Max
(0,0) 5(0) + 4(0) 0
(0,1) 5(0) + 4(1) 4
(1,2) 5(1) + 4(2) 13
(2,2) 5(2) + 4(2) 18
(3,1.5) 5(3) + 4(1.5) 21
(3.75,0) 5(3.75) + 4(0) 18.75
The solution is X1 = 3 and X2 = 1.5 with z = 5*3 + 4*1.5 = 21.
(X1,X2) F(X,Y)=5x1 + 4x2 Min
(0,0) 5(0) + 4(0) 0
(0,1) 5(0) + 4(1) 4
(1,2) 5(1) + 4(2) 13
(2,2) 5(2) + 4(2) 18
(3,1.5) 5(3) + 4(1.5) 21
(3.75,0) 5(3.75) + 4(0) 18.75
introduction to Operation Research

More Related Content

Similar to introduction to Operation Research

LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPTLINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
JayaPrakash167124
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
EbsaAbdi
 
Mathematics For Management CHAPTER THREE PART I.PPT
Mathematics For Management  CHAPTER THREE PART I.PPTMathematics For Management  CHAPTER THREE PART I.PPT
Mathematics For Management CHAPTER THREE PART I.PPT
AYNETUTEREFE1
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabi
Manzoor Wani
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
um1222
 
LINEAR PROGRAMING
LINEAR PROGRAMINGLINEAR PROGRAMING
LINEAR PROGRAMING
shahzadebaujiti
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation LppSachin MK
 
Linear Programming Quiz Solution
Linear Programming Quiz SolutionLinear Programming Quiz Solution
Linear Programming Quiz Solution
Ed Dansereau
 
Linear programming.pdf
Linear programming.pdfLinear programming.pdf
Linear programming.pdf
Jihudumie.Com
 
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
Salah A. Skaik - MBA-PMP®
 
Linear programing problem
Linear programing problemLinear programing problem
Linear programing problem
Sazzad Hossain, ITP, MBA, CSCA™
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
Hakeem-Ur- Rehman
 
Bba 3274 qm week 8 linear programming
Bba 3274 qm week 8 linear programmingBba 3274 qm week 8 linear programming
Bba 3274 qm week 8 linear programming
Stephen Ong
 
Operations Research - Introduction
Operations Research - IntroductionOperations Research - Introduction
Operations Research - Introduction
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
optimization methods by using matlab.pptx
optimization methods by using matlab.pptxoptimization methods by using matlab.pptx
optimization methods by using matlab.pptx
abbas miry
 
Simultaneous Equations Practical Construction
Simultaneous Equations Practical ConstructionSimultaneous Equations Practical Construction
Simultaneous Equations Practical Construction
Daniel Ross
 
Operations Research Problem
Operations Research  ProblemOperations Research  Problem
Operations Research Problem
Taslima Mujawar
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
2013901097
 

Similar to introduction to Operation Research (20)

Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPTLINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
LINEAR PROGRAMING PROBLEM GRAPHICAL .PPT
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
Mathematics For Management CHAPTER THREE PART I.PPT
Mathematics For Management  CHAPTER THREE PART I.PPTMathematics For Management  CHAPTER THREE PART I.PPT
Mathematics For Management CHAPTER THREE PART I.PPT
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabi
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
 
LINEAR PROGRAMING
LINEAR PROGRAMINGLINEAR PROGRAMING
LINEAR PROGRAMING
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Linear Programming Quiz Solution
Linear Programming Quiz SolutionLinear Programming Quiz Solution
Linear Programming Quiz Solution
 
Linear programming.pdf
Linear programming.pdfLinear programming.pdf
Linear programming.pdf
 
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
 
Lpp 2.1202.ppts
Lpp 2.1202.pptsLpp 2.1202.ppts
Lpp 2.1202.ppts
 
Linear programing problem
Linear programing problemLinear programing problem
Linear programing problem
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Bba 3274 qm week 8 linear programming
Bba 3274 qm week 8 linear programmingBba 3274 qm week 8 linear programming
Bba 3274 qm week 8 linear programming
 
Operations Research - Introduction
Operations Research - IntroductionOperations Research - Introduction
Operations Research - Introduction
 
optimization methods by using matlab.pptx
optimization methods by using matlab.pptxoptimization methods by using matlab.pptx
optimization methods by using matlab.pptx
 
Simultaneous Equations Practical Construction
Simultaneous Equations Practical ConstructionSimultaneous Equations Practical Construction
Simultaneous Equations Practical Construction
 
Operations Research Problem
Operations Research  ProblemOperations Research  Problem
Operations Research Problem
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 

More from amanyosama12

Distance Learning Education with Cloud Computing
Distance Learning Education with Cloud ComputingDistance Learning Education with Cloud Computing
Distance Learning Education with Cloud Computing
amanyosama12
 
BigData-Challenges.pptx
BigData-Challenges.pptxBigData-Challenges.pptx
BigData-Challenges.pptx
amanyosama12
 
Cloud computing -SCM
Cloud computing -SCMCloud computing -SCM
Cloud computing -SCM
amanyosama12
 
cloud computing in health care.pptx
cloud computing in health care.pptxcloud computing in health care.pptx
cloud computing in health care.pptx
amanyosama12
 
blockchain
blockchainblockchain
blockchain
amanyosama12
 
Cloud Computing (1).pptx
Cloud Computing (1).pptxCloud Computing (1).pptx
Cloud Computing (1).pptx
amanyosama12
 
peration Research (1).pptx
peration Research (1).pptxperation Research (1).pptx
peration Research (1).pptx
amanyosama12
 
OR_Hamdy_taha.ppt
OR_Hamdy_taha.pptOR_Hamdy_taha.ppt
OR_Hamdy_taha.ppt
amanyosama12
 

More from amanyosama12 (8)

Distance Learning Education with Cloud Computing
Distance Learning Education with Cloud ComputingDistance Learning Education with Cloud Computing
Distance Learning Education with Cloud Computing
 
BigData-Challenges.pptx
BigData-Challenges.pptxBigData-Challenges.pptx
BigData-Challenges.pptx
 
Cloud computing -SCM
Cloud computing -SCMCloud computing -SCM
Cloud computing -SCM
 
cloud computing in health care.pptx
cloud computing in health care.pptxcloud computing in health care.pptx
cloud computing in health care.pptx
 
blockchain
blockchainblockchain
blockchain
 
Cloud Computing (1).pptx
Cloud Computing (1).pptxCloud Computing (1).pptx
Cloud Computing (1).pptx
 
peration Research (1).pptx
peration Research (1).pptxperation Research (1).pptx
peration Research (1).pptx
 
OR_Hamdy_taha.ppt
OR_Hamdy_taha.pptOR_Hamdy_taha.ppt
OR_Hamdy_taha.ppt
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 

introduction to Operation Research

  • 2. Content 1. What linear Programming 2. Three basic components of linear programming (LP) 3. Steps of Mathematical Linear Programming model 4. Two-Variable Model LP Model 4.1. Example 1 4.2. Example 2 5. Graphical LP Solution 5.1. Example 1 5.2 Example 2
  • 3. LINEAR PROGRAMMING (LP) • linear programming(LP): is a technique for optimization of a linear objective function, subject to linear equality and linear inequality constraints. • Linear programming determines the way to achieve the best outcome (such as maximum profit or lowest cost) in a given mathematical model and given some list of requirements represented as linear equations.
  • 4. Three basic components of linear programming (LP) • All OR models, LP included, consist of three basic components: 1. Decision variables that we seek to determine 2. Objective (goal) that we need to optimize (maximize or minimize). 3. Constraints that the solution must satisfy. The proper definition of the decision variables is an essential first step in the development of the model.
  • 5. Basics • In the case of linear programming (LP), the objective function and the constraints are all linear functions of the decision variables. • Linear function: for example: Y = X1 + X2 • Linear constraints are linear functions that are restricted to be “less than or equal to ” ” equal to” Or “greater than or equal to ” a constant.
  • 6. Steps of Mathematical Linear Programming Model • Step 1: Identify the decision variables of the problem • Step 2: Construct the objective function as an LP combination of the decision variables • Step 3: Identify the constraints of the problem such as resource limitation, interrelation between variables
  • 7. Example 1 • A factory produces two types of products A and B. • Each unit of A requires 50 minutes of processing time on machine one and 30 minutes on machine two. • Each unit of B requires 24 minutes on machine one and 33 minutes on machine two • Machine one is going to be available for 40 hours and machine two is available for 35 hours • The profit per unit of A is $25 and the profit per unit of B is $30. • Company policy is to determine the production quantity of each product in such a way as to maximize constrain Objective
  • 8. Solution • 1. Define the decision variables. – X1: the number of product A to be produced. – X2: the number of product B to be produced. – Clearly X1, X2 ≥ 0 • 2. Write the objective in terms of the decision variables. – The factory gets a profit of $25 for product A and $30 for product B. – the objective function is to maximize profit (P). • P= 25 X 1 + 30 X 2
  • 9. Solution • 3. Write the constraints in terms of the decision variables. – If we produce X1 units of A and X2 units of B, machine one should be used for 50 X1 + 24 X2 minutes – Since each unit of A requires 50 minutes of processing time on machine one and each unit of B requires 24 minutes of processing time on machine one – On the other hand, machine one is available for 40 hours or equivalently for 2400 minutes This imposes the following constraint: • 50 X1 + 24 X2 ≤ 2400.
  • 10. Solution • Similarly, machine two should be used for 30 X1 + 33 X2 minutes • since each unit of A requires 30 minutes of processing time on machine two and • each unit of B requires 33 minutes of processing time on machine two. • On the other hand, machine two is available for 35 hours or equivalently for 2100 minutes. • This imposes the following constraint: • 30X1 +33 X2 ≤ 2100.
  • 11. Solution • Maximize : P= 25 X 1 + 30 X 2 • Subject to : 50 X1 + 24 X2 ≤ 2400. 30X1 +33 X2 ≤ 2100. X1,X2 ≥ 0
  • 12. Example 2 Reddy Mikks problem: The goal of Reddy Mikks is to maximize (i.e., increase as much as possible) the total daily profit of both paints. The following table provides the basic data of the problem:
  • 13. Example 2 𝑥1 = Tons produced daily of exterior paint 𝑥2 = Tons produced daily of interior paint Profit from exterior paint = 5𝑥1(thousand dollars) Profit from interior paint = 4𝑥2 1thousand2 dollars • Step 1 : formulate objective function Letting 𝑧 represent the total daily profit (in thousands of dollars), the objective (or goal) of Reddy Mikks is expressed Maximize 𝑧 = 5𝑥1+ 4𝑥2
  • 14. • Step 2 : construct the constraints that restrict raw material usage and product demand. Thus, the raw material constraints are: 6𝑥1 + 4𝑥2 ≤ 24 (RM of M1) 𝑥1+ 2𝑥2 ≤ 6 (RM of M2) • first restriction on product demand stipulates that the daily production of interior paint cannot exceed that of exterior paint by more than 1 ton 𝑥2 − 𝑥1 ≤ 1 • second restriction limits the daily demand of interior paint to 2 tons 𝑥2 ≤ 2
  • 15. Solution • The complete Reddy Mikks model is Maximize 𝑧 = 5𝑥1+ 4𝑥2 Subject to 6𝑥1 + 4𝑥2 ≤ 24 (1) 𝑥1+ 2𝑥2 ≤ 6 (2) −𝑥1 + 𝑥2 ≤ 1 (3) 𝑥2 ≤ 2 (4) 𝑥1, 𝑥2≥ 0 (5)
  • 16. Linear Optimization Models Developing an Optimization Model 1. Define the decision variables. 2. Identify the objective (goal) that we need to optimize (maximize or minimize). 3. Identify all appropriate constraints that the solution must satisfy. 4. Write the objective function and constraints as mathematical expressions. Characteristics of Linear Optimization Models  The objective function and all constraints are linear functions of the decision variables  All variables are continuous (fractional values are allowed)
  • 17. Example 2 • Niki holds two part-time jobs, Job I and Job II. She never wants to work more than a total of 12 hours a week. She has determined that for every hour she works at Job I, she needs 2 hours of preparation time, and for every hour she works at Job II, she needs one hour of preparation time, and she cannot spend more than 16 hours for preparation. • If Niki makes $40 an hour at Job I, and $30 an hour at Job II, how many hours should she work per week at each job to maximize her income?
  • 18. Objective • Let the number of hours per week Niki will work at Job I = x • Let the number of hours per week Niki will work at Job II = y • Now we write the objective function. Since Niki gets paid $40 an hour at Job I, and $30 an hour at Job II, her total income I is given by the following equation. Z=40x+30y
  • 19. Constraints Our next task is to find the constraints. The second sentence in the problem states, "She never wants to work more than a total of 12 hours a week." This constraint translates mathematically to: x+y≤12
  • 20. Constraints The third sentence states, "For every hour she works at Job I, she needs 2 hours of preparation time, and for every hour she works at Job II, she needs one hour of preparation time, and she cannot spend more than 16 hours for preparation." The translation follows. 2x+y≤16 The fact that x and y can never be negative is represented by the following two constraints: x≥0, and y≥0.
  • 21. Objective and constraints  Z=40x+30y • x+y≤12 • 2x+y≤16 • x≥0;y≥0
  • 22. Solution  x+y≤12  2x+y≤16 x 0 12 y 12 0 x 0 8 y 16 0
  • 23. Constraint 1 0 2 4 6 8 10 12 14 0 2 4 6 8 10 12 14 Axis Title Axis Title Y-Values x+y≤12 (0,12) (12,0)
  • 24. Constraint 2 0 2 4 6 8 10 12 14 16 18 0 1 2 3 4 5 6 7 8 9 Axis Title Axis Title Y-Values 2x+y≤16 (0,16) (8,0)
  • 25. All Constraints 0 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 Axis Title Axis Title Y-Values x+y≤12 2x+y≤16
  • 26. Feasible region • To determine the correct side, designate any point not lying on the straight line as a reference point. If the chosen reference point satisfies the inequality, then its side is feasible; otherwise, the opposite side becomes the feasible half- space. • The origin (0, 0) is a convenient reference point and should always be used so long as it does not lie on the line representing the constraint. • x+y≤12 0+0 ≤12 • 2x+y≤16 2(0)+0 ≤16
  • 27. Determination of the Feasible Solution Space 0 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 Axis Title Axis Title Y-Values Infeasible space
  • 28. The vertices of the Feasible Solution Space • In practice, a typical LP may include hundreds or even thousands of variables and constraints. • Of what good then is the study of a two-variable LP? The answer is that the graphical solution provides a key result: The optimum solution of an LP, when it exists, is always associated with a corner point of the solution space, thus limiting the search for the optimum from an infinite number of feasible points to a finite number of corner points.
  • 29. 0 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 Axis Title Axis Title Y-Values The vertices of the Feasible Solution Space Infeasible space C D A B
  • 30. Determine the optimum point • The values of x and y associated with the optimum point C are determined by solving the equations associated with lines (1) and (2): • x+y≤12 *2 2x+2y=24 2x+2(8)=24 - 2x+16=24 • 2x+y≤16 *1 2x+y=16 2x=24-16 x=8/2 y=24-16 X=4 y=8
  • 31. The vertices of the Feasible Solution Space A (0,0) B (0,12) C (4,8) D (8,0) 0 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 Axis Title Axis Title Y-Values C D B A
  • 32. The maximum (or minimum) value of the objective function (X,Y) F(X,Y)=40x+30y Max (0,0) 40(0)+30(0) 0 (0,12) 40(0)+30(12) 360 (8,0) 40(8)+30(0) 320 (4,8) 40(4)+30(8) 400 (X,Y) F(X,Y)=40x+30y Min (0,0) 40(0)+30(0) 0 (0,12) 40(0)+30(12) 360 (8,0) 40(8)+30(0) 320 (4,8) 40(4)+30(8) 400 The solution is X = 4 and Y = 8 with z = 40*4+30*8 = 400. Therefore, we conclude that Niki should work 4 hours at Job I, and 8 hours at Job II.
  • 33. Example 2 Use graphical method to solve the following linear programming model.  Maximize z = 5x1 + 4x2 subject to 1. 6x1 + 4x2 ≤ 24 2. 6x1 + 3x2 ≤ 22.5 3. x1 + x2 ≤ 5 4. x1 + 2x2 ≤ 6 5. -x1 + x2 ≤ 1 6. x2 ≤ 2 7. x1, x2 ≥ 0
  • 34. Solution • 6x1 + 4x2 ≤ 24 • 6x1 + 3x2 ≤ 22.5 • x1 + x2 ≤ 5 • x1 + 2x2 ≤ 6 • -x1 + x2 ≤ 1 • x2 ≤ 2 x1 0 4 x2 6 0 x1 0 3.75 x2 7.5 0 x1 0 5 x2 5 0 x1 0 6 x2 3 0 x1 0 -1 x2 1 0 x1 0 x2 2
  • 35. Constraint 1 0 1 2 3 4 5 6 7 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 Axis Title Axis Title Y-Values 6x1 + 4x2 ≤ 24 (0,6) (4,0)
  • 36. Constraint 2 0 1 2 3 4 5 6 7 8 0 0.5 1 1.5 2 2.5 3 3.5 4 Axis Title Axis Title Y-Values 6x1 + 3x2 ≤ 22.5 (0,7.5) (3.75,0)
  • 37. Constraint 3 0 1 2 3 4 5 6 0 1 2 3 4 5 6 Axis Title Axis Title Y-Values x1 + x2 ≤ 5 (0,5) (5,0)
  • 38. Constraint 4 0 0.5 1 1.5 2 2.5 3 3.5 0 1 2 3 4 5 6 7 Axis Title Axis Title Y-Values x1 + 2x2 ≤ 6 (0,3) (6,0)
  • 39. Constraint 5 0 0.2 0.4 0.6 0.8 1 1.2 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 Axis Title Axis Title Y-Values -x1 + x2 ≤ 1 (0,1) (-1,0)
  • 40. Constraint 6 0 0.5 1 1.5 2 2.5 0 0.5 1 1.5 2 2.5 Axis Title Axis Title Y-Values x2 ≤ 2 (0,2)
  • 41. All Constraints -1 0 1 2 3 4 5 6 7 8 -2 -1 0 1 2 3 4 5 6 7 Axis Title Axis Title Y-Values 6x1 + 4x2 ≤ 24 (0,6) (4,0) 6x1 + 3x2 ≤ 22.5 (0,7.5) (3.75,0) x1 + x2 ≤ 5 (0,5) (5,0) x1 + 2x2 ≤ 6 (0,3) (6,0) -x1 + x2 ≤ 1 (0,1) (-1,0) x2 ≤ 2 (0,2)
  • 42. Feasible region • To determine the correct side, designate any point not lying on the straight line as a reference point. If the chosen reference point satisfies the inequality, then its side is feasible; otherwise, the opposite side becomes the feasible half-space. • The origin (0, 0) is a convenient reference point and should always be used so long as it does not lie on the line representing the constraint. 1. 6x1 + 4x2 ≤ 24 6(0) + 4(0) ≤ 24 2. 6x1 + 3x2 ≤ 22.5 6(0) + 3(0) ≤ 22.5 3. x1 + x2 ≤ 5 (0) + (0) ≤ 5 4. x1 + 2x2 ≤ 6 (0) + 2(0) ≤ 6 5. -x1 + x2 ≤ 1 -(0) + (0) ≤ 1 6. x2 ≤ 2 (0) ≤ 2
  • 43. Determination of the Feasible Solution Space 0 1 2 3 4 5 6 7 8 -2 -1 0 1 2 3 4 5 6 7 Axis Title Axis Title Y-Values Infeasible space 6x1 + 4x2 ≤ 24 6x1 + 3x2 ≤ 22.5 x1 + x2 ≤ 5 x1 + 2x2 ≤ 6 -x1 + x2 ≤ 1 x2 ≤ 2
  • 44. The vertices of the Feasible Solution Space • In practice, a typical LP may include hundreds or even thousands of variables and constraints. • Of what good then is the study of a two-variable LP? The answer is that the graphical solution provides a key result: The optimum solution of an LP, when it exists, is always associated with a corner point of the solution space, thus limiting the search for the optimum from an infinite number of feasible points to a finite number of corner points.
  • 45. The vertices of the Feasible Solution Space 0 1 2 3 4 5 6 7 8 -2 -1 0 1 2 3 4 5 6 7 Axis Title Axis Title Y-Values A B C D E F
  • 46. Determine the optimum point • The values of x and y associated with the optimum point E are determined by solving the equations associated with lines (1) and (4): • 6x1 + 4x2 ≤ 24 *1 6x1 + 4x2 ≤ 24 6x1 + 4(1.5) ≤ 24 - 6x1 + 12x2 ≤ 36 6x1 + 6 ≤ 24 • x1 + 2x2 ≤ 6 *6 -8x2= -12 6x1 ≤ 24 - 6 x2 = -12/-8 6x1 ≤ 18 x2 = 1.5 x1 ≤ 18/6 x1 = 3
  • 47. The vertices of the Feasible Solution Space 0 1 2 3 4 5 6 7 8 -2 -1 0 1 2 3 4 5 6 7 Axis Title Axis Title Y-Values A (0,0) B (0,1) C (1,2) D (2,2) E (3,1.5) F (3.75,0) A B C D E F
  • 48. The maximum value of the objective function (X1,X2) F(X,Y)=5x1 + 4x2 Max (0,0) 5(0) + 4(0) 0 (0,1) 5(0) + 4(1) 4 (1,2) 5(1) + 4(2) 13 (2,2) 5(2) + 4(2) 18 (3,1.5) 5(3) + 4(1.5) 21 (3.75,0) 5(3.75) + 4(0) 18.75 The solution is X1 = 3 and X2 = 1.5 with z = 5*3 + 4*1.5 = 21. (X1,X2) F(X,Y)=5x1 + 4x2 Min (0,0) 5(0) + 4(0) 0 (0,1) 5(0) + 4(1) 4 (1,2) 5(1) + 4(2) 13 (2,2) 5(2) + 4(2) 18 (3,1.5) 5(3) + 4(1.5) 21 (3.75,0) 5(3.75) + 4(0) 18.75