Simplex Method Meeting 5 Course: D0744 - Deterministic Optimization Year: 2009.

Slides:



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

2.7 Linear Programming.
DMOR Linear Programming 2. Solving LPs – general case Till now we talked about the standard form – Maximization – Constraints of the form – RHS of the.
Artificial Variables, 2-Phase and Big M Methods
Linear Programming Problem
Operation Research Chapter 3 Simplex Method.
Linear Programming – Simplex Method
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
Degeneracy and the Convergence of the Simplex Algorithm LI Xiao-lei.
3.4 Artificial starting solution Page103
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Chapter 7 Linear Programming Models Part One n Basis of Linear Programming n Linear Program formulati on.
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc. 1 Chapter 4 The Simplex Algorithm and Goal Programming to accompany Introduction to.
The Simplex Method: Standard Maximization Problems
Minimization by Dr. Arshad zaheer
An Introduction to Game Theory Part III: Strictly Competitive Games Bernhard Nebel.
Linear Programming (LP)
The Simplex Method.
5.6 Maximization and Minimization with Mixed Problem Constraints
D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries.
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
Chapter 4 The Simplex Algorithm and Goal Programming
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
LINEAR PROGRAMMING SIMPLEX METHOD.
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
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 method (algebraic interpretation)
Simplex Algorithm.Big M Method
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
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.
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.
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
Solving Linear Programming Problems: The Simplex Method
Linear Programming – Simplex Method
A LINEAR PROGRAMMING PROBLEM HAS LINEAR OBJECTIVE FUNCTION AND LINEAR CONSTRAINT AND VARIABLES THAT ARE RESTRICTED TO NON-NEGATIVE VALUES. 1. -X 1 +2X.
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.
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
1 Chapter 4 The Simplex Algorithm PART 2 Prof. Dr. M. Arslan ÖRNEK.
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.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
The Simplex Algorithm 虞台文 大同大學資工所 智慧型多媒體研究室. Content Basic Feasible Solutions The Geometry of Linear Programs Moving From Bfs to Bfs Organization of a.
(i) Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M3L1 Linear Programming and Applications.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
LINEAR PROGRAMMING. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
7. Linear Programming (Simplex Method)
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Perturbation method, lexicographic method
Chapter 4 The Simplex Algorithm and Goal Programming
The Two-Phase Simplex Method
Chapter 4 Linear Programming: The Simplex Method
This condition occurs when the problem has incompatible constraints.
Lecture 19 Linear Program
Practical Issues Finding an initial feasible solution Cycling
Presentation transcript:

Simplex Method Meeting 5 Course: D Deterministic Optimization Year: 2009

Bina Nusantara University 3 What to learn? Artificial variables Big-M method

Bina Nusantara University 4 The Facts 1.To start, we need a canonical form 2.If we have a  constraint with a nonnegative right-hand side, it will contain an obvious basic variable (which?) after introducing a slack var. 3.If we have an equality constraint, it contains no obvious basic variable 4.If we have a  constraint with a nonnegative right-hand side, it contains no obvious basic variable even after introducing a surplus var.

Bina Nusantara University 5 Compare! 2x + 3y  5  2x + 3y + s = 5, s  0 (s basic) 2x + 3y = 5  ??????? Infeasible if x=y=0! 2x + 3y  5  2x + 3y - s = 5, s  0 (??????) Infeasible if x=y=0! ??????????????????

Bina Nusantara University 6 One Equality??? 2x + 3y = 5  2x + 3y + a = 5, a = 0 (I) (s basic, but it should be 0!) How do we force a = 0? This is of course not feasible if x=y=0, as  5!

Bina Nusantara University 7 One Equality??? 2x + 3y = 5  2x + 3y + a = 5, a = 0 (I) (a basic, but it should be 0!) How do we force a = 0? This is of course not feasible if x=y=0, as  5 Idea: solve a first problem with Min {a | constraint (I) + a  0 + other constraints }!

Bina Nusantara University 8 Artificial Variables Notice: In an equality constraint, the extra variable is called an artificial variable. For instance, in 2x + 3y + a = 5, a = 0 (I) a is an artificial variable.

Bina Nusantara University 9 One Inequality  ??? 2x + 3y  5  2x + 3y - s = 5, s  0 (I) s could be the basic variable, but it should be  0 and for x=y=0, it is -5 ! How do we force s  0? ?

Bina Nusantara University 10 2x + 3y  5  2x + 3y - s = 5, s  0 (I) s could be the basic variable, but it should be  0 and it is -5 for x=y=0! How do we force s  0? By making it 0! how?

Bina Nusantara University 11 2x + 3y  5  2x + 3y - s = 5, s  0 (I) s could be basic, but it should be  0 and it is -5 for x=y=0! How do we force s  0? By making it 0! But we have to start with a canonical form… so treat is as an equality constraint! 2x + 3y - s + a = 5, s  0, a  0 and Min a

Bina Nusantara University 12

Bina Nusantara University 13 Artificial Variables Notice: In a  inequality constraint, the extra variable is called an artificial variable. For instance, in 2x + 3y – s + a = 5, s  0, a  0 (I) a is an artificial variable. In a sense, we allow temporarily a small amount of cheating, but in the end we cannot allow it!

Bina Nusantara University 14 What if we have many such = and  constraints? 7x - 3y – s1 + a1 = 6, s1,a1  0 (I) 2x + 3y + a2 = 5, a2  0 (II) a1 and a2 are artificial variables, s1 is a surplus variable. One minimizes their sum: Min {a1+a2 | a1, a2  0, (I), (II), other constraints} i.e., one minimizes the total amount of cheating!

Bina Nusantara University 15 Then What? We have two objectives: Get a “feasible” canonical form Maximize our original problem Two methods:  big M method  phase 1, then phase 2

Bina Nusantara University 16

Bina Nusantara University 17 Big-M Method Combine both objectives : (1)Min  i a i (2)Max  j c j x j into a single one: (3)Max – M  i a i +  j c j x j where M is a large number, larger than anything subtracted from it. If one minimizes  j c j x j then the combined objective function is Min M  i a i +  j c j x j

Bina Nusantara University 18 The Big M Method The simplex method algorithm requires a starting bfs. Previous problems have found starting bfs by using the slack variables as our basic variables. If an LP have ≥ or = constraints, however, a starting bfs may not be readily apparent. In such a case, the Big M method may be used to solve the problem. Consider the following problem.

Bina Nusantara University 19 Example Bevco manufactures an orange-flavored soft drink called Oranj by combining orange soda and orange juice. Each orange soda contains 0.5 oz of sugar and 1 mg of vitamin C. Each ounce of orange juice contains 0.25 oz of sugar and 3 mg of vitamin C. It costs Bevco 2¢ to produce an ounce of orange soda and 3¢ to produce an ounce of orange juice. Bevco’s marketing department has decided that each 10-oz bottle of Oranj must contain at least 30 mg of vitamin C and at most 4 oz of sugar. Use linear programming to determine how Bevco can meet the marketing department’s requirements at minimum cost.

Bina Nusantara University 20

Bina Nusantara University 21