LU Factorization Method to Solve Linear Programming Problem



Similar documents
1 Solving LPs: The Simplex Algorithm of George Dantzig

Row Echelon Form and Reduced Row Echelon Form

4.6 Linear Programming duality

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

Standard Form of a Linear Programming Problem

Linearly Independent Sets and Linearly Dependent Sets

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.

Simplex method summary

Practical Guide to the Simplex Method of Linear Programming

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

Solving Systems of Linear Equations Using Matrices

Nonlinear Programming Methods.S2 Quadratic Programming

Linear Programming. March 14, 2014

Chapter 2 Solving Linear Programs

GENERALIZED INTEGER PROGRAMMING

Linear Programming I

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

Linear Programming Problems

What is Linear Programming?

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

Using row reduction to calculate the inverse and the determinant of a square matrix

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

This exposition of linear programming

Chapter 6: Sensitivity Analysis

Linear Programming. April 12, 2005

Solving Systems of Linear Equations

1.2 Solving a System of Linear Equations

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

Elementary Matrices and The LU Factorization

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Solution of Linear Systems

Special Situations in the Simplex Algorithm

Linear Programming in Matrix Form

Linear Programming. Solving LP Models Using MS Excel, 18

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

7 Gaussian Elimination and LU Factorization

Operation Count; Numerical Linear Algebra

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS

Linear Programming Notes V Problem Transformations

by the matrix A results in a vector which is a reflection of the given

Numerical Methods for Solving Systems of Nonlinear Equations

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

Duality in Linear Programming

OPRE 6201 : 2. Simplex Method

Direct Methods for Solving Linear Systems. Matrix Factorization

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Solving Linear Programs

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

Alabama Department of Postsecondary Education

Continuity of the Perron Root

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Solving Linear Systems, Continued and The Inverse of a Matrix

Mathematical finance and linear programming (optimization)

1 Finite difference example: 1D implicit heat equation

3.1 Solving Systems Using Tables and Graphs

Chapter 13: Binary and Mixed-Integer Programming

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination)

Simulating the Multiple Time-Period Arrival in Yield Management

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

Arithmetic and Algebra of Matrices

A note on companion matrices

Mean value theorem, Taylors Theorem, Maxima and Minima.

Study Guide 2 Solutions MATH 111

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

5.5. Solving linear systems by the elimination method

Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept

Real Roots of Univariate Polynomials with Real Coefficients

SOLVING LINEAR SYSTEMS

How To Understand And Solve A Linear Programming Problem

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

Linear Programming Supplement E

Solution of a Large-Scale Traveling-Salesman Problem

Solving Systems of Linear Equations

Numerical Analysis. Professor Donna Calhoun. Fall 2013 Math 465/565. Office : MG241A Office Hours : Wednesday 10:00-12:00 and 1:00-3:00

3. Linear Programming and Polyhedral Combinatorics

General Framework for an Iterative Solution of Ax b. Jacobi s Method

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

Linear Programming Notes VII Sensitivity Analysis

26 Linear Programming

Can linear programs solve NP-hard problems?

Solving simultaneous equations using the inverse matrix

Numerical Analysis. Gordon K. Smyth in. Encyclopedia of Biostatistics (ISBN ) Edited by. Peter Armitage and Theodore Colton

NUMERICAL METHODS TOPICS FOR RESEARCH PAPERS

9.4 THE SIMPLEX METHOD: MINIMIZATION

Introduction to Complex Fourier Series

Symbolic Determinants: Calculating the Degree

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

Module1. x y 800.

Lecture 3: Finding integer solutions to systems of linear equations

Zeros of a Polynomial Function

4 UNIT FOUR: Transportation and Assignment problems

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS

0.1 Linear Programming

Application of Linear Algebra in. Electrical Circuits

Lecture 2: August 29. Linear Programming (part I)

24. The Branch and Bound Method

A Direct Numerical Method for Observability Analysis

Solving Linear Programs in Excel

Transcription:

