SlideShare a Scribd company logo
1
Optimization
Linear Programming and
Simplex Method
2
Optimization Methods
One-Dimensional Unconstrained Optimization
Golden-Section Search
Quadratic Interpolation
Newton's Method
Multi-Dimensional Unconstrained Optimization
Non-gradient or direct methods
Gradient methods
Linear Programming (Constrained)
Graphical Solution
Simplex Method
3
• Basic linear programming (LP) problem consists
of two major parts:
– The objective function
– A set of constraints
• For maximization problem, the objective function
is generally expressed as
n
n x
c
x
c
x
c 


 
2
2
1
1
Z
Maximize
cj= payoff of each unit of the jth activity that is undertaken
xj= magnitude of the jth activity
Z= total payoff due to the total number of activities
Standard Form Linear Programming Problem
4
• The constraints can be represented generally as
where
aij= amount of the ith resource that is consumed for each
unit of the jth activity
bi = amount of the ith resource that is available
• The general second type of constraints specifies
that all activities must have a positive value. i.e,
i
n
in
i
i b
x
a
x
a
x
a 


 
2
2
1
1
Standard Form Linear Programming Problem
0

i
x
5
Problem
Products
Resource Regular Premium Resource
Availability
Raw gas 7 m3/tonne 11 m3/tonne 77 m3/week
Production
time
10 hr/tonne 8 hr/tonne 80 hr/week
Storage 9 tonne 6 tonne
Profit $150/tonne $175/tonne
How many tonnes of regular and premium gas to
produce in order to maximize weekly profit?
6
Developing LP Formulation
Let x1 = 1 tonne of regular gas
x2 = 1 tonne of premium gas
Maximize Z = 150x1 + 175x2
subject to
7x1 + 11x2 ≤ 77 (material constraint) (1)
10x1 + 8x2 ≤ 80 (time constraint) (2)
x1 ≤ 9 (regular gas storage) (3)
x2 ≤ 6 (premium gas storage) (4)
x1, x2 ≥ 0 (positivity) (5, 6)
7
Graphical Solution
Feasible solution space
(the shaded area) contains
all points that obey the
constraints or points that
represent the feasible
solutions.
Points located outside of
this area are known as
infeasible solution.
8
Graphical Solution
We can adjust the line
representing the objective
function Z = 150x2 + 175x2
to locate the optimum
point.
One of the corner points
(points where two or more
lines intersect) will be an
optimum point.
– Corner points can be
feasible or infeasible
9
Graphical Solution
Some insights:
• Increasing storages (
constraints (3) and (4))
does not improve profit.
• Raising either materials or
production time can
improve profit.
10
Possible outcomes that can generally be
obtained in a LP problem
1. Unique solution. The maximum objective
function intersects a single point.
2. Alternate solutions. Problem has an infinite
number of optima corresponding to a line
segment.
3. No feasible solution.
4. Unbounded problems. Problem is under-
constrained and therefore open-ended.
11
(a)Unique solution – represented by a corner point
Alternate solutions – represented by points on one
of the constraint line
(b) No feasible solution
(c) Unbounded problems
12
Key properties of LP that drives the design of
Simplex Method (An algorithm for solving LP
problems)
1. The optimum point is always at a feasible corner
point. (Why?)
– We only need to check the corner points.
2. If a corner point feasible solution has an objective
function value that is better that or equal to all
adjacent corner point feasible solutions, then it is
optimal.
– We don't necessarily need to search all corner
points.
13
Key properties of LP that drives the design
of Simplex Method
3. There are finite number of corner point feasible
solutions.
–Any method that checks only corner points will
terminate eventually.
14
Basic idea behind the Simplex method
1. Starting at a feasible corner point solution.
2. Repeatedly move to a better adjacent corner point
feasible solution until an optimum point is found.
15
Finding Corner Points Algebraically
• How to find corner points algebraically?
• How to locate adjacent corner points?
• How to decide which adjacent point to
move to next?
• Simplex method offers a neat solution
(involves the use of slack variables) to
address these questions. 
16
First, constraint equations are reformulated as
equalities by introducing slack variables – variables
that measures how much of a constrained resource is
available.
0
,
,
,
,
,
6
9
80
8
10
77
11
7
to
subject
175
150
Maximize
4
3
2
1
2
1
4
2
3
1
2
2
1
1
2
1
2
1














