D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries.

Slides:



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

Operation Research Chapter 3 Simplex Method.
SIMPLEX METHOD FOR LP LP Model.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
D Nagesh Kumar, IIScOptimization Methods: M4L1 1 Linear Programming Applications Software for Linear Programming.
Dr. Sana’a Wafa Al-Sayegh
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Chapter 10: Iterative Improvement
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.
D Nagesh Kumar, IIScOptimization Methods: M2L5 1 Optimization using Calculus Kuhn-Tucker Conditions.
5.6 Maximization and Minimization with Mixed Problem Constraints
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
Introduction and Basic Concepts
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
Linear Programming Applications
D Nagesh Kumar, IIScOptimization Methods: M3L6 1 Linear Programming Other Algorithms.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
7.1 Systems of Linear Equations: Two Equations Containing Two Variables.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming - Standard Form
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Chapter 6 Linear Programming: The Simplex Method
Simplex method (algebraic interpretation)
Simplex Algorithm.Big M Method
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.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 6 Linear Programming: The Simplex Method Section R Review.
Solving Linear Programming Problems: The Simplex Method
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
D Nagesh Kumar, IIScOptimization Methods: M3L2 1 Linear Programming Graphical method.
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.
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.
D Nagesh Kumar, IIScOptimization Methods: M2L4 1 Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints.
D Nagesh Kumar, IIScOptimization Methods: M4L4 1 Linear Programming Applications Structural & Water Resources Problems.
D Nagesh Kumar, IIScOptimization Methods: M7L2 1 Integer Programming Mixed Integer Linear Programming.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
(iii) Lagrange Multipliers and Kuhn-tucker Conditions D Nagesh Kumar, IISc Introduction to Optimization Water Resources Systems Planning and Management:
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
D Nagesh Kumar, IIScOptimization Methods: M5L1 1 Dynamic Programming Introduction.
Introduction to Optimization
(i) Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M3L1 Linear Programming and Applications.
D Nagesh Kumar, IIScOptimization Methods: M8L1 1 Advanced Topics in Optimization Piecewise Linear Approximation of a Nonlinear Function.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
1 LP-3 Symplex Method. 2  When decision variables are more than 2, it is always advisable to use Simplex Method to avoid lengthy graphical procedure.
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.
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
Lecture 3.
Perturbation method, lexicographic method
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Simplex method (algebraic interpretation)
Chapter 10: Iterative Improvement
Presentation transcript:

D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries

D Nagesh Kumar, IIScOptimization Methods: M3L1 2 Objectives To introduce linear programming problems (LPP) To discuss the standard and canonical form of LPP To discuss elementary operation for linear set of equations

D Nagesh Kumar, IIScOptimization Methods: M3L1 3 Introduction and Definition Linear Programming (LP) is the most useful optimization technique Objective function and constraints are the ‘linear’ functions of ‘nonnegative’ decision variables Thus, the conditions of LP problems are 1.Objective function must be a linear function of decision variables 2.Constraints should be linear function of decision variables 3.All the decision variables must be nonnegative

D Nagesh Kumar, IIScOptimization Methods: M3L1 4 Example This is in “general” form

D Nagesh Kumar, IIScOptimization Methods: M3L1 5 Standard form of LP problems Standard form of LP problems must have following three characteristics: 1.Objective function should be of maximization type 2.All the constraints should be of equality type 3.All the decision variables should be nonnegative

D Nagesh Kumar, IIScOptimization Methods: M3L1 6 General form Vs Standard form Violating points for standard form of LPP: 1.Objective function is of minimization type 2.Constraints are of inequality type 3.Decision variable, x 2, is unrestricted, thus, may take negative values also. General form How to transform a general form of a LPP to the standard form ?

D Nagesh Kumar, IIScOptimization Methods: M3L1 7 General form Standard form General form 1.Objective function 2.First constraint 3.Second constraint Standard form 1.Objective function 2.First constraint 3.Second constraint Transformation Variables and are known as slack variables

D Nagesh Kumar, IIScOptimization Methods: M3L1 8 General form Standard form General form 4. Third constraint Standard form 4.Third constraint Transformation 5.Constraints for decision variables, x 1 and x 2 Variable is known as surplus variable 5. Constraints for decision variables, x 1 and x 2