Website: wwwijetaecom (ISSN 2250-2459 ISO 9001:2008 Certified Journal Volume 4 Issue 4 April 2014) LU Factorization Method to Solve Linear Programming Problem S M Chinchole 1 A P Bhadane 2 12 Assistant Professor Loknete Vyankatrao Hiray Arts Science & Commerce College Panchavati Nasik-3 Abstract- This paper presents a new approach for the solution of Linear Programming Problems with the help of LU Factorization Method of matrices This method is based on the fact that a square matrix can be factorized into the product of unit lower triangular matrix and upper triangular matrix In this method we get direct solution without iteration We also show that this method is better than simplex method Keywords- L U Factorization Method Linear Programming Problem System of Linear Equations Unit Lower Triangular Matrix Upper Triangular Matrix I INTRODUCTION All linear programming problems are concerned with maximization (or minimization) of a linear function subject to a set of linear constraints The simplex method of linear programming was developed by Prof G B Dantzig in 1947 He demonstrated how to use an objective function to find the optimal solution from amongst the several feasible solutions to a linear programming problem Further the development of computers during the last three decades has made it easy for the simplex method to solve large scale linear programming problems very quickly However in 1984 Narendra Karmarkar of AT & T Bell laboratories was developed a new algorithm for solving very large scale linear programming problems Further in 1998 this method was modified by P Kanniappan and K Thangavel In this paper we use the LU Factorization Method of Matrices for the system of linear inequalities in linear programming problem to solve it Here the objective function is also to be considered as a constraint which together with linear inequalities forms a system of linear inequalities By applying LU Factorization Method we get the solution just after initial iteration This paper has five sections: The first section gives knowledge about LU Factorization method second section introduce its application for the solution of linear programming problem the third section illustrates this method with a numerical example the fourth section highlights the simplex method and the last fifth section gives comparison of LU Factorization method with simplex method II L U FACTORIZATION METHOD One way of solving a system of linear equations is using the Gauss-Jordan method Another way of solving a system of linear equations is by using a factorization technique for matrices called LU Factorization This factorization involves two matrices one unit lower triangular matrix and one upper triangular matrix Steps to solve a system of linear equations using an LU decomposition: 1 Set up the system of linear equations in variables as a matrix equation where is an matrix of real coefficients is matrix of variables and is matrix of constants 2 Find the unit lower triangular matrix and the upper triangular matrix such that This will yield the equation 3 Let Then solve the equation for 4 Take the values for and solve the equation for This will give the solution to the system III APPLICATION OF LU FACTORIZATION TO SOLVE LINEAR PROGRAMMING PROBLEM Let us consider the linear programming problem: We write this L P P in the form of less than inequalities: To find: 176

Website: wwwijetaecom (ISSN 2250-2459 ISO 9001:2008 Certified Journal Volume 4 Issue 4 April 2014) Subject to: Now we can consider the system of linear equations where C Case III If the number of variables is less than the number of inequalities: If there are less number of variables than that of inequalities then we introduce that much number of slack variables in the appropriate inequalities and add on R H S of each of that inequalities D Case IV If there is a zero row in upper triangular matrix then the given problem has an infeasible solution and we can stop the process A Case I IV ILLUSTRATION In this way the objective function is considered as a constraint and is considered as a variable A Case I If the number of inequalities is equal to the number of variables: Then LU Factorization method is applied to the system of linear equations Firstly we get the matrix as an initial iteration and then the matrix as final iteration B Case II If the number of inequalities is less than the number of variables: Add the inequalities in the system till number of inequalities equals the number of variables We can add the inequalities in the system as below: Consider the first constraint in given L P P: Solution by Factorization Method: Let us write the L P P as: Let Let where is unit lower triangular matrix and is an upper triangular matrix This means that and Choose the non zero coefficient in this inequality and add the inequality in the system Continuing in this way till number of inequalities reaches to the number of variables 177

Website: wwwijetaecom (ISSN 2250-2459 ISO 9001:2008 Certified Journal Volume 4 Issue 4 April 2014) This solution obtained by factorization method is same as that by simplex method but easier to find B Case II ; Here the system of linear inequalities is Therefore on simplification we get Hence we have Thus That is Also Now Consider where Hence the initial iteration is and final iteration is Then on simplification we get initial iteration: Finally the solution matrix That is solution is C Case III Here the system of linear inequalities is ; is given by Hence on simplification we get final iteration: Hence we have 178