S
S
S
S
x
x
S
x
S
x
S
x
x
S
x
x
x
x
Z
0
,
6
9
80
8
10
77
11
7
to
subject
175
150
Maximize
2
1
2
1
2
1
2
1
2
1










x
x
x
x
x
x
x
x
x
x
Z
Slack variables
Si > 0 means the corresponding resource is not fully consumed.
Si < 0 means the corresponding resource is over-consumed.
17
• Adding slack variables results in an augmented
system of linear equations which is under specified
(has more unknowns than equations).
– 6 unknowns (= 2 original variables + 4 slack variables)
– 4 equations
• In general, if a LP problem has n variables and m
constraints, the resulting augmented system will
have a total of (n original variables + m slack
variables) and m equations.
Augmented System
Continue …
18
• To solve an augmented system with
– 6 unknowns (= 2 original variables + 4 slack variables)
– 4 equations
We need to set 2 of the variables constants before
we can solve the system of equations.
e.g., Setting x1 = 0, x2 = 0 yields
Augmented System
Continue …
6
9
80
77
4
3
2
1




S
S
S
S
6
9
80
8
10
77
11
7
4
2
3
1
2
2
1
1
2
1











S
x
S
x
S
x
x
S
x
x
19
Solving the resulting system yields x1=0, x2=0, S1=77, S2=80,
S3=9, S4=6, which represent one of the augmented solutions –
values of all (original + slack) variables are given.
For this example, the values tell us that if we don't produce any regular (x1)
or premium (x2) gas, we would have the following amount of unconsumed
resources:
– 77 m3 of raw gas,
– 80 production hours
– 9 tonne of regular gas storage
– 6 tonne of premium gas storage
6
9
80
77
4
3
2
1




S
S
S
S
Augmented System
20
• An augmented solution which corresponds to a
corner point is also known as a basic solution.
– The augmented solution x1=0, x2=0, S1=77, S2=80, S3=9,
S4=6 is a basic solution. It corresponds to corner point A.
– In addition, it is a basic feasible solution because all
variables ≥ 0.
• So far, you know how to find an augmented
solution.
– How should we set the variables so that the augmented
solution is a basic solution?
Augmented System
Continue …
21
• The equations (or constraints) have a one-to-one
relationship with the slack variables.
– For example, S1 relates to the 1st equation, S4 relates to
the 4th equation.
• If a point is on the line 7x1 + 11x2 = 77 (line labeled
"1"), what's the value of S1?
• If a point is on the line 10x1 + 8x2 = 80 (line labeled
"2"), which variable has the value zero?
• At the corner point D, which variables have the
value zero?
Characteristics of Slack Variables
Show Graph & Equations
22
• Setting two variables to zero has the effect of
"selecting two lines", and solving the resulting
system means finding the intersecting point (a
corner point) of the selected lines.
Characteristics of Slack Variables
6
9
80
8
10
77
11
7
4
2
3
1
2
1
2
1








S
x
S
x
x
x
x
x
The value of x1 and x2 of this system is the coordinate of
the corner point C (the point where line "1" and line "2"
intersect.)
For example, let S1=0, S2=0. Then the system becomes
23
Finding Corner Points Algebraically
We now know how to find the corner points.
Next
• How to find an adjacent corner point?
• How to decide which adjacent corner point
to move to?
24
Basic and Non-Basic Variables
Corner
Point
Non-Basic
Variables
Basic
Variables
Some of the
Adjacent
Corner Points
A x1, x2 S1, S2, S3, S4 B, E
B x2, S2 x1, S1, S3, S4 A, C
C S1, S2 x1, x2, S3, S4 B, D
D S1, S4 x1, x2, S2, S3 C, E
E x1, S4 x2, S1, S2, S3 A, D
F x1, S2 x2, S1, S3, S4
Variables in which their values are set to zero are
called non-basic variables.
Remember: Non-basic, variable set to zero,
corresponding constraint is active
Do you see a
pattern between
any pair of
adjacent corner
points?
25
Basic and Non-Basic Variables
• If two points are adjacent corner points, then
– Their basic sets are identical except for one member.
– Their non-basic sets are identical except for one
member.
• The reverse of the above statement is not always
true. (e.g., F and A)
• Questions:
– To find an adjacent corner point, can we just switch one
variable between the basic and non-basic sets?
– How should we decide which corner point to move to
next?
26
Basic and Non-Basic Variables
How do we make sure the following
conditions are satisfied?
– The corner points are adjacent.
– The corner points are feasible.
– The new corner point gives better value
for the objective function than the current
corner point.
27
Which variables to switch?
All three conditions from the previous slide can be
satisfied if the following steps are taken:
• Selecting an entering basic variable – a non-
basic variable that will increase the objective
function value the most if allowed to take on a
positive value. Move this variable from the non-
basic set to the basic set.
• Finding the leaving basic variable – a basic
variable that is forced to a value zero first after
allowing the entering basic variable to increase.
Move the variable that is forced to zero from the
basic set to the non-basic set.
28
Which variables to switch?
Suppose we are currently at point A.
Basic set = { S1, S2, S3, S4 }, non-basic set = { x1, x2 }
Which variable should be the entering basic variable?
Which variable should be the leaving basic variable?
0
,
,
,
,
,
6
9
80
8
10
77
11
7
to
subject
175
150
Maximize
4
3
2
1
2
1
4
2
3
1
2
2
1
1
2
1
2
1














