Lecture #3; Based on slides by Yinyu Ye

Slides:



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

Incremental Linear Programming Linear programming involves finding a solution to the constraints, one that maximizes the given linear function of variables.
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Solving LP Models Improving Search Special Form of Improving Search
MS&E 211 Quadratic Programming Ashish Goel. A simple quadratic program Minimize (x 1 ) 2 Subject to: -x 1 + x 2 ≥ 3 -x 1 – x 2 ≥ -2.
Introduction to Algorithms
MATHEMATICS 3 Operational Analysis Štefan Berežný Applied informatics Košice
Dragan Jovicic Harvinder Singh
The Simplex Method and Linear Programming Duality Ashish Goel Department of Management Science and Engineering Stanford University Stanford, CA 94305,
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.
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.
The Structure of Polyhedra Gabriel Indik March 2006 CAS 746 – Advanced Topics in Combinatorial Optimization.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Linear programming Thomas S. Ferguson University of California at Los Angeles Compressive Sensing Tutorial PART 3 Svetlana Avramov-Zamurovic January 29,
Operation Research Chapter 3 Simplex Method.
CS38 Introduction to Algorithms Lecture 15 May 20, CS38 Lecture 15.
Design and Analysis of Algorithms
Chapter 10: Iterative Improvement
Optimality Conditions for Nonlinear Optimization Ashish Goel Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
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 4 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Simplex method (algebraic interpretation)
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A A A A A A Image:
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
The Simplex Algorithm 虞台文 大同大學資工所 智慧型多媒體研究室. Content Basic Feasible Solutions The Geometry of Linear Programs Moving From Bfs to Bfs Organization of a.
Chapter 3 Linear Programming Methods
I.4 Polyhedral Theory 1. Integer Programming  Objective of Study: want to know how to describe the convex hull of the solution set to the IP problem.
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.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
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.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
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.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
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.
Linear Programming Piyush Kumar Welcome to CIS5930.
Chapter 4 The Simplex Algorithm and Goal Programming
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
1 Chapter 4 Geometry of Linear Programming  There are strong relationships between the geometrical and algebraic features of LP problems  Convenient.
An Introduction to Linear Programming
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Chap 10. Sensitivity Analysis
Proving that a Valid Inequality is Facet-defining
Chap 9. General LP problems: Duality and Infeasibility
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Chapter 5. Sensitivity Analysis
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chap 3. The simplex method
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Chapter 5. The Duality Theorem
I.4 Polyhedral Theory (NW)
Back to Cone Motivation: From the proof of Affine Minkowski, we can see that if we know generators of a polyhedral cone, they can be used to describe.
I.4 Polyhedral Theory.
Proving that a Valid Inequality is Facet-defining
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.
BASIC FEASIBLE SOLUTIONS
Chapter 2. Simplex method
Presentation transcript:

Lecture #3; Based on slides by Yinyu Ye Geometry of LP: Feasible Regions, Feasible Directions, Basic Feasible Solutions Ashish Goel Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/~ashishg http://www.stanford.edu/class/msande211/ Lecture #3; Based on slides by Yinyu Ye

LP Feasible Region in the Inequality Form x simultaneously satisfy This is the intersection of the m Half-spaces, and it is a convex (polyhedron) set Lecture #3; Based on slides by Yinyu Ye

Lecture #3; Based on slides by Yinyu Ye

Lecture #3; Based on slides by Yinyu Ye

Corner or Extreme Points Convex Hull: Extreme Points: A point in a set that does not belong to the hull (convex combination) of the other points For LP in inequality form, an extreme point is the intersection of n hyperplanes associated with the inequality constraints. Lecture #3; Based on slides by Yinyu Ye

Lecture #3; Based on slides by Yinyu Ye Feasible Direction Direction: A direction is notated by a vector d It is always associated with a “location” or point x Together a point and a direction define a ray: x + ϵd, for all ϵ > 0 where d and kd are considered the same direction for all k > 0 Feasible Direction: A direction, d, is said to be “feasible” (relative to a given feasible point x) if x + ϵd is feasible for some ϵ> 0 For LP, all feasible directions at a feasible point form a convex (cone) set Lecture #3; Based on slides by Yinyu Ye

Extreme Feasible Direction A feasible direction d is extreme if d cannot be written as an convex combination of other feasible directions Interior Point is a point x where every direction is feasible Lecture #3; Based on slides by Yinyu Ye

LP Problem in Inequality Form Lecture #3; Based on slides by Yinyu Ye

Recall the Production Problem Objective contour c Lecture #3; Based on slides by Yinyu Ye