Website: wwwijetaecom (ISSN 2250-2459 ISO 9001:2008 Certified Journal Volume 4 Issue 4 April 2014) TABLE I INITIAL ITERATION 0 8 2 3 0 1 0 0 0 10 0 2 5 0 1 0 0 15 3 2 4 0 0 1 z 0-3 -5-4 0 0 0 Introduce and drop That is TABLE II FIRST ITERATION 5 8/3 2/3 1 0 1/3 0 0 0 14/3-4/3 0 5-2/3 1 0 0 29/3 5/3 0 4-2/3 0 1 z 40/3 1/3 0-4 5/3 0 0 Introduce and drop Also Hence the initial iteration is and final iteration is TABLE III SECOND ITERATION 5 8/3 2/3 1 0 1/3 0 0 4 14/15-4/15 0 1-2/15 1/5 0 0 89/15 41/15 0 0-2/15-4/5 1 z 256/15-11/15 0 0 17/15 4/5 0 Introduce and drop TABLE IV THIRD ITERATION 5 50/41 0 1 0 1/3 0 0 4 62/41 0 0 1-2/15 1/5 0 11/15 89/41 1 0 0-2/41-12/41 15/41 z 256/15-11/15 0 0 17/15 4/5 0 V SOLUTION BY SIMPLEX METHOD By introducing the slack variables and the set of inequalities representing the constraints of the given problem are converted into the set of equations: The basic variables are tables are: The iterative simplex Now since all are non-negative therefore an optimum basic feasible solution is VI COMPARISON OF SIMPLEX METHOD WITH LU FACTORIZATION METHOD A Similarities (1) Both methods are iterative methods (2) Both methods gives us an actual solution B Differences (1) In simplex method we always introduce slack variables In LU factorization method we introduce the slack variables only in case III 179

Website: wwwijetaecom (ISSN 2250-2459 ISO 9001:2008 Certified Journal Volume 4 Issue 4 April 2014) (2) In simplex method we have to take at least two iterations In LU factorization method we have to take only two iterations VI CONCLUSIONS AND REMARKS LU factorization method has fewer calculations as compare to the simplex method LU factorization method has simple calculations as compare to the simplex method After practice LU factorization method becomes very mechanical So this method is as faster as that of the simplex method REFERENCES [1 ] G V Shenoy 1998 Linear Programming (Methods and Applications) Second Edition New Age International Publishers [2 ] G B Dantzig 1951 Maximization of a linear function subject to linear inequalities in T C Koopmans (ed) Activity Analysis of Production and Allocation John Wiley & Sons New York 339 347 [3 ] R G Bland 1977 New finite pivoting rules for the simplex method Mathematics of Operations Research 2 103 107 [4 ] N Karmarkar 1984 A new polynomial time algorithm for linear programming Combinatorica 4 141-158 [5 ] P Kanniappan and K Thangavel 1998 Modified Fourier s method of solving linear programming problems Opsearch 35 45-56 [6 ] Bunch James R and Hopcroft John 1974 Mathematics of Computation 28: 231 236 [7 ] Karl-Heinz Borgwardt 1987 The Simplex Algorithm: A Probabilistic Analysis Algorithms and Combinatorics Volume 1 Springer-Verlag [8 ] Okunev Pavel and Johnson Charles R 1997 Necessary And Sufficient Conditions For Existence of the LU Factorization of an Arbitrary Matrix [9 ] Householder Alston S 1975 The Theory of Matrices in Numerical Analysis New York; Dover Publications [10 ] Poole David 2006 Linear Algebra A Modern Introduction (2nd ed) Canada; Thomson Brooks/Cole [11 ] Press WH Teukolsky SA Vetterling WT and Flannery BP 2007 Numerical Recipes: The Art of Scientific Computing (3rd ed) New York: Cambridge University Press [12 ] Horn Roger A and Johnson Charles R 1985 Matrix Analysis Cambridge University Press Section 35 180