S
S
S
S
x
x
S
x
S
x
S
x
x
S
x
x
x
x
Z
29
Which variables to switch?
x2 has a larger coefficient in the objective function, so
we should make x2 the entering basic variable. (x1
remains a non-basic variable and has the value zero)
If we keep increasing x2, other basic variables will
decrease. Which basic variable will become zero
first?
0
,
,
,
,
,
6
9
80
8
77
11
to
subject
175
150
Maximize
4
3
2
1
2
1
4
2
3
2
2
1
2
2
1











S
S
S
S
x
x
S
x
S
S
x
S
x
x
x
Z
30
Which variables to switch?
If we take the ratio of the RHS value to the coefficient
of the entering basic variable (x2), the smallest non-
negative ratio can tell us which basic variable will
reach zero first if we keep increasing the value of x2.
So S4 should be made the leaving basic variable.
0
,
,
,
,
,
)
6
1
/
6
(
6
N/A
9
)
10
8
/
80
(
80
8
)
7
11
/
77
(
77
11
to
subject
175
150
Maximize
4
3
2
1
2
1
4
2
3
2
2
1
2
2
1














S
S
S
S
x
x
S
x
S
S
x
S
x
x
x
Z
Show Graph & Equations
Minimum
ratio test
31
Which variables to switch?
So setting x1=0, S4=0 and solve the system of
equations would yield an augmented solution
correspond to point E.
Solving the system of equations at every corner point
is not very efficient. Simplex method offers an
efficient way to compute the value of each variable
by updating the equations incrementally.
32
1
2
4
3
5
6
E
A B
C
D
0
,
,
,
,
,
6
9
80
8
10
77
11
7
to
subject
175
150
Maximize
4
3
2
1
2
1
4
2
3
1
2
2
1
1
2
1
2
1














S
S
S
S
x
x
S
x
S
x
S
x
x
S
x
x
x
x
Z
F

More Related Content

Similar to 5163147.ppt

Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
SukhpalRamanand
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
asthashukla33
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
rashi9
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
Mayurkumarpatil1
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
Muhammad Kashif
 
A machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-opticsA machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-optics
JCMwave
 
A machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-optics A machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-optics
JCMwave
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
Tsegay Berhe
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
MayurjyotiNeog
 
simplex method
simplex methodsimplex method
simplex method
Dronak Sahu
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
Ratul Alahy
 
super vector machines algorithms using deep
super vector machines algorithms using deepsuper vector machines algorithms using deep
super vector machines algorithms using deep
KNaveenKumarECE
 
Constraint satisfaction problems (csp)
Constraint satisfaction problems (csp)   Constraint satisfaction problems (csp)
Constraint satisfaction problems (csp)
Archana432045
 
Simplex method
Simplex methodSimplex method
Simplex method
Shiwani Gupta
 
simplex method
simplex methodsimplex method
simplex method
Karishma Chaudhary
 
Simple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepSimple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-Step
Dan Wellisch
 
Unit 4
Unit 4Unit 4
Unit 4
guna287176
 

Similar to 5163147.ppt (20)

Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
A machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-opticsA machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-optics
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
A machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-optics A machine learning method for efficient design optimization in nano-optics
A machine learning method for efficient design optimization in nano-optics
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
 
simplex method
simplex methodsimplex method
simplex method
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
 
super vector machines algorithms using deep
super vector machines algorithms using deepsuper vector machines algorithms using deep
super vector machines algorithms using deep
 
Constraint satisfaction problems (csp)
Constraint satisfaction problems (csp)   Constraint satisfaction problems (csp)
Constraint satisfaction problems (csp)
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplex method
Simplex methodSimplex method
Simplex method
 
simplex method
simplex methodsimplex method
simplex method
 
Simple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepSimple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-Step
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4
Unit 4Unit 4
Unit 4
 

More from Mayurkumarpatil1

cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
Mayurkumarpatil1
 
Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...
Mayurkumarpatil1
 
ChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significantChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significant
Mayurkumarpatil1
 
pressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdfpressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdf
Mayurkumarpatil1
 
320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt
Mayurkumarpatil1
 
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
Mayurkumarpatil1
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
Mayurkumarpatil1
 
Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptx
Mayurkumarpatil1
 
Linear Programming-1.ppt
Linear Programming-1.pptLinear Programming-1.ppt
Linear Programming-1.ppt
Mayurkumarpatil1
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
Mayurkumarpatil1
 
Heat integration of_crude_organic_distil
Heat integration of_crude_organic_distilHeat integration of_crude_organic_distil
Heat integration of_crude_organic_distil
Mayurkumarpatil1
 
259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3
Mayurkumarpatil1
 

More from Mayurkumarpatil1 (12)

cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
 
Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...
 
ChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significantChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significant
 
pressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdfpressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdf
 
320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt
 
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
 
Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptx
 
Linear Programming-1.ppt
Linear Programming-1.pptLinear Programming-1.ppt
Linear Programming-1.ppt
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
Heat integration of_crude_organic_distil
Heat integration of_crude_organic_distilHeat integration of_crude_organic_distil
Heat integration of_crude_organic_distil
 
259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3
 

Recently uploaded

Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Lviv Startup Club
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
Lital Barkan
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
dylandmeas
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Navpack & Print
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
awaisafdar
 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
ofm712785
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
Nicola Wreford-Howard
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
agatadrynko
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
techboxsqauremedia
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
uae taxgpt
 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
tjcomstrang
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
zoyaansari11365
 
Sustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & EconomySustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & Economy
Operational Excellence Consulting
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
taqyed
 
Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143
Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143
Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143
bosssp10
 
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
BBPMedia1
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
dylandmeas
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
 

Recently uploaded (20)

Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
 
Sustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & EconomySustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & Economy
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
 
Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143
Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143
Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta 143
 
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
 

5163147.ppt

  • 2. 2 Optimization Methods One-Dimensional Unconstrained Optimization Golden-Section Search Quadratic Interpolation Newton's Method Multi-Dimensional Unconstrained Optimization Non-gradient or direct methods Gradient methods Linear Programming (Constrained) Graphical Solution Simplex Method
  • 3. 3 • Basic linear programming (LP) problem consists of two major parts: – The objective function – A set of constraints • For maximization problem, the objective function is generally expressed as n n x c x c x c      2 2 1 1 Z Maximize cj= payoff of each unit of the jth activity that is undertaken xj= magnitude of the jth activity Z= total payoff due to the total number of activities Standard Form Linear Programming Problem
  • 4. 4 • The constraints can be represented generally as where aij= amount of the ith resource that is consumed for each unit of the jth activity bi = amount of the ith resource that is available • The general second type of constraints specifies that all activities must have a positive value. i.e, i n in i i b x a x a x a      2 2 1 1 Standard Form Linear Programming Problem 0  i x
  • 5. 5 Problem Products Resource Regular Premium Resource Availability Raw gas 7 m3/tonne 11 m3/tonne 77 m3/week Production time 10 hr/tonne 8 hr/tonne 80 hr/week Storage 9 tonne 6 tonne Profit $150/tonne $175/tonne How many tonnes of regular and premium gas to produce in order to maximize weekly profit?
  • 6. 6 Developing LP Formulation Let x1 = 1 tonne of regular gas x2 = 1 tonne of premium gas Maximize Z = 150x1 + 175x2 subject to 7x1 + 11x2 ≤ 77 (material constraint) (1) 10x1 + 8x2 ≤ 80 (time constraint) (2) x1 ≤ 9 (regular gas storage) (3) x2 ≤ 6 (premium gas storage) (4) x1, x2 ≥ 0 (positivity) (5, 6)
  • 7. 7 Graphical Solution Feasible solution space (the shaded area) contains all points that obey the constraints or points that represent the feasible solutions. Points located outside of this area are known as infeasible solution.
  • 8. 8 Graphical Solution We can adjust the line representing the objective function Z = 150x2 + 175x2 to locate the optimum point. One of the corner points (points where two or more lines intersect) will be an optimum point. – Corner points can be feasible or infeasible
  • 9. 9 Graphical Solution Some insights: • Increasing storages ( constraints (3) and (4)) does not improve profit. • Raising either materials or production time can improve profit.
  • 10. 10 Possible outcomes that can generally be obtained in a LP problem 1. Unique solution. The maximum objective function intersects a single point. 2. Alternate solutions. Problem has an infinite number of optima corresponding to a line segment. 3. No feasible solution. 4. Unbounded problems. Problem is under- constrained and therefore open-ended.
  • 11. 11 (a)Unique solution – represented by a corner point Alternate solutions – represented by points on one of the constraint line (b) No feasible solution (c) Unbounded problems
  • 12. 12 Key properties of LP that drives the design of Simplex Method (An algorithm for solving LP problems) 1. The optimum point is always at a feasible corner point. (Why?) – We only need to check the corner points. 2. If a corner point feasible solution has an objective function value that is better that or equal to all adjacent corner point feasible solutions, then it is optimal. – We don't necessarily need to search all corner points.
  • 13. 13 Key properties of LP that drives the design of Simplex Method 3. There are finite number of corner point feasible solutions. –Any method that checks only corner points will terminate eventually.
  • 14. 14 Basic idea behind the Simplex method 1. Starting at a feasible corner point solution. 2. Repeatedly move to a better adjacent corner point feasible solution until an optimum point is found.
  • 15. 15 Finding Corner Points Algebraically • How to find corner points algebraically? • How to locate adjacent corner points? • How to decide which adjacent point to move to next? • Simplex method offers a neat solution (involves the use of slack variables) to address these questions. 
  • 16. 16 First, constraint equations are reformulated as equalities by introducing slack variables – variables that measures how much of a constrained resource is available. 0 , , , , , 6 9 80 8 10 77 11 7 to subject 175 150 Maximize 4 3 2 1 2 1 4 2 3 1 2 2 1 1 2 1 2 1               S S S S x x S x S x S x x S x x x x Z 0 , 6 9 80 8 10 77 11 7 to subject 175 150 Maximize 2 1 2 1 2 1 2 1 2 1           x x x x x x x x x x Z Slack variables Si > 0 means the corresponding resource is not fully consumed. Si < 0 means the corresponding resource is over-consumed.
  • 17. 17 • Adding slack variables results in an augmented system of linear equations which is under specified (has more unknowns than equations). – 6 unknowns (= 2 original variables + 4 slack variables) – 4 equations • In general, if a LP problem has n variables and m constraints, the resulting augmented system will have a total of (n original variables + m slack variables) and m equations. Augmented System Continue …
  • 18. 18 • To solve an augmented system with – 6 unknowns (= 2 original variables + 4 slack variables) – 4 equations We need to set 2 of the variables constants before we can solve the system of equations. e.g., Setting x1 = 0, x2 = 0 yields Augmented System Continue … 6 9 80 77 4 3 2 1     S S S S 6 9 80 8 10 77 11 7 4 2 3 1 2 2 1 1 2 1            S x S x S x x S x x
  • 19. 19 Solving the resulting system yields x1=0, x2=0, S1=77, S2=80, S3=9, S4=6, which represent one of the augmented solutions – values of all (original + slack) variables are given. For this example, the values tell us that if we don't produce any regular (x1) or premium (x2) gas, we would have the following amount of unconsumed resources: – 77 m3 of raw gas, – 80 production hours – 9 tonne of regular gas storage – 6 tonne of premium gas storage 6 9 80 77 4 3 2 1     S S S S Augmented System
  • 20. 20 • An augmented solution which corresponds to a corner point is also known as a basic solution. – The augmented solution x1=0, x2=0, S1=77, S2=80, S3=9, S4=6 is a basic solution. It corresponds to corner point A. – In addition, it is a basic feasible solution because all variables ≥ 0. • So far, you know how to find an augmented solution. – How should we set the variables so that the augmented solution is a basic solution? Augmented System Continue …
  • 21. 21 • The equations (or constraints) have a one-to-one relationship with the slack variables. – For example, S1 relates to the 1st equation, S4 relates to the 4th equation. • If a point is on the line 7x1 + 11x2 = 77 (line labeled "1"), what's the value of S1? • If a point is on the line 10x1 + 8x2 = 80 (line labeled "2"), which variable has the value zero? • At the corner point D, which variables have the value zero? Characteristics of Slack Variables Show Graph & Equations
  • 22. 22 • Setting two variables to zero has the effect of "selecting two lines", and solving the resulting system means finding the intersecting point (a corner point) of the selected lines. Characteristics of Slack Variables 6 9 80 8 10 77 11 7 4 2 3 1 2 1 2 1         S x S x x x x x The value of x1 and x2 of this system is the coordinate of the corner point C (the point where line "1" and line "2" intersect.) For example, let S1=0, S2=0. Then the system becomes
  • 23. 23 Finding Corner Points Algebraically We now know how to find the corner points. Next • How to find an adjacent corner point? • How to decide which adjacent corner point to move to?
  • 24. 24 Basic and Non-Basic Variables Corner Point Non-Basic Variables Basic Variables Some of the Adjacent Corner Points A x1, x2 S1, S2, S3, S4 B, E B x2, S2 x1, S1, S3, S4 A, C C S1, S2 x1, x2, S3, S4 B, D D S1, S4 x1, x2, S2, S3 C, E E x1, S4 x2, S1, S2, S3 A, D F x1, S2 x2, S1, S3, S4 Variables in which their values are set to zero are called non-basic variables. Remember: Non-basic, variable set to zero, corresponding constraint is active Do you see a pattern between any pair of adjacent corner points?
  • 25. 25 Basic and Non-Basic Variables • If two points are adjacent corner points, then – Their basic sets are identical except for one member. – Their non-basic sets are identical except for one member. • The reverse of the above statement is not always true. (e.g., F and A) • Questions: – To find an adjacent corner point, can we just switch one variable between the basic and non-basic sets? – How should we decide which corner point to move to next?
  • 26. 26 Basic and Non-Basic Variables How do we make sure the following conditions are satisfied? – The corner points are adjacent. – The corner points are feasible. – The new corner point gives better value for the objective function than the current corner point.
  • 27. 27 Which variables to switch? All three conditions from the previous slide can be satisfied if the following steps are taken: • Selecting an entering basic variable – a non- basic variable that will increase the objective function value the most if allowed to take on a positive value. Move this variable from the non- basic set to the basic set. • Finding the leaving basic variable – a basic variable that is forced to a value zero first after allowing the entering basic variable to increase. Move the variable that is forced to zero from the basic set to the non-basic set.
  • 28. 28 Which variables to switch? Suppose we are currently at point A. Basic set = { S1, S2, S3, S4 }, non-basic set = { x1, x2 } Which variable should be the entering basic variable? Which variable should be the leaving basic variable? 0 , , , , , 6 9 80 8 10 77 11 7 to subject 175 150 Maximize 4 3 2 1 2 1 4 2 3 1 2 2 1 1 2 1 2 1               S S S S x x S x S x S x x S x x x x Z
  • 29. 29 Which variables to switch? x2 has a larger coefficient in the objective function, so we should make x2 the entering basic variable. (x1 remains a non-basic variable and has the value zero) If we keep increasing x2, other basic variables will decrease. Which basic variable will become zero first? 0 , , , , , 6 9 80 8 77 11 to subject 175 150 Maximize 4 3 2 1 2 1 4 2 3 2 2 1 2 2 1            S S S S x x S x S S x S x x x Z
  • 30. 30 Which variables to switch? If we take the ratio of the RHS value to the coefficient of the entering basic variable (x2), the smallest non- negative ratio can tell us which basic variable will reach zero first if we keep increasing the value of x2. So S4 should be made the leaving basic variable. 0 , , , , , ) 6 1 / 6 ( 6 N/A 9 ) 10 8 / 80 ( 80 8 ) 7 11 / 77 ( 77 11 to subject 175 150 Maximize 4 3 2 1 2 1 4 2 3 2 2 1 2 2 1               S S S S x x S x S S x S x x x Z Show Graph & Equations Minimum ratio test
  • 31. 31 Which variables to switch? So setting x1=0, S4=0 and solve the system of equations would yield an augmented solution correspond to point E. Solving the system of equations at every corner point is not very efficient. Simplex method offers an efficient way to compute the value of each variable by updating the equations incrementally.