Basic Theorems of Linear Programming All LP problems fall into one of three cases: Problem is infeasible: Feasible region is empty. Problem is unbounded: Feasible region is unbounded towards the optimizing direction. Problem is feasible and bounded; and in this case: there exists an optimal solution or optimizer. There may be a unique optimizer or multiple optimizers. All optimizers form a convex set and they are on a face of the feasible region. There is always at least one corner (extreme) optimizer if the feasible region has a corner point. Moreover, Local optimality implies global optimality Lecture #3; Based on slides by Yinyu Ye

Sketch Proof of Local Optimality Implies Global (P) minimize f (x) subject to x ∈ Ω ⊂ Rn, is a Convex Optimization problem if f (x) is a convex function over a convex feasible region Ω. Proof by contradiction. Suppose x’ is a local minimizer but not a global minimizer x∗, that is, x’ ∈ Ω and x∗ ∈ Ω but f (x∗) < f (x’). Now the convex combination point αx’ + (1 − α)x∗ must be feasible (why?), and f (αx’+ (1 − α)x∗) ≤ αf (x’)+ (1 − α)f (x∗) < f (x’) for any 0 ≤ α < 1. This contradicts the local optimality as α can be arbitrarily close to 1 so that αx’+ (1 − α)x∗ can be arbitrarily close to x’. Lecture #3; Based on slides by Yinyu Ye

Optimality Certification of the Production Problem a4 a5 a1 a2 a3 a4 Objective contour c Lecture #3; Based on slides by Yinyu Ye

Feasible Directions at a Corner a4 a5 a1 a2 a3 a4 Objective contour c Lecture #3; Based on slides by Yinyu Ye

How to Certify a Corner being an Optimizer Every feasible direction at the corner is a worsening (descent in this case) direction, that is, cTd ≤0 in this case. Or, equivalently, c is a conic combination of the normal directions at the corner point, that is, there are multipliers α1 ≥0 and α2 ≥0, such as c= α1 ai1+ α2 ai2, in the 2-dimensional case. In the n-dimensional case: c= α1 ai1+…+ αn ain where ai1,…, ain are the normal directions associated with the corner point. Lecture #3; Based on slides by Yinyu Ye

LP in Standard (Equality) Form Lecture #3; Based on slides by Yinyu Ye

Reduction to Standard Form max cTx to min – cTx Eliminating ”free” variables: substitute with the difference of two nonnegative variables x := xl − xll, (xl, xll) ≥ 0. Eliminating inequalities: add a slack variable aT x ≤ b = ⇒ aT x + s = b, s ≥ 0 aT x ≥ b = ⇒ aT x − s = b, s ≥ 0 Lecture #3; Based on slides by Yinyu Ye

Reduction of the Production Problem min -x1 -2x2 s.t. x1 +x3 = 1 x2 +x4 +x2 +x5 = 1.5 (x1, x2, x3, x4, x5) ≥ 0 x3, x4,and x5 are called slack variables Lecture #3; Based on slides by Yinyu Ye

Basic and Basic Feasible Solution In the LP standard form, select m linearly independent columns, denoted by the variable index set B, from A. Solve AB xB = b for the dimension-m vector xB . By setting the variables, xN , of x corresponding to the remaining columns of A equal to zero, we obtain a solution x such that Ax = b. Then, x is said to be a basic solution to (LP) with respect to the basic variable set B. The variables in xB are called basic variables, those in xN are nonbasic variables, and AB is called a basis. If a basic solution xB ≥ 0, then x is called a basic feasible solution, or BFS. Note that AB and xB follow the same index order in B. Two BFS are adjacent if they differ by exactly one basic variable. Lecture #3; Based on slides by Yinyu Ye

BS of the Production Problem in Equality Form x1 x2 x1 +x3 = 1 x2 +x4 +x2 +x5 = 1.5 (x1, x2, x3, x4, x5) ≥ 0 Basis 3,4,5 1,4,5 3,4,1 3,2,5 3,4,2 1,2,3 1,2,4 1,2,5 Feasible? √ x1 , x2 0, 0 1, 0 1.5, 0 0, 1 0, 1.5 .5, 1 1, .5 1, 1 Lecture #3; Based on slides by Yinyu Ye

BFS and Corner Point Equivalence Theorem Theorem Consider the feasible region in the standard LP form. Then, a basic feasible solution and a corner (extreme) point are equivalent; the formal is algebraic and the latter is geometric. Algorithmically, we need only to look at BFSs for finding an optimizer. But still too many to look… Lecture #3; Based on slides by Yinyu Ye