ISM 206 Lecture 2 Linear Programming and the Simplex Method.

Slides:



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

Linear Programming – Simplex Method
SIMPLEX METHOD FOR LP LP Model.
Transportation Problem (TP) and Assignment Problem (AP)
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
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
L16 LP part2 Homework Review N design variables, m equations Summary 1.
Linear Programming Fundamentals Convexity Definition: Line segment joining any 2 pts lies inside shape convex NOT convex.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
CS38 Introduction to Algorithms Lecture 15 May 20, CS38 Lecture 15.
ISM 206 Lecture 2 Intro to Linear Programming. Announcements Scribe Schedule on website LectureDateTopicReadingScribeAssessment 1Thu, Sep 21Introduction.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
Operations Management
Solving Linear Programs: The Simplex Method
CSC5160 Topics in Algorithms Tutorial 1 Jan Jerry Le
Linear Programming (LP)
The Simplex Method.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
ISM 206 Lecture 3 The Simplex Method. Announcements Homework due 6pm Thursday Thursday 6pm lecture.
ISM 206 Lecture 3 The Simplex Method. Announcements.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Computer Algorithms Mathematical Programming ECE 665 Professor Maciej Ciesielski By DFG.
ISM 206 Lecture 2 Linear Programming and the Simplex Method.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 25, 2013.
LINEAR PROGRAMMING SIMPLEX METHOD.
The Simplex algorithm.
PowerPoint presentation to accompany Operations Management, 6E (Heizer & Render) © 2001 by Prentice Hall, Inc., Upper Saddle River, N.J B-1 Operations.
Simplex method (algebraic interpretation)
Operations Management
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
The Simplex Method Updated 15 February Main Steps of the Simplex Method 1.Put the problem in Row-Zero Form. 2.Construct the Simplex tableau. 3.Obtain.
Transparency Masters to accompany Heizer/Render – Principles of Operations Management, 5e, and Operations Management, 7e © 2004 by Prentice Hall, Inc.,
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Linear Programming – Simplex Method
1/24: Linear Programming & Sensitivity Analysis Review: –LP Requirements –Graphical solutions Using MS Excel for Linear Programming Sensitivity Analysis.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 3 Basics of the Simplex Algorithm.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
Chapter 3 Linear Programming Methods
1 Chapter 4 The Simplex Algorithm PART 2 Prof. Dr. M. Arslan ÖRNEK.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
OR  Now, we look for other basic feasible solutions which gives better objective values than the current solution. Such solutions can be examined.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Simplex Method Review. Canonical Form A is m x n Theorem 7.5: If an LP has an optimal solution, then at least one such solution exists at a basic feasible.
Foundations-1 The Theory of the Simplex Method. Foundations-2 The Essence Simplex method is an algebraic procedure However, its underlying concepts are.
Chapter 4 The Simplex Algorithm and Goal Programming
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
L15 LP Problems Homework Review Why bother studying LP methods History N design variables, m equations Summary 1.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Chapter 4 Linear Programming: The Simplex Method
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chap 3. The simplex method
Chapter 3 The Simplex Method and Sensitivity Analysis
Part 3. Linear Programming
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
CS5321 Numerical Optimization
Flow Feasibility Problems
Part 3. Linear Programming
Chapter 2. Simplex method
Simplex method (algebraic interpretation)
Chapter 2. Simplex method
Presentation transcript:

ISM 206 Lecture 2 Linear Programming and the Simplex Method

Announcements Schedule for note taking is on web (may change) First homework is on web LectureDateScribe 1Tue, 29 MarchLewis Nerenberg 2Thu, 31 MarchDavid Bernick 3Tue, 5 AprilNikhil Bobb 4Thu, 7 AprilJake Kendall 5Thu, 7 April 6-8pmShaomin Ding 6Tue, 12 AprilNadya Sihaeva 7Thu, 14 AprilJun Liao 8Thu, 14 April 6-8pmZhenjiang Li -Week 19,21 April 9Tue, 26 April 10Thu, 28 AprilRolando Menchaca 11Thu, 28 April 6-8pmPritam Roy

Announcements LectureDateScribe 12Tue, 3 MayGeoff Ryder 13Thu, 5 MayNoah Wilson 14Thu, 5 May 6-8pmZuobing Xu 15Tue, 10 MayAdam Ryska 16Thu, 12 MayMarcelo Carvalho -Week of 17, 19 May 17Tue, 24 MayRyan Crabb 18Thu, 26 May 19Tue, 31 May 20Thu, 2 June 21Tue, 7 June 4:00 – 7:00 pm

Outline Typical Linear Programming Problems Standard Form –Converting Problems into standard form Geometry of LP Extreme points, linear independence and bases Optimality Conditions The simplex method –Graphically –Analytically

Product Mix Problem How much beer and ale to produce from three scarce resources: –480 pounds of corn –160 ounces of hops –1190 pounds of malt A barrel of ale consumes 5 pounds of corn, 4 ounces of hops, 35 pounds of malt A barrel of beer consumes 15 pounds of corn, 4 ounces of hops and 20 pounds of malt Profits are $13 per barrel of ale, $23 for beer

Transportation Problem A firm produces computers in Singapore and Hoboken. Distribution Centers are in Oakland, Hong Kong and Istanbul Supply, demand and costs summary: OaklandHong Kong IstanbulSupply Singapore Hohboken Demand

Other LP examples Blending problem Diet problem Assignment problem

Key Elements of LP’s Proportionality Additivity Divisibility Building a Linear Model –Identify activities –Identify items –Identify input-output coefficients –Write the constraints –Identify coefficients of objective function

Geometry of LP Consider the plot of solutions to a LP

Types of LP descriptions To deal with different types of objectives and constraints we convert each linear program to standard form.

Standard Form Concise version: A is an m by n matrix: n variables, m constraints

Converting into Standard Form Slack/surplus variables Replacing ‘free’ variables Minimization vs maximization

Questions and Break

Solutions, Extreme points and bases How many solutions are there to a set of linear equations? Convexity of feasible region Extreme points

Solutions, Extreme points and bases Linear independence of vectors Basis of a matrix A basic solution of an LP Basic Feasible solution (Corner Point Feasible): –The vector x is an extreme point of the solution space iff it is a bfs of Ax=b, x>=0 Key fact: –If a LP has an optimal solution, then it has an optimal extreme point solution

Solutions, Extreme points and bases Rank of a matrix = no. linearly independent cols (and rows) rank<=min{m,n} A has full rank if rank(A)=m If A is of full rank then there is at least one basis B of A –B is set of linearly independent columns of A B gives us a basic solution –If this is feasible then it is called a basic feasible solution (bfs) or corner point feasible (cpf)

Optimality of a basis B=feasible basis. A = [B, N] Write LP in terms of basis

Simplex Method Checks the corner points Gets better solution at each iteration 1. Find a starting solution 2. Test for optimality –If optimal then stop 3. Perform one iteration to new CPF (BFS) solution. Back to 2.

Simplex Method: basis change One basic variable is replace by another The optimality test identifies a non-basic variable to enter the basis –The entering variable is increased until one of the other basic variables becomes zero –This is found using the minimum ratio test –That variable departs the basis

Proof that the Simplex method works If there exists an optimal point, there exists an optimal basic feasible solution There are a finite number of bfs Each iteration, the simplex method moves from one bfs to another, and always improves the objective function value Therefore the simplex method must converge to the optimal solution (in at most S steps, where S is the number of basic feasible solutions)