D Nagesh Kumar, IIScOptimization Methods: M3L1 9 Canonical form of LP Problems The ‘objective function’ and all the ‘equality constraints’ (standard form of LP problems) can be expressed in canonical form. This is known as canonical form of LPP Canonical form of LP problems is essential for simplex method (will be discussed later) Canonical form of a set of linear equations will be discussed next.

D Nagesh Kumar, IIScOptimization Methods: M3L1 10 Canonical form of a set of linear equations Let us consider the following example of a set of linear equations (A 0 ) (B 0 ) (C 0 ) The system of equation will be transformed through ‘Elementary Operations’.

D Nagesh Kumar, IIScOptimization Methods: M3L1 11 Elementary Operations The following operations are known as elementary operations: 1.Any equation E r can be replaced by kE r, where k is a nonzero constant. 2.Any equation E r can be replaced by E r + kE s, where E s is another equation of the system and k is as defined above. Note: Transformed set of equations through elementary operations is equivalent to the original set of equations. Thus, solution of transformed set of equations is the solution of original set of equations too.

D Nagesh Kumar, IIScOptimization Methods: M3L1 12 Transformation to Canonical form: An Example Set of equation (A 0, B 0 and C 0 ) is transformed through elementary operations (shown inside bracket in the right side) Note that variable x is eliminated from B 0 and C 0 equations to obtain B 1 and C 1. Equation A 0 is known as pivotal equation.

D Nagesh Kumar, IIScOptimization Methods: M3L1 13 Transformation to Canonical form: Example contd. Following similar procedure, y is eliminated from equation A 1 and C 1 considering B 1 as pivotal equation:

D Nagesh Kumar, IIScOptimization Methods: M3L1 14 Transformation to Canonical form: Example contd. Finally, z is eliminated form equation A 2 and B 2 considering C 2 as pivotal equation : Note: Pivotal equation is transformed first and using the transformed pivotal equation other equations in the system are transformed. The set of equations (A 3, B 3 and C 3 ) is said to be in Canonical form which is equivalent to the original set of equations (A 0, B 0 and C 0 )

D Nagesh Kumar, IIScOptimization Methods: M3L1 15 Pivotal Operation Operation at each step to eliminate one variable at a time, from all equations except one, is known as pivotal operation. Number of pivotal operations are same as the number of variables in the set of equations. Three pivotal operations were carried out to obtain the canonical form of set of equations in last example having three variables.

D Nagesh Kumar, IIScOptimization Methods: M3L1 16 Transformation to Canonical form: Generalized procedure Consider the following system of n equations with n variables

D Nagesh Kumar, IIScOptimization Methods: M3L1 17 Transformation to Canonical form: Generalized procedure Canonical form of above system of equations can be obtained by performing n pivotal operations Variable is eliminated from all equations except j th equation for which is nonzero. General procedure for one pivotal operation consists of following two steps, 1.Divide j th equation by. Let us designate it as, i.e., 2.Subtract times of equation from k th equation, i.e.,

D Nagesh Kumar, IIScOptimization Methods: M3L1 18 Transformation to Canonical form: Generalized procedure After repeating above steps for all the variables in the system of equations, the canonical form will be obtained as follows: It is obvious that solution of above set of equation such as is the solution of original set of equations also.

D Nagesh Kumar, IIScOptimization Methods: M3L1 19 Transformation to Canonical form: More general case Consider more general case for which the system of equations has m equation with n variables ( ) It is possible to transform the set of equations to an equivalent canonical form from which at least one solution can be easily deduced

D Nagesh Kumar, IIScOptimization Methods: M3L1 20 Transformation to Canonical form: More general case By performing n pivotal operations for any m variables (say,, called pivotal variables) the system of equations reduced to canonical form is as follows Variables,, of above set of equations is known as nonpivotal variables or independent variables.

D Nagesh Kumar, IIScOptimization Methods: M3L1 21 Basic variable, Nonbasic variable, Basic solution, Basic feasible solution One solution that can be obtained from the above set of equations is This solution is known as basic solution. Pivotal variables,, are also known as basic variables. Nonpivotal variables,, are known as nonbasic variables. Basic solution is also known as basic feasible solution because it satisfies all the constraints as well as nonnegativity criterion for all the variables

D Nagesh Kumar, IIScOptimization Methods: M3L1 22 Thank You