The Simplex Method. Standard Linear Programming Problem Standard Maximization Problem 1. All variables are nonnegative. 2. All the constraints (the conditions)

Slides:



Advertisements
Similar presentations
Summary of complementary slackness: 1. If x i ≠ 0, i= 1, 2, …, n the ith dual equation is tight. 2. If equation i of the primal is not tight, y i =0. 1.
Advertisements

Standard Minimization Problems with the Dual
EMGT 501 HW #1 Solutions Chapter 2 - SELF TEST 18
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Sections 4.1 and 4.2 The Simplex Method: Solving Maximization and Minimization Problems.
4.1 Slack Variables and the Simplex Method Maximizing Objective Functions Maximize the objective function subject to: What would this look like?
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
9.4 Linear programming and m x n Games: Simplex Method and the Dual Problem In this section, the process of solving 2 x 2 matrix games will be generalized.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
5.4 Simplex method: maximization with problem constraints of the form
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Minimization by Dr. Arshad zaheer
Chapter 4 Standard form – All variables are nonnegative – Pivot until all numbers in profit are positive Find pivot element and know how to pivot Standard.
1 Linear Programming Jose Rolim University of Geneva.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
Duality Dual problem Duality Theorem Complementary Slackness
EMGT 501 HW # (b) (c) 6.1-4, Due Day: Sep. 21.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
INTRODUCTORY MATHEMATICAL ANALYSIS For Business, Economics, and the Life and Social Sciences  2007 Pearson Education Asia Chapter 7 Linear Programming.
7(2) THE DUAL THEOREMS Primal ProblemDual Problem b is not assumed to be non-negative.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
5.6 Maximization and Minimization with Mixed Problem Constraints
D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
Chapter 4 The Simplex Method
1 Linear Programming Supplements (Optional). 2 Standard Form LP (a.k.a. First Primal Form) Strictly ≤ All x j 's are non-negative.
6  Graphing Systems of Linear Inequalities in Two Variables  Linear Programming Problems  Graphical Solutions of Linear Programming Problems  The Simplex.
Linear Programming - Standard Form
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
The Dual Problem: Minimization with problem constraints of the form ≥
Chapter 6 Linear Programming: The Simplex Method
Duality Theory 對偶理論.
Simplex Algorithm.Big M Method
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.
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.
Section 4-1: Introduction to Linear Systems. To understand and solve linear systems.
Department Of Industrial Engineering Duality And Sensitivity Analysis presented by: Taha Ben Omar Supervisor: Prof. Dr. Sahand Daneshvar.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
4  The Simplex Method: Standard Maximization Problems  The Simplex Method: Standard Minimization Problems  The Simplex Method: Nonstandard Problems.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
EASTERN MEDITERRANEAN UNIVERSITY Department of Industrial Engineering Non linear Optimization Spring Instructor: Prof.Dr.Sahand Daneshvar Submited.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.3 The student will be able to formulate the dual problem. The student.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ 5.5 Dual problem: minimization.
Linear Programming The Table Method. Objectives and goals Solve linear programming problems using the Table Method.
(i) Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M3L1 Linear Programming and Applications.
1.1 The row picture of a linear system with 3 variables.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
5.5 Dual problem: minimization with problem constraints of the form Associated with each minimization problem with constraints is a maximization problem.
Simplex Algorithm.Big M Method
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Chap 10. Sensitivity Analysis
Systems of Equations and Inequalities
Chap 9. General LP problems: Duality and Infeasibility
The Simplex Method: Standard Minimization Problems
The Simplex Method: Nonstandard Problems
Chapter 5. The Duality Theorem
9.3 Linear programming and 2 x 2 games : A geometric approach
Problem Constraints of the Form 
Presentation transcript:

The Simplex Method

Standard Linear Programming Problem Standard Maximization Problem 1. All variables are nonnegative. 2. All the constraints (the conditions) can be expressed as inequalities of the form: ax + by ≤ c, where c is a positive constant

Illustrating Example (1) Maximize the objective function: P(x,y) = 5x + 4y Subject to: x + y ≤ 20 2x + y ≤ 35 -3x + y ≤ 12 x ≥ 0 y ≥ 0

Solution

What about when all of the constraints (the inequalities) are of the type “≤ positive constant” But we want to minimize the objective function instead of maximizing.

Minimization with “≤” constraints Illustrating Example (2) Minimize the objective function: p(x,y) = -2x - 3y Subject to: 5x + 4y ≤ 32 x + 2y ≤ 10 x ≥ 0 y ≥ 0

