Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept (1)

Similar documents
Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept

Introduction to Operations Research. Linear Programming

Introduction to Operations Research

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role

MATH2070 Optimisation

Constrained Optimization. Unconstrained Optimization (1)

Column Generation. i = 1,, 255;

Nonlinear Programming (Hillier, Lieberman Chapter 13) CHEM-E7155 Production Planning and Control

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA

The Simplex Method for Solving a Linear Program Prof. Stephen Graves

Decision Procedures An Algorithmic Point of View

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.

Michælmas 2012 Operations Research III/IV 1

Chapter 6. Linear Programming: The Simplex Method. 6.1 Geometric Introduction to the Simplex Method

II. Analysis of Linear Programming Solutions

Ω R n is called the constraint set or feasible set. x 1

0.1 O. R. Katta G. Murty, IOE 510 Lecture slides Introductory Lecture. is any organization, large or small.

Introduction to linear programming

NONLINEAR. (Hillier & Lieberman Introduction to Operations Research, 8 th edition)

Part 1. The Review of Linear Programming Introduction

Review Questions, Final Exam

Optimization Models and Applications

Chapter 5 Linear Programming (LP)

Graphical and Computer Methods

MVE165/MMG631 Linear and integer optimization with applications Lecture 8 Discrete optimization: theory and algorithms

3. Duality: What is duality? Why does it matter? Sensitivity through duality.

Numerical Optimization

Linear Programming. (Com S 477/577 Notes) Yan-Bin Jia. Nov 28, 2017

Systems Analysis in Construction

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

Chapter 2: Linear Programming Basics. (Bertsimas & Tsitsiklis, Chapter 1)

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Review of Optimization Methods

Preprocessing. Complements of Operations Research. Giovanni Righini. Università degli Studi di Milano

Simplex tableau CE 377K. April 2, 2015

February 17, Simplex Method Continued

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

MS-E2140. Lecture 1. (course book chapters )

Lecture slides by Kevin Wayne

CSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1

The Theory of the Simplex Method. Chapter 5: Hillier and Lieberman Chapter 5: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

ORF 522. Linear Programming and Convex Analysis

M340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3.

Going from graphic solutions to algebraic

Linear Programming Applications. Transportation Problem

Lecture 2: The Simplex method. 1. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form.

Network Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini

The Simplex Method: An Example

An application of Linear Programming to a computer network

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

Algebraic Simplex Active Learning Module 4

Support Vector Machines. Introduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar

Contents. Set Theory. Functions and its Applications CHAPTER 1 CHAPTER 2. Preface... (v)

3E4: Modelling Choice

36106 Managerial Decision Modeling Linear Decision Models: Part II

Operations Research: Introduction. Concept of a Model

Solution 1 Linear programming illustrating maximisation

Linear Programming, Lecture 4

Lecture 9 Tuesday, 4/20/10. Linear Programming

Real-Time Optimization (RTO)

LINEAR PROGRAMMING I. a refreshing example standard form fundamental questions geometry linear algebra simplex algorithm

OPRE 6201 : 3. Special Cases

MS-E2140. Lecture 1. (course book chapters )

3 The Simplex Method. 3.1 Basic Solutions

Lecture 4: Optimization. Maximizing a function of a single variable

IE 5531: Engineering Optimization I

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

Introduction to the Simplex Algorithm Active Learning Module 3

Linear programming I João Carlos Lourenço

PART 4 INTEGER PROGRAMMING

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Linear programming: introduction and examples

3E4: Modelling Choice. Introduction to nonlinear programming. Announcements

Chapter 1 Linear Programming. Paragraph 5 Duality

15-780: LinearProgramming

TIM 206 Lecture 3: The Simplex Method

Example Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality

Defining quality standards for the analysis of solid samples

An Introduction to Linear Programming

Lecture 5 Simplex Method. September 2, 2009

Linear Programming. H. R. Alvarez A., Ph. D. 1

Lecture 4 September 15

Solution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem

Structured Problems and Algorithms

Support Vector Machines

56:171 Operations Research Fall 1998

Part 1. The Review of Linear Programming

Benders' Method Paul A Jensen

Linear programming: algebra

Linear and Integer Programming - ideas

7. Lecture notes on the ellipsoid algorithm

An introductory example

23. Cutting planes and branch & bound

Lesson 27 Linear Programming; The Simplex Method

Algorithmic Game Theory and Applications. Lecture 5: Introduction to Linear Programming

CEE Computer Applications. Mathematical Programming (LP) and Excel Solver

Symbolic Variable Elimination in Discrete and Continuous Graphical Models. Scott Sanner Ehsan Abbasnejad

Slide 1 Math 1520, Lecture 10

is called an integer programming (IP) problem. model is called a mixed integer programming (MIP)

Transcription:

Introduction to Linear Programming (LP) Mathematical Programming Concept LP Concept Standard Form Assumptions Consequences of Assumptions Solution Approach Solution Methods Typical Formulations Massachusetts Institute of Technology Intro. to Linear Programming Slide 1 of 18 Mathematical Programming (MP) Concept (1) Definition M.P. includes a range of powerful computer-based optimization methods Approach to Optimization M.P methods exploit peculiar features of the structure of a problem to get solutions efficiently Different M.P. methods exploit different structures or features Understanding which features apply to a particular problem -- and thus which method can apply -- is important Massachusetts Institute of Technology Intro. to Linear Programming Slide 2 of 18 1

