Minimization by Dr. Arshad zaheer

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

1. Set up the phase 1 dictionary for this problem and make the first pivot: Maximize X 1 + X X 3 + X 4 subject to -X 1 + X X 4 ≤ -3 -X 1 +
Chapter 5: Linear Programming: The Simplex Method
Lecture 3 Linear Programming: Tutorial Simplex Method
Operation Research Chapter 3 Simplex Method.
Linear Programming – Simplex Method
SIMPLEX METHOD FOR LP LP Model.
Transportation Problem
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Degeneracy and the Convergence of the Simplex Algorithm LI Xiao-lei.
Lecture 15 Special cases by Dr. Arshad Zaheer
Sections 4.1 and 4.2 The Simplex Method: Solving Maximization and Minimization Problems.
3.4 Artificial starting solution Page103
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
The Simplex Method: Standard Maximization Problems
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Operation Research Chapter 3 Simplex Method.
1 5.6 No-Standard Formulations  What do you do if your problem formulation doeshave the Standard Form?  What do you do if your problem formulation does.
Linear Programming (LP)
The Simplex Method.
5.6 Maximization and Minimization with Mixed Problem Constraints
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
LINEAR PROGRAMMING SIMPLEX METHOD.
1. The Simplex Method.
Chapter 6 Linear Programming: The Simplex Method
The Two-Phase Simplex Method LI Xiao-lei. Preview When a basic feasible solution is not readily available, the two-phase simplex method may be used as.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Simplex Algorithm.Big M Method
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
The Simplex Method Updated 15 February Main Steps of the Simplex Method 1.Put the problem in Row-Zero Form. 2.Construct the Simplex tableau. 3.Obtain.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
The big M method LI Xiao-lei.
Chapter 6 Linear Programming: The Simplex Method Section R Review.
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
Simplex Method Adapting to Other Forms.  Until now, we have dealt with the standard form of the Simplex method  What if the model has a non-standard.
Solving Linear Programming Problems: The Simplex Method
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
1 5.7 Initialization Revisited  :  Motivation: a solution for the transformed system is feasible for the original system if and only if all the. a solution.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Mechanical Engineering Department 1 سورة النحل (78)
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ 5.5 Dual problem: minimization.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
(iii) Simplex method - I D Nagesh Kumar, IISc Water Resources Planning and Management: M3L3 Linear Programming and Applications.
Artificial Variable Technique (The Big-M Method) ATISH KHADSE.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
Simplex Algorithm.Big M Method
Chap 10. Sensitivity Analysis
The Two-Phase Simplex Method
Chapter 4 Linear Programming: The Simplex Method
The Simplex Method: Standard Minimization Problems
The Simplex Method: Nonstandard Problems
Well, just how many basic
LINEAR PROGRAMMING Example 1 Maximise I = x + 0.8y
Presentation transcript:

Minimization by Dr. Arshad zaheer Simplex Method Minimization by Dr. Arshad zaheer

Penalty Method Big M Method

Illustration Minimize f=4x1+ x2 (Objective Function) Subject to: (Constraints) 3x1+ x2 = 3 4x1+ 3x2 ≥6 x1+ 2x2 ≤4 x1, x2 ≥ 0 (Non-Negativity Constraints)

Inequalities Constraints in Equation Form Let S1 and S2 be the surplus and slack variables for second and third constraints, respectively. Minimize f =4x1+ x2 (Objective Function) Subject to: (Constraints) 3x1+ x2 = 3 …………. (1) 4x1+ 3x2 – S1 = 6 …………. (2) x1+ 2x2 + S2 = 4 …………. (3) x1, x2, S1 , S2≥ 0

Initial solution Arbitrary values =# of Variables -- # of Equations 4 - 2 = 2 Let x1= 0, x2 = 0 Putting above values in objective function (f =5x1+ 4x2) and equation 1-3, f = 0 0 = 3 (Contradiction) S1 = -6 (Violation) S2 = 4 This situation cannot be called as initial feasible solution because it is not satisfying the conditions so to make it feasible we need to add Artificial variables in equations having contradictions and violation This is against the basic rules of Mathematics as the 0 cannot be equal to 3. This is against the non negativity constraint that s must be non zero.

Artificial Variables Let A1 and A2 be the artificial variables for first and second equation respectively. Minimize: f =4x1+ x2 (Objective Function) Subject to: (Constraints) 3x1+ x2 + A1= 3 …………. (4) 4x1+ 3x2 – S1 + A2= 6 …………. (5) x1+ 2x2 + S2 = 4 …………. (6) x1, x2, S1 , S2 , A1 + A2 ≥ 0

Solution of Artificial Variable Questions in which we introduce artificial variables can not solve straight away. We have to use following two methods to solve it Penalty Method or M-Method (Big M Method) Two Phase Method In this lecture we will solve this problem by Penalty Method

Solution by Penalty Method (Big M Method) Let M > >0 (M is very very large positive No.) f =4x1+ x2 + MA1 + MA2 ……. <7> we put penalty to artificial variables A1 Use Equation no 4 to find the value of A1 3x1+ x2 + A1= 3 A1 = 3 - 3x1- x2

A2 Use Equation no 5 to find the value of A2 4x1+ 3x2 – S1 + A2= 6 A2= 6 - 4x1- 3x2 + S1 Putting these values of A1 and A2 in eq. <7> we get f = 4x1+ x2 + M(3 - 3x1- x2)+ M(6 - 4x1- 3x2 + S1) =4x1+ x2 + 3M– 3Mx1- Mx2)+ 6M– 4Mx1- 3Mx2 + MS1 =(4 – 7M)x1+ (1 – 4M)X2 + MS1 + 9M = 9M +(– 7M + 4)x1+ (– 4M+1)X2 + MS1

