Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.

Slides:



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

Solving LP Models Improving Search Special Form of Improving Search
Linear Programming Problem
Lecture #3; Based on slides by Yinyu Ye
Introduction to Algorithms
Chapter 5 The Simplex Method The most popular method for solving Linear Programming Problems We shall present it as an Algorithm.
Chapter 6 Linear Programming: The Simplex Method
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.
Dragan Jovicic Harvinder Singh
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.
C&O 355 Lecture 4 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
C&O 355 Mathematical Programming Fall 2010 Lecture 20 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
How should we define corner points? Under any reasonable definition, point x should be considered a corner point x What is a corner point?
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.
Computational Methods for Management and Economics Carla Gomes Module 6b Simplex Pitfalls (Textbook – Hillier and Lieberman)
The Simplex Method: Standard Maximization Problems
Design and Analysis of Algorithms
Chapter 10: Iterative Improvement
CSC5160 Topics in Algorithms Tutorial 1 Jan Jerry Le
Linear Programming (LP)
D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries.
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.
ISM 206 Lecture 2 Linear Programming and the Simplex Method.
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
LINEAR PROGRAMMING SIMPLEX METHOD.
Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear.
Linear Programming - Standard Form
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
C&O 355 Mathematical Programming Fall 2010 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
Simplex method (algebraic interpretation)
L4 Graphical Solution Homework See new Revised Schedule Review Graphical Solution Process Special conditions Summary 1 Read for W for.
Simplex Algorithm.Big M Method
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Linear Programming – Simplex Method
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 3 Basics of the Simplex Algorithm.
§1.4 Algorithms and complexity For a given (optimization) problem, Questions: 1)how hard is the problem. 2)does there exist an efficient solution algorithm?
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
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.
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.
(i) Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M3L1 Linear Programming and Applications.
LINEAR AND INTEGER PROGRAMMING The Simplex Method: A tutorial in three acts.
OR  Now, we look for other basic feasible solutions which gives better objective values than the current solution. Such solutions can be examined.
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.
Linear Programming Chap 2. The Geometry of LP  In the text, polyhedron is defined as P = { x  R n : Ax  b }. So some of our earlier results should.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear 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.
Discrete Optimization
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Chapter 5 The Simplex Method
3-3 Optimization with Linear Programming
Part 3. Linear Programming
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Linear Programming Problem
Part 3. Linear Programming
Chapter 2. Simplex method
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Simplex method (algebraic interpretation)
Chapter 10: Iterative Improvement
Chapter 2. Simplex method
Presentation transcript:

Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010

Outline Different forms of LPs Geometry of LPs Solving an LP: Simplex Method Summary

Inequality form of LPs An LP in inequality form (x in R n ) Matrix notation

Why is inequality form useful? Intuitive: sketching an LP Understand the geometry of LPs

Standard form of LPs An LP in standard form Matrix notation

Why is standard form useful? Easy for computers to operate Search “corners” of the feasible region Transform of constraints E.g., simplex method works in standard form

Inequality form  standard form Add slack variables 

Stanford form  inequality form Make and drop slack variables 

General form of LPs An LP in general form Transform to Inequality form: sketching, geometry Standard form: simplex method

Outline Different forms of LPs Geometry of LPs Half space and polyhedron Extreme points, vertices and basic feasible solution Optimality of LPs at extreme points Solving an LP: Simplex Method Summary

Half space and polyhedron An inequality constraint  a half space A set of inequality constraints  a polyhedron [Boyd & Vandenberghe]

Geometry of LPs An LP in inequality form (x in R n ) [Boyd & Vandenberghe]

Geometry of LPs An LP in inequality form (x in R n ) Also, an LP can be Infeasible Unbounded

Geometry of LPs Three important concepts of an LP Extreme points Vertices Basic feasible solutions [Boyd & Vandenberghe]

Concept 1: extreme points A point x in P is an extreme point: It can not be represented as, Not in the middle of any other two points in P [Boyd & Vandenberghe]

Concept 2: vertices A point x in P is a vertex: It is uniquely optimal for some objective function [Boyd & Vandenberghe]

Concept 3: Basic feasible solutions An inequality constraint is active at x: The constraint holds with equality at x [Boyd & Vandenberghe]

Concept 3: Basic feasible solutions A point x is a basic solution: There exist n linearly independent active constraints at x [Boyd & Vandenberghe]

Concept 3: Basic feasible solutions A point x is a basic feasible solution: A basic solution that satisfies all constraints (i.e., stay in P) [Boyd & Vandenberghe]

Equivalence of three definitions Extreme points, vertices and basic feasible solution are equivalent Extreme points: not in the middle of any two Vertices: uniquely optimal for some objective Basic feasible solutions: n indep. active constraints Intuition of proofs Vertex  extreme point Extreme point  basic feasible solution Basic feasible solution  vertex

Why are these definitions useful? Equivalent ways to define “corners” Extreme points Vertices Basic feasible solutions Optimality of LPs at “corners”

Optimality of extreme points Given an LP If The polyhedron P has at least one extreme point Optimal solutions exist (not unbounded or infeasible) Then At least one optimal solution is an extreme point

Search basic feasible solutions! Solve an LP: search over extreme points Extreme points  basic feasible solutions Search over basic feasible solutions! Basic idea of simplex method

Outline Different forms of LPs Geometry of LPs Solving an LP: Simplex Method Summary

Search basic feasible solutions Optimality of extreme points Extreme points  basic feasible solutions Solve LP: search over basic feasible solutions!

Search basic solutions in standard form Simplex method operates in standard form Understand the geometry in inequality form Search basic solutions in standard form ?

Inequality form vs. standard form

Search basic solutions in standard form How to get a basic solution in standard form? Pick a basis (m independent columns) Fix the rest (n-m) non-basic vars to 0 Solve for m basic vars

Search basic solutions in standard form

Trick: monitor the objective function during the search

Simplex method Search over basic feasible solutions Repeatedly move to a neighbor bfs to improve objective Stop at “local” optimum

Simplex method: an example Maximize Z = 5x 1 + 2x 2 + x 3 x 1 + 3x 2 - x 3 ≤ 6, x 2 + x 3 ≤ 4, 3x 1 + x 2 ≤ 7, x 1, x 2, x 3 ≥ 0.

Simplex method: an example Maximize Z = 5x 1 + 2x 2 + x 3 x 1 + 3x 2 - x 3 + x 4 = 6, x 2 + x 3 + x 5 = 4, 3x 1 + x 2 + x 6 = 7, x 1, x 2, x 3, x 4, x 5, x 6 ≥ 0. Go through the example …

Outline Different forms of LPs Geometry of LPs Solving an LP: Simplex Method Summary

Different forms of LPs Inequality, standard, general.. Geometry of LPs Focus on Inequality form LPs Half space and polyhedron Extreme points, vertices and basic feasible solutions – three definitions of “corners” Optimality at “corners”

Summary Simplex method Operate in standard form Search over “corners” Start from a basic feasible solution (i.e., a basis) Search over neighboring basis Improve the objective Keep feasibility Stop at local(?) optimum