Applications of Linear Programming

Similar documents
Linear Programming and its Applications

Chapter 15 Introduction to Linear Programming

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

Introduction to Linear Programming

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

Real life Problem. Review

1 GIAPETTO S WOODCARVING PROBLEM

Quantitative Technique

A Real Life Application of Linear Programming

Linear Programming: Introduction

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

Linear programming and duality theory

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

Finite Math Linear Programming 1 May / 7

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

Graphing Linear Inequalities in Two Variables.

Convex Optimization CMU-10725

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

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

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

MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM2046 ENGINEERING MATHEMATICS IV TUTORIAL

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

Linear Programming in Small Dimensions

The Simplex Algorithm for LP, and an Open Problem

OPERATIONS RESEARCH. Linear Programming Problem

CMPSCI611: The Simplex Algorithm Lecture 24

11 Linear Programming

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

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

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

Linear Programming. L.W. Dasanayake Department of Economics University of Kelaniya

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

UNIT 6 MODELLING DECISION PROBLEMS (LP)

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization

Lecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh

Linear Programming Problems: Geometric Solutions

Chapter 7. Linear Programming Models: Graphical and Computer Methods

Artificial Intelligence

Giapetto s Woodcarving Problem

Linear Programming 1

Introduction to Linear Programing Problems

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Integer Programming Explained Through Gomory s Cutting Plane Algorithm and Column Generation

Chapter 4 Concepts from Geometry

Convex Geometry arising in Optimization

Lecture 5: Duality Theory

Linear Programming Duality and Algorithms

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

LINEAR PROGRAMMING INTRODUCTION 12.1 LINEAR PROGRAMMING. Three Classical Linear Programming Problems (L.P.P.)

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Lecture 2 - Introduction to Polytopes

LINEAR PROGRAMMING. Chapter Overview

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

LINEAR PROGRAMMING. Chapter Introduction

Design and Analysis of Algorithms (V)

Linear Programming. Meaning of Linear Programming. Basic Terminology

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

Discrete Optimization. Lecture Notes 2

MA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:

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

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

16.410/413 Principles of Autonomy and Decision Making

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

x Boundary Intercepts Test (0,0) Conclusion 2x+3y=12 (0,4), (6,0) 0>12 False 2x-y=2 (0,-2), (1,0) 0<2 True

Solving linear programming

ORIE 6300 Mathematical Programming I September 2, Lecture 3

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

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

CS671 Parallel Programming in the Many-Core Era

LECTURE 6: INTERIOR POINT METHOD. 1. Motivation 2. Basic concepts 3. Primal affine scaling algorithm 4. Dual affine scaling algorithm

Introduction to Linear Programming

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

Advanced Algorithms Linear Programming

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

Polyhedral Compilation Foundations

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

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

NOTATION AND TERMINOLOGY

Modelling of LP-problems (2WO09)

! Linear programming"! Duality "! Smallest enclosing disk"

Integer Programming ISE 418. Lecture 1. Dr. Ted Ralphs

CHAPTER 4 Linear Programming with Two Variables

Linear Programming. them such that they

Linear Mathematical Programming (LP)

Chapter 4 Linear Programming

Ec 181: Convex Analysis and Economic Theory

Lecture 9: Linear Programming

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

maximize c, x subject to Ax b,

OPTIMIZATION METHODS

Lecture 1: Introduction

LINEAR PROGRAMMING (LP), GRAPHICAL PRESENTATION GASPAR ASAMPANA

IE 5531: Engineering Optimization I

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD

ISE 203 OR I. Chapter 3 Introduction to Linear Programming. Asst. Prof. Dr. Nergiz Kasımbeyli

a) Alternative Optima, b) Infeasible(or non existing) solution, c) unbounded solution.

Math 273a: Optimization Linear programming

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

Lecture 5: Properties of convex sets

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Transcription:

Applications of Linear Programming lecturer: András London University of Szeged Institute of Informatics Department of Computational Optimization Lecture 1