Problem set Subject to: 3x1+ x2+ A1 = 3 …………. (4) f = (– 7M + 4)x1+ (– 4M+1)X2 + MS1+ 9M Subject to: 3x1+ x2+ A1 = 3 …………. (4) 4x1+ 3x2 – S1 + A2= 6 …………. (5) x1+ 2x2+ S24 …………. (6) x1, x2, S1 , S2 , A1 + A2 ≥ 0

Initial Feasible Solution Arbitrary values =# of Variables -- # of Equation 6 - 3 = 3 Let x1= 0, x2 = 0, S1 = 0 Putting above values in objective functions and equation 4-6, f = 9M A1 = 3 A2 = 6 S2 = 4 This solution is called initial feasible solution because it satisfies the Non negativity constraint and also do not have any contradiction or violation

Initial Tableau We select the entering and leaving variable, the entering variable will be with the highest positive objective function coefficient and leaving variable will be with minimum ratio This tableau is not satisfied because our criteria for minimization is non positivity of all the coefficients of objective function so we will iterate it further

Calculation [1 1/3 0 0 1/3 0 1] New Pivot Row = 1 X Old Pivot Row [1 1/3 0 0 1/3 0 1] New Pivot Row = 1 X Old Pivot Row Pivot No. New Pivot Row = 1 X [3 1 0 0 1 0 3] 3

Calculation New A2 Row = [4 3 -1 0 0 1 6] New S2 Row =[1 2 0 1 0 0 4] New Row = Old Row – Pivot Column Coefficient x New Pivot Row New A2 Row = [4 3 -1 0 0 1 6] - (4)[1 1/3 0 0 1/3 0 1] = [0 5/3 -1 0 -4/3 1 2] New S2 Row =[1 2 0 1 0 0 4] - (1) [1 1/3 0 0 1/3 0 1] = [0 5/3 0 1 -1/3 0 3] New f Row = [7M-4 4M-1 -M 0 0 0 9M] - (7M-4) [1 1/3 0 0 1/3 0 1] [0 5M+1/3 -M 0 -7M+4/3 0 2M+4]

Tableau 1 This tableau does not fulfill condition of optimality because our criteria for minimization is non positivity of all the coefficients of objective function so we will iterate it further Basis X1 X2 S1 S2 A1 A2 RHS Ratio 1 1/3 1÷1/3=3 5/3 -1 -4/3 2 2÷5/3= 1.2(min) -1/3 3 3÷5/3= 1.8 f 5M+1/3 -M -7M+4/3 2M+4

Calculation New Pivot Row = 1 X Old Pivot Row Pivot No. [0 5/3 -1 0 -4/3 1 2] 5/3 3 x [0 5/3 -1 0 -4/3 1 2] 5 = [0 1 -3/5 0 -4/5 3/5 6/5] =

Calculation New X1 Row = [1 1/3 0 0 1/3 0 1] New Row = Old Row – Pivot Column Coefficient x New Pivot Row New X1 Row = [1 1/3 0 0 1/3 0 1] - (1/3) [0 1 -3/5 0 -4/5 3/5 6/5] = [1 0 1/5 0 3/5 -1/5 3/5] New S2 Row =[0 5/3 0 1 -1/3 0 3] -(5/3) [0 1 -3/5 0 -4/5 3/5 6/5] = [0 0 1 1 1 -1 1] New f Row = [0 5M+1/3 -M 0 -7M+4/3 0 2M+4] -(5M+1/3) [0 1 -3/5 0 -4/5 3/5 6/5] 1/5 -15M+24/15 -5M-1/5 18

Tableau 2 Basis X1 X2 S1 S2 A1 A2 RHS Ratio 1 1/5 3/5 -1/5 3/5÷1/5=3 -3/5 -4/5 6/5 -1 1/1=1 (min) f -15M+24 /15 -5M-1/5 18/5 This tableau is not satisfied because our criteria for minimization is non positivity of all the coefficients of objective function so we will iterate it further

Calculation New Pivot Row = 1 X Old Pivot Row Pivot No. [0 0 1 1 1 -1 1] [0 0 1 1 1 -1 1] =

Calculation New X1 Row = [1 0 1/5 0 3/5 -1/5 3/5] New Row = Old Row – Pivot Column Coefficient x New Pivot Row New X1 Row = [1 0 1/5 0 3/5 -1/5 3/5] -(1/5) [0 0 1 1 1 -1 1] = [1 0 0 -1/5 2/5 0 2/5] New X2 Row =[0 1 -3/5 0 -4/5 3/5 6/5] -(3/5) [0 0 1 1 1 -1 1] = [0 1 0 3/5 -1/5 0 9/5] New f Row = -(1/5) [0 0 1 1 1 -1 1] [0 0 0 -1/5 -15M+21/15 -M 17/5] [0 1 -15M+24 -5M-1 18 5 15

Tableau 3 This tableau is SATISFIED because our criteria for minimization is non positivity of all the coefficients of objective function which is attained Basis X1 X2 S1 S2 A1 A2 RHS Ratio 1 -1/5 2/5 3/5 9/5 -1 f -15M+21 /15 -M 17/5

Optimal Solution X1 = 2/5 X2 = 9/5 f = 17/5 Cross checking of maximization point put values of X1 and X2 from above solution into original objective function f=4x1+ x2 =4 (2/5) + (9/5) =17/5

Thank You