Linear Programming and its Applications

Similar documents
CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 50

Linear Programming: Introduction

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming

Applications of Linear Programming

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 29

Linear Programming in Small Dimensions

Linear programming and duality theory

The Simplex Algorithm for LP, and an Open Problem

Introduction to Linear Programming

Chapter 15 Introduction to Linear Programming

Lecture 4: Linear Programming

Linear Programming. Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015

ACTUALLY DOING IT : an Introduction to Polyhedral Computation

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

Design and Analysis of Algorithms (V)

4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD

OPERATIONS RESEARCH. Linear Programming Problem

J Linear Programming Algorithms

CMPSCI611: The Simplex Algorithm Lecture 24

Artificial Intelligence

16.410/413 Principles of Autonomy and Decision Making

Linear Programming Motivation: The Diet Problem

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

A linear program is an optimization problem of the form: minimize subject to

Lecture notes on the simplex method September We will present an algorithm to solve linear programs of the form. maximize.

16.410/413 Principles of Autonomy and Decision Making

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

maximize c, x subject to Ax b,

Lecture Notes 2: The Simplex Algorithm

Linear Programming 1

Lecture 5: Properties of convex sets

Submodularity Reading Group. Matroid Polytopes, Polymatroid. M. Pawan Kumar

Polyhedral Compilation Foundations

Some Advanced Topics in Linear Programming

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi

Real life Problem. Review

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Chapter 4 Concepts from Geometry

Programming, numerics and optimization

Lecture 2 - Introduction to Polytopes

Math 5593 Linear Programming Lecture Notes

Notes for Lecture 18

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

ORIE 6300 Mathematical Programming I September 2, Lecture 3

NATCOR Convex Optimization Linear Programming 1

Section Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017

Heuristic Optimization Today: Linear Programming. Tobias Friedrich Chair for Algorithm Engineering Hasso Plattner Institute, Potsdam

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

Convex Optimization CMU-10725

Linear Programming Duality and Algorithms

CS483 Analysis of Algorithms Lecture 09 Linear Programming 01

Computational Geometry

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 1: Introduction to Optimization. Instructor: Shaddin Dughmi

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36

COMP331/557. Chapter 2: The Geometry of Linear Programming. (Bertsimas & Tsitsiklis, Chapter 2)

What is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method

Linear Programming. Readings: Read text section 11.6, and sections 1 and 2 of Tom Ferguson s notes (see course homepage).

11 Linear Programming

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

The Simplex Algorithm

R n a T i x = b i} is a Hyperplane.

POLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if

Mathematics. Linear Programming

Convex Geometry arising in Optimization

MATH 890 HOMEWORK 2 DAVID MEREDITH

Identical text Minor difference Moved in S&W Wrong in S&W Not copied from Wiki 1

15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018

Advanced Operations Research Techniques IE316. Quiz 2 Review. Dr. Ted Ralphs

Lesson 17. Geometry and Algebra of Corner Points

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

5.3 Cutting plane methods and Gomory fractional cuts

Mathematical and Algorithmic Foundations Linear Programming and Matchings

3. The Simplex algorithmn The Simplex algorithmn 3.1 Forms of linear programs

Finite Math Linear Programming 1 May / 7

Lecture 9: Linear Programming

Tribhuvan University Institute Of Science and Technology Tribhuvan University Institute of Science and Technology

Integer Programming Theory

Math 273a: Optimization Linear programming

6.854 Advanced Algorithms. Scribes: Jay Kumar Sundararajan. Duality

Advanced Linear Programming. Organisation. Lecturers: Leen Stougie, CWI and Vrije Universiteit in Amsterdam

Linear Programming [Read Chapters F and G first.] Status: Text beta. Needs figures.

Linear Programming Problems

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

Math 414 Lecture 2 Everyone have a laptop?

IE 5531: Engineering Optimization I

Introduction to Linear Programing Problems

An introduction to pplex and the Simplex Method

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

Linear Optimization. Andongwisye John. November 17, Linkoping University. Andongwisye John (Linkoping University) November 17, / 25

Notes taken by Mea Wang. February 11, 2005

The Gift Wrapping Method in PHCpack

Linear Programming CISC4080, Computer Algorithms CIS, Fordham Univ. Linear Programming

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that

arxiv: v1 [cs.cc] 30 Jun 2017

What s Linear Programming? Often your try is to maximize or minimize an objective within given constraints

Voronoi diagram and Delaunay triangulation

Search and Intersection. O Rourke, Chapter 7 de Berg et al., Chapter 11

Transcription:

Linear Programming and its Applications

Outline for Today What is linear programming (LP)? Examples Formal definition Geometric intuition Why is LP useful? A first look at LP algorithms Duality

Linear Programming Example Maximize x1 + 6x2 Subject to x1 200 x2 300 x1 + x2 400 x1 0 x2 0

Linear Programming: General Formulation

Linear Programming: General Formulation Notes Inputs: a m x n real-valued matrix A, and vectors c in R n and b in R m Output: x We adopt the convention that vectors are columns. The number of variables is n, and the number of constraints is m There is one constraint per row of A

LP Variants There are many variants, all of which can easily be converted to canonical form: 1. The objective function can be maximized or minimize 2. Constraints can be equalities or inequalities 3. Variables need not be negative

Geometry of the Feasible Solution Space Two dimensions example p p p Feasible region The feasible region for a three-dimensional problem is a polygon Dasgupta et al.

Geometry of the Feasible Solution Space Two dimensions example p p p Feasible region Dotted lines show contour lines of the objective function Dasgupta et al.

Geometry of the Feasible Solution Space Two dimensions Erickson

Geometry of the Feasible Solution Space Two dimensions example p p p Feasible region Dotted lines show contour lines of the objective function Dasgupta et al.

Geometry of the Feasible Solution Space Three dimensions example The feasible region for a threedimensional problem is a polyhedron Dasgupta et al.

Geometry of the Feasible Solution Space Three dimensions example Each constraint corresponds to a plane that divides the polyhedron onto half-spaces The feasible region is the intersection of half-spaces (seven here) Exercise: Which inequality corresponds to each face of the polyhedron? Dasgupta et al.

Geometry of the Feasible Solution Space Three dimensions Moore and Mertens

Geometry of the Feasible Solution Space Three dimensions Moore and Mertens

Geometry of the Feasible Solution Space Observations With n variables, the feasible region is an n- dimensional convex polytope The set of values satisfying a given constraint corresponds to an (n-1)-dimensional hyperplane, or facet The vertices of the polytope are points at the intersection of at least n facets An edge connects two vertices, and is the intersection of n-1 facets The objective function is also an (n-1)-dimensional hyperplane

Geometry of the Feasible Solution Space Observations An optimum solution to a linear program always lies at a vertex of the feasible region, except possibly when the program has no solution (the feasible region is empty) the program has an infinite number of solutions (the feasible region is unbounded)

Geometry of the Feasible Solution Space Observations There may be more than one optimum solution The number of vertices of the feasible region (polytope) can grow exponentially with n

Why is Linear Programming Useful? It provides a natural and very general way to formulate optimization problems Exercise: formulate Max Flow as a linear program

Algorithms for LP: First try

Algorithms for LP: First try There are m constraints, so the feasible polytope has at most m facets Since each vertex is the intersection of (at least) n facets, there are at most (m choose n) vertices. Algorithm: Find each vertex v by taking the intersection of the hyperplanes corresponding to n constraints Check if v is feasible: does it satisfy all constraints? Compute c T v for each feasible v, and return the maximum

Algorithms for LP: First try There are m constraints, so the feasible polytope has at most m facets Since each vertex is the intersection of (at least) n facets, there are at most (m choose n) vertices. Algorithm: Find each vertex v by taking the intersection of the hyperplanes corresponding to n constraints Check if v is feasible: does it satisfy all constraints? Compute c T v for each feasible v, and return the maximum

Algorithms for LP: Simplex (informal)

Algorithms for LP: Simplex (informal)

Algorithms for LP: Simplex Let v be any vertex of the feasible region While there is a neighbor vʹ of v with better objective value: Set v = vʹ

History 1939: Russian mathematician Leonid Kantorovich first described the idea of formulating planning problems as linear programs Late 1950s: Linear programming was established as a major field of mathematical economics 1975: Kantorovich shared the Nobel Prize in economics with T. C. Koopmans, who coined the term linear programming. George B. Dantzig, who independently discovered linear programming in 1947 invented the simplex algorithm 2000: The simplex method was listed among the ten algorithms with the greatest influence on the development and practice of science and engineering in the 20 th century Moore and Mertens

Duality A way to verify that a feasible LP solution is optimal Dasgupta et al.

Duality Exercise: Can you find a certificate of optimality for our first example? Maximize x1 + 6x2 Subject to x1 200 x2 300 x1 + x2 400 x1 0 x2 0 Dasgupta et al.

Duality Dasgupta et al.

Duality Duality theorem If a linear program has a bounded optimum, then so does its dual, and the two optimum values coincide. Dasgupta et al.