Why LP? Linear programming (LP, also called linear optimization) is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships it is a special case of mathematical programming (mathematical optimization). Widely used in business and economics, and is also utilized for some engineering problems Industries that use linear programming models include transportation, energy, telecommunications, and manufacturing Useful in modeling diverse types of problems in, for instance planning routing scheduling assignment

Brief history Dates back to Fourier (1827, a method for solving LP) 1939 Kantorovich proposed a method for solving LP, same time Koopmans formulated classical economic problems as LPs (shared Nobel-prize in 1975) 1945-46 Danztig: general formulation for planning problems in US Air Force. Invented the simplex method 1979 Khachiyan s polynomial time algorithm 1984 Karmarkar s breakthrough: interior-point method for solving LP

LP standard form

Formulating a linear program 1 Choose decision variables 2 Choose an objective and an objective function linear function in variables 3 Choose constraints linear inequalities 4 Choose sign restrictions

Product mix A toy company makes two types of toys: toy soldiers and trains. Each toy is produced in two stages, first it is constructed in a carpentry shop, and then it is sent to a finishing shop, where it is varnished, vaxed, and polished. To make one toy soldier costs $10 for raw materials and $14 for labor; it takes 1 hour in the carpentry shop, and 2 hours for finishing. To make one train costs $9 for raw materials and $10 for labor; it takes 1 hour in the carpentry shop, and 1 hour for finishing. There are 80 hours available each week in the carpentry shop, and 100 hours for finishing. Each toy soldier is sold for $27 while each train for $21. Due to decreased demand for toy soldiers, the company plans to make and sell at most 40 toy soldiers; the number of trains is not restriced in any way. What is the optimum (best) product mix (i.e., what quantities of which products to make) that maximizes the profit (assuming all toys produced will be sold)?

Product mix: LP formulation

A more complicated example

Example: LP formulation

Example: let us see what is going on

Example: let us see what is going on

Product mix: graphical method

Product mix: graphical method

Product mix: graphical method

Graphical method A corner (extreme) point X of the region R every line through X intersects R in a segment whose one endpoint is X. Solving a linear program amounts to finding a best corner point by the following theorem. Theorem 1. If a linear program has an optimal solution, then it also has an optimal solution that is a corner point of the feasible region. Exercise. Try to find all corner points. Evaluate the objective function 3x 1 + 2x 2 at those points. Theorem 2. Every linear program has either 1 a unique optimal solution, or 2 multiple ( infinity) optimal solutions, or 3 is infeasible (has no feasible solution), or 4 is unbounded (no feasible solution is maximal).

In higher dimensions... R n : n-dimensional linear space over the real numbers elements: real vectors of n elements E n : n-dimensional Euclidean space, with an inner product operation and a distance function are defined as follows x, y = x T y = x 1 y 1 + x 2 y 2 +... + x n y n, x = x, x norm d(x, y) = x y 2 = (x 1 y 1 ) 2 + (x 2 y 2 ) 2 +... + (x n y n ) 2 This distance function is called the Euclidean metric. This formula expresses a special case of the Pythagorean theorem.

In higher dimensions... Point: an x E n vector LP feasible solutions points in E n. n-dimensional hyperplane: { x : x E n, a 1 x 1 + a 2 x 2 +... + a n x n = b }, where a 1, a 2,..., a n, b R given (fixed) numbers n-dimensional closed half-space: { x : x E n, a 1 x 1 + a 2 x 2 +... + a n x n b }, where a 1, a 2,..., a n, b R given (fixed) numbers linear constraints closed half-spaces ( ) and hyperplanes ( = ) Feasible region Intersection of half-spaces (and hyperplanes)

In higher dimensions... Polytope: bounded intersection of a finite set of half-spaces The set of feasible solutions (points) of a linear program forms a convex polytope (bounded or unbounded) Theorem 1. tells us that a linear objective function achieves its maximal value (if exists) in a corner (extreme) point of the feasible region (i.e. polytope). = See simplex algorithm (Lecture 2)