Mathematical Programming (MP) Concept (2) Two Large Categories of Methods Those Valid for Convex Feasible Regions Linear Programming, etc These use a local search routine to reach global optimum Keep going up/down until reach top/bottom Very efficient -- but not always valid Those Valid for Non-Convex Feasible Regions Dynamic programming, etc These "enumerate" solutions to discover optimum They prune, that is, eliminate, possible solutions because these can be shown to be dominated Computations limit applicability to special situations, but good for options analysis Massachusetts Institute of Technology Intro. to Linear Programming Slide 3 of 18 LP Overview Special form of mathematical programming Equations must be linear Uses simple solution procedures Linear algebra Very powerful Extremely large problems 100,000 variables 1000's of constraints Note difference! Useful design information through Sensitivity Analysis Answers to "what if" questions Massachusetts Institute of Technology Intro. to Linear Programming Slide 4 of 18 2

Standard Form of LP - Three Parts Objective function maximize or minimize Y = Σ c i x i Y = c 1 x 1 + c 2 x 2 +... + c n x n X i known as decision variables Constraints subject to: a 11 x 1 + a 12 x 2 +... < = > b 1 a 21 x 1 + a 22 x 2 +... < = > b 2 a 31 x 1 + a 32 x 2 +... < = > b 3 Non-Negativity x i > 0 for all i Massachusetts Institute of Technology Intro. to Linear Programming Slide 5 of 18 Standard Form of LP -- Summary Optimize subject to: Y = c X A X (< or = or >) b X > 0 Massachusetts Institute of Technology Intro. to Linear Programming Slide 6 of 18 3

Linearity Additivity Non-Negativity Three LP Assumptions (1) Linearity of Objective Function and Constraints Essential Condition is: f(kx) = k f(x) for example: f(x) = 3 + 4X 1 + 2X 2 is NOT linear in the LP sense Implies Constant returns to scale (only first order terms) No "fixed charges" (no constants) Massachusetts Institute of Technology Intro. to Linear Programming Slide 7 of 18 Additivity: Three LP Assumptions (2) f(x 1, X 2,..., X n ) = f(x 1 ) + f(x 2 ) +... + f(x n ) no interactive effects among Xi terms assumes that individual segments of the problem operate as well independently as together Non-Negativity X i > 0 no fundamental difficulties except in particular situations Massachusetts Institute of Technology Intro. to Linear Programming Slide 8 of 18 4

Consequences of Assumptions Convexity of feasible region (if it exists!) Convex feasible region, with linear objective function, implies: Optimum will be on an edge of the feasible region Since edges are also linear Optimum is at a corner point (can be several in special cases) Note that corner points Constitute small, finite set Defined by solution of linear equations Bottom Line: Assumptions imply the existence of an efficient solution strategy Massachusetts Institute of Technology Intro. to Linear Programming Slide 9 of 18 Example for Assumptions minimize: Z = 3X 1 + 5X 2 s.t. X 1 + X 2 > 5 3X 1 + 2X 2 < 18 6X 1 + 5X 2 < 42-7X 1 + 8X 2 < 0 0 < X 1 < 4 0 < X 2 < 6 X 1 * = 4 X 2 * = 1 Massachusetts Institute of Technology Intro. to Linear Programming Slide 10 of 18 5

Find a corner point An "initial feasible solution" Solution Approach Proceed to improved corner points Stop when no further improvements are possible Massachusetts Institute of Technology Intro. to Linear Programming Slide 11 of 18 Solution Calculations To find a corner point it is necessary to solve system of constraint equations from linear algebra, this requires working with matrix of constraint equations, specifically, manipulating the determinants Amount of effort set by number of constraints Thus, number of constraints defines amount of effort This is why LP can handle many more decision variables than constraints Massachusetts Institute of Technology Intro. to Linear Programming Slide 12 of 18 6

Solution Methods Simplex The textbook method For step 2, select improved corners Always goes to best corner Searches until no further improvement possible Inefficient for real problems Not used in practice Practical methods - many exist - often proprietary Step 2 takes many forms Each best for different cases Very great efficiency possible A real art! Massachusetts Institute of Technology Intro. to Linear Programming Slide 13 of 18 Excel LP Methods Several LP methods available for simple problems What's Best Solver http://www.lindo.com/cgi-bin/ an Excel tool These methods use standard equation and need no special organization They provide all kinds of sensitivity information The difficult part is setting up the LP equations so that they make sense! Massachusetts Institute of Technology Intro. to Linear Programming Slide 14 of 18 7

Typical Formulations: "Transportation" Problem Objective = Minimize cost of moving a single commodity from sources "i" to uses "j" = Σ C ij X ij subject to: Amount shipped < Amount available Amount delivered > Uses Σ j X ij < S i Σ i X ij > S j Note: Matrix of constraint coefficients are all 0's and 1's Particularly efficient solutions Massachusetts Institute of Technology Intro. to Linear Programming Slide 15 of 18 Typical Formulations: "Blending" or "Diet" Problems Objective = Minimize cost of materials = Σ C i X i subject to: Limits on availability X i < Amounts given Maxima or minima on impurities, trace elements, nutritional requirements, etc... Σ a ij X i < = > b j Example: Minimize cost of steel alloy when only so much scrap is available, subject to limitations on carbon content, trace elements, etc. Massachusetts Institute of Technology Intro. to Linear Programming Slide 16 of 18 8

Typical Formulations: Activity Problems Objective = Minimize cost of production = Σ C i X i where X i represent activities, that is, specific ways or fixed ratios of using resources subject to: Limits on resources Σ a ij X i < = > b j Example: Minimize cost of delivering cargo where each activity represents the use of a different size of ship, each with its own implications for the use of crew, fuel, etc. Massachusetts Institute of Technology Intro. to Linear Programming Slide 17 of 18 Summary LP can handle very large problems Basic mathematics simple User can focus on definition of the problem Realistic problems require special techniques to deal with non-linearities, integral variables, etc. Can be very sophisticated This presentation is only an introduction! Massachusetts Institute of Technology Intro. to Linear Programming Slide 18 of 18 9