Solution Let q(x) = - p(x) = - ( -2x -3y) = 2x + 3y To minimize p is to maximize q. Thus, we solve the following standard maximization linear programming problem: Maximize the objective function: q(x) = 2x + 3y Subject to: 5x + 4y ≤ 32 x + 2y ≤ 10 x ≥ 0 y ≥ 0

Rewriting the inequalities as equations, by introducing the “slack” variables u and v and the formula of the objective function as done in example (1). 5x + 4y ≤ 32, x + 2y ≤ 10 and q = 2x +3y Are transformed to: 5x + 4y + u = 32 x + 2y + v = x - 3y + q = 0

Standard Linear Programming Problem Standard Minimization Problem 1. All variables are nonnegative. 2. All the constraints (the conditions) can be expressed as inequalities of the form: ax + by ≥ c, where c is a positive constant

Solving The Standard Minimization Problem We use the fundamental theorem of Duality

Illustrating Example (3) Minimize the objective function: p(x,y) = 6x + 8y Subject to: 40x + 10y ≥ x + 15y ≥ x + 15y ≥ 1500 x ≥ 0 y ≥ 0

Minimize the objective function: p(x,y) = 6x + 8y Subject to: 40x + 10y ≥ 2400, 10x + 15y ≥ 2100, 5x + 15y ≥ 1500, x ≥ 0 and y ≥ 0 We will refer to the above given problem by the primal (original) problem First: We construct the following table, which we will refer to by the “primal” table: xyconstant Second: We construct a dual (twin) table from interchanging the rows and columns in the primal table: x' y' z'constant Third: We interpret the “dual table” as a standard maximization problem, which will refer to as the “dual problem” or “twin problem” of the “primal problem” or the “original problem” Miaximoze the objective function: q( x ', y ', z ' ) = 2400x' y' z' Subject to: 40x' + 10y' + 5z' ≤ 6, 10x' + 15y' + 15z' ≤ 8, x' ≥ 0 and y' ≥ 0, z' ≥ 0

Fourth: We apply the simplex method explained in example (1) to solve this problem Maximize the objective function: q(x,y,z) = 2400x' y' z' Subject to: 40x' + 10y' + 5z' ≤ 6, 10x' + 15y' + 15z' ≤ 8, x' ≥ 0 and y' ≥ 0, z' ≥ 0 4.a.Rewriting the inequalities and the formula of the objective function, with the slack variables being the same x and y (in that order) of the original (minimization) problem : 40x' + 10y' + 5z' + x = 6 10x' + 15y' + 15z' + y = x' y' z‘ + q = 0 4.b. We construct the simplex table for this problem

Fifth: We read the solution from the table

Illustrating Example (4) Minimize the objective function: p(x,y) = x + 2y Subject to: -2x + y ≥ 1 - x + y ≥ 2 x ≥ 0 y ≥ 0

Minimize the objective function: p(x,y) = x + 2y Subject to: -2x + y ≥ 1, - x + y ≥ 2 We will refer to the above given problem by the primal (original) problem First: We construct the following table, which we will refer to by the “primal” table: x yconstant Second: We construct a dual (twin) table from interchanging the rows and columns in the primal table: x' y'constant Third: We interpret the “dual table” as a standard maximization problem, which will refer to as the “dual problem” or “twin problem” of the “primal problem” or the “original problem” Maximize the objective function: q( x ', y ‘ ) = x' + 2y' Subject to: -2x' - y' ≤ 1, x' + y' ≤ 2, x' ≥ 0 and y' ≥ 0

Fourth: We apply the simplex method explained in example (1) to solve this problem Maximize the objective function: q( x ', y ‘ ) = x' + 2y' Subject to: - 2x' - y' ≤ 1, x' + y' ≤ 2, x' ≥ 0 and y' ≥ 0 4.a.Rewriting the inequalities and the formula of the objective function, with the slack variables being the same x and y (in that order) of the original (minimization) problem : - 2x' - y' ' + x = 1 x' + y' + y = 2 - x' - 2y' + q = 0 4.b. We construct the simplex table for this problem

Homework 1. Using the simplex method, maximize: p = x + (6/5)y subject to: 2x + y ≤ 180, x + 3y ≤ 300, x ≥ 0, y ≥ 0 Solution: p(48,84) = Minimize: p(x,y) = - 5x - 4y Subject to: x + y ≤ 20, 2x + y ≤ 35, -3x + y ≤ 12, x ≥ 0 y ≥ 0 Solution: p(15,5) = Using the dual theorem, minimize: p = 3x + 2y subject to: 8x + y ≥ 80, 8x + 5y ≥ 240, x + 5y ≥ 100, x ≥ 0, y ≥ 0 Solution: p(20,16) = 92 Maximize the objective function: