Linear Programming. Simplex method - II

Similar documents
Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

Simplex method summary

Chapter 2 Solving Linear Programs

Special Situations in the Simplex Algorithm

Solving Linear Programs

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

Standard Form of a Linear Programming Problem

Duality in Linear Programming

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS

Practical Guide to the Simplex Method of Linear Programming

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

4.6 Linear Programming duality

9.4 THE SIMPLEX METHOD: MINIMIZATION

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

1 Solving LPs: The Simplex Algorithm of George Dantzig

Nonlinear Programming Methods.S2 Quadratic Programming

Linear Programming Problems

Linear Programming in Matrix Form

Linear Programming Notes V Problem Transformations

Linear Programming: Theory and Applications

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Linear Programming. March 14, 2014

Solving Linear Programs in Excel

Sensitivity Report in Excel

OPRE 6201 : 2. Simplex Method

56:171 Operations Research Midterm Exam Solutions Fall 2001

Linear Programming Notes VII Sensitivity Analysis

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1

The Correlation Coefficient

Degeneracy in Linear Programming

Linear Programming. Solving LP Models Using MS Excel, 18

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming. April 12, 2005

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

Chapter 6: Sensitivity Analysis

0.1 Linear Programming

What is Linear Programming?

Row Echelon Form and Reduced Row Echelon Form

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

The number of marks is given in brackets [ ] at the end of each question or part question. The total number of marks for this paper is 72.

Using CPLEX. =5 has objective value 150.

Study Guide 2 Solutions MATH 111

LU Factorization Method to Solve Linear Programming Problem

Solving Systems of Linear Equations Using Matrices

Question 2: How do you solve a matrix equation using the matrix inverse?

Section 1.1 Linear Equations: Slope and Equations of Lines

Question 2: How do you solve a linear programming problem with a graph?

15.053/8 February 26, 2013

Special cases in Transportation Problems

Solving Linear Systems, Continued and The Inverse of a Matrix

The Graphical Method: An Example

Network Models 8.1 THE GENERAL NETWORK-FLOW PROBLEM

Linear Programming I

Linearly Independent Sets and Linearly Dependent Sets

3.1 Solving Systems Using Tables and Graphs

Section 7.2 Linear Programming: The Graphical Method

Constructing a portfolio of investments is one of the most important. financial decisions facing individuals and institutions.

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Decision Mathematics D1. Advanced/Advanced Subsidiary. Friday 12 January 2007 Morning Time: 1 hour 30 minutes. D1 answer book

Linear Programming Sensitivity Analysis

5 Systems of Equations

Chapter 3: Section 3-3 Solutions of Linear Programming Problems

GENERALIZED INTEGER PROGRAMMING

Math Quizzes Winter 2009

OPTIMIZATION. Schedules. Notation. Index

Module1. x y 800.

4 UNIT FOUR: Transportation and Assignment problems

Airport Planning and Design. Excel Solver

Question 2: How will changes in the objective function s coefficients change the optimal solution?

MATH APPLIED MATRIX THEORY

This exposition of linear programming

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

1 Determinants and the Solvability of Linear Systems

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

CPLEX Tutorial Handout

Solutions Of Some Non-Linear Programming Problems BIJAN KUMAR PATEL. Master of Science in Mathematics. Prof. ANIL KUMAR

Solving simultaneous equations using the inverse matrix

A Labeling Algorithm for the Maximum-Flow Network Problem

Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Systems of Linear Equations

1.5 SOLUTION SETS OF LINEAR SYSTEMS

Unit 1. Today I am going to discuss about Transportation problem. First question that comes in our mind is what is a transportation problem?

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

3. Linear Programming and Polyhedral Combinatorics

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

Mathematical finance and linear programming (optimization)

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

Operating System Resource Management. Burton Smith Technical Fellow Microsoft Corporation

Equilibrium computation: Part 1

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

Minimizing costs for transport buyers using integer programming and column generation. Eser Esirgen

Fractions to decimals

Simulating the Multiple Time-Period Arrival in Yield Management

. P. 4.3 Basic feasible solutions and vertices of polyhedra. x 1. x 2

Zeros of a Polynomial Function

Transcription:

Linear Programming Simplex method - II 1

Objectives Objectives To discuss the Big-M method Discussion on different types of LPP solutions in the context of Simplex method Discussion on maximization verses minimization problems 2

Big-M Method Simplex method for LP problem with greater-thanequal-to ( ) and equality (=) constraints needs a modified approach. This is known as Big-M method. The LPP is transformed to its standard form by incorporating a large coefficient M 3

Transformation of LPP for Big-M method 1. One artificial variable is added to each of the greater-thanequal-to ( ) and equality (=) constraints to ensure an initial basic feasible solution. 2. Artificial variables are penalized in the objective function by introducing a large negative (positive) coefficient for maximization (minimization) problem. 3. Cost coefficients, which are supposed to be placed in the Z- row in the initial simplex tableau, are transformed by pivotal operation considering the column of artificial variable as pivotal column and the row of the artificial variable as pivotal row. 4. If there are more than one artificial variables, step 3 is repeated for all the artificial variables one by one. 4

Example Consider the following problem Maximize Z = 3x + 5x 1 2 2 1 2 1 2 1 2 subject to x + x 2 x 6 3x + 2x = 18 x, x 0 5

Example After incorporating the artificial variables Maximize Z = 3x + 5x Ma Ma subject to x1+ x2 x3+ a1 = 2 x2 + x4 = 6 3x1+ 2x2 + a2 = 18 x, x 0 1 2 1 2 1 2 where x 3 is surplus variable, x 4 is slack variable and a 1 and a 2 are the artificial variables 6

Transformation of cost coefficients Considering the objective function and the first constraint ( ) Z 3x 5x + Ma + Ma = 0 E 1 2 1 2 1 ( ) x + x x + a = 2 E 1 2 3 1 2 Pivotal Row Pivotal Column By the pivotal operation E 1 M E the cost coefficients are modified as 2 ( + M ) x ( 5 + M ) x + Mx + 0a + Ma = M Z 2 3 1 2 3 1 2 7

Transformation of cost coefficients Considering the modified objective function and the third constraint ( ) ( ) ( ) Z 3+ M x 5+ M x + Mx + 0a + Ma = 2M E 1 2 3 1 2 3 3 x + 2 x + a = 18 E ( ) 1 2 2 4 Pivotal Row Pivotal Column By the pivotal operation E M 3 E 4 the cost coefficients are modified as ( + 4M ) x ( 5 + 3M ) x + Mx + 0 a + 0 a = M Z 20 3 1 2 3 1 2 8

Construction of Simplex Tableau Corresponding simplex tableau 9 Pivotal row, pivotal column and pivotal elements are shown as earlier

Simplex Tableau contd. Successive simplex tableaus are as follows: 10

Simplex Tableau contd. 11

Simplex Tableau contd. Optimality has reached. Optimal solution is Z = 36 with x 1 = 2 and x 2 = 6 12

Simplex method: Unbounded, Multiple and Infeasible solutions Unbounded solution If at any iteration no departing variable can be found corresponding to entering variable, the value of the objective function can be increased indefinitely, i.e., the solution is unbounded. 13

Simplex method: Unbounded, Multiple and Infeasible solutions Multiple (infinite) solutions 14 If in the final tableau, one of the non-basic variables has a coefficient 0 in the Z-row, it indicates that an alternative solution exists. This non-basic variable can be incorporated in the basis to obtain another optimal solution. Once two such optimal solutions are obtained, infinite number of optimal solutions can be obtained by taking a weighted sum of the two optimal solutions.

Simplex method: Example of Multiple (indefinite) solutions 15 Consider the following problem Maximize Z = 3x1+ 2x2 subject to x1+ x2 2 x2 6 3x1+ 2x2 = 18 x, x 0 1 2 Only modification, compared to earlier problem, is that the coefficient of x 2 is changed from 5 to 2 in the objective function. Thus the slope of the objective function and that of third constraint are now same, which leads to multiple solutions

Simplex method: Example of Multiple (indefinite) solutions Following similar procedure as described earlier, final simplex tableau for the problem is as follows: 16

Simplex method: Example of Multiple (indefinite) solutions As there is no negative coefficient in the Z-row optimal solution is reached. Optimal solution is Z = 18 with x 1 = 6 and x 2 = 0 However, the coefficient of non-basic variable x 2 is zero in the Z-row Another solution is possible by incorporating x 2 in the basis br Based on the, x 4 will be the exiting variable c rs 17

Simplex method: Example of Multiple (indefinite) solutions If one more similar step is performed, previous simplex tableau will be obtained back 18 So, another optimal solution is Z = 18 with x 1 = 2 and x 2 = 6

Simplex method: Example of Multiple (indefinite) solutions 6 0 Thus, two sets of solutions are: and Other optimal solutions will be obtained as where β [ 0,1] 2 6 6 2 β + ( 1 β) 0 6 For example, let β = 0.4, corresponding solution is Note that values of the objective function are not changed for different sets of solution; for all the cases Z = 18. 3.6 3.6 19

Simplex method: Unbounded, Multiple and Infeasible solutions Infeasible solution If in the final tableau, at least one of the artificial variables still exists in the basis, the solution is indefinite. 20

Minimization versus maximization problems Simplex method is described based on the standard form of LP problems, i.e., objective function is of maximization type However, if the objective function is of minimization type, simplex method may still be applied with a small modification 21

Minimization versus maximization problems The required modification can be done in either of following two ways. 1. The objective function is multiplied by -1 so as to keep the problem identical and minimization problem becomes maximization. This is because minimizing a function is equivalent to the maximization of its negative 2. While selecting the entering nonbasic variable, the variable having the maximum coefficient among all the cost coefficients is to be entered. In such cases, optimal solution would be determined from the tableau having all the cost coefficients as non-positive ( 0) 22

Minimization versus maximization problems One difficulty, that remains in the minimization problem, is that it consists of the constraints with greater-than-equal-to ( ) sign. For example, minimize the price (to compete in the market), however, the profit should cross a minimum threshold. Whenever the goal is to minimize some objective, lower bounded requirements play the leading role. Constraints with greater-than-equal-to ( ) sign are obvious in practical situations. To deal with the constraints with greater-thanequal-to ( ) and equality sign, Big-M method is to be followed as explained earlier. 23

Thank You 24