CLASSICAL FORMS OF LINEAR PROGRAMS, CONVERSION TECHNIQUES, AND SOME NOTATION

Similar documents
LINEAR PROGRAMMING. Relation to the Text (cont.) Relation to Material in Text. Relation to the Text. Relation to the Text (cont.

The Simplex Algorithm

Part 1. The Review of Linear Programming Introduction

Linear Programming, Lecture 4

Understanding the Simplex algorithm. Standard Optimization Problems.

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

Variants of Simplex Method

Simplex Algorithm Using Canonical Tableaus

Part 1. The Review of Linear Programming

6.2: The Simplex Method: Maximization (with problem constraints of the form )

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

Contents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

Sensitivity Analysis and Duality

Lecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P)

How to Take the Dual of a Linear Program

F 1 F 2 Daily Requirement Cost N N N

Math 304 (Spring 2010) - Lecture 2

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

MAT016: Optimization

Notes taken by Graham Taylor. January 22, 2005

Chapter 5 Linear Programming (LP)

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

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

Written Examination

1 Simplex and Matrices

3. THE SIMPLEX ALGORITHM

Chapter 3. Vector spaces

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

Linear Programming: Simplex Algorithm. A function of several variables, f(x) issaidtobelinear if it satisþes the two

Midterm Review. Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A.

Algorithmic Game Theory and Applications. Lecture 7: The LP Duality Theorem

The Fundamental Insight

Lecture 2: The Simplex method

Chap6 Duality Theory and Sensitivity Analysis

Lesson 27 Linear Programming; The Simplex Method

9.1 Linear Programs in canonical form

II. Analysis of Linear Programming Solutions

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

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

g(t) = f(x 1 (t),..., x n (t)).

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Math Models of OR: Some Definitions

Lakehead University ECON 4117/5111 Mathematical Economics Fall 2002

Linear Programming Redux

Integer programming: an introduction. Alessandro Astolfi

Chapter 1 Vector Spaces

Game Theory. Greg Plaxton Theory in Programming Practice, Spring 2004 Department of Computer Science University of Texas at Austin

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Solving Dual Problems

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Lagrangian Methods for Constrained Optimization

MATH2070 Optimisation

OPTIMISATION /09 EXAM PREPARATION GUIDELINES

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I

Linear programs, convex polyhedra, extreme points

Linear Programming Duality

ELEMENTARY LINEAR ALGEBRA

A matrix over a field F is a rectangular array of elements from F. The symbol

x y = 1, 2x y + z = 2, and 3w + x + y + 2z = 0

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

Function Junction: Homework Examples from ACE

OPERATIONS RESEARCH. Linear Programming Problem

CS261: A Second Course in Algorithms Lecture #8: Linear Programming Duality (Part 1)

Duality Theory, Optimality Conditions

Example. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive

An introductory example

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Example. Determine the inverse of the given function (if it exists). f(x) = 3

Appendix PRELIMINARIES 1. THEOREMS OF ALTERNATIVES FOR SYSTEMS OF LINEAR CONSTRAINTS

Brief summary of linear programming and duality: Consider the linear program in standard form. (P ) min z = cx. x 0. (D) max yb. z = c B x B + c N x N

A Review of Linear Programming

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 12 Luca Trevisan October 3, 2017

GETTING STARTED INITIALIZATION

Chapter 1 Linear Programming. Paragraph 5 Duality

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

Relation of Pure Minimum Cost Flow Model to Linear Programming

ICS 6N Computational Linear Algebra Matrix Algebra

CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming

Extreme Abridgment of Boyd and Vandenberghe s Convex Optimization

5. Polynomial Functions and Equations

Linear Programming and the Simplex method

Essential Mathematics for Economists

Linear Programming Inverse Projection Theory Chapter 3

2. What is the x-intercept of line B? (a) (0, 3/2); (b) (0, 3); (c) ( 3/2, 0); (d) ( 3, 0); (e) None of these.

Topic: Primal-Dual Algorithms Date: We finished our discussion of randomized rounding and began talking about LP Duality.

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

3 Development of the Simplex Method Constructing Basic Solution Optimality Conditions The Simplex Method...

Chapter 6. Orthogonality

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

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

Operations Research Lecture 6: Integer Programming

Operations Research: Introduction. Concept of a Model

Chapter 9: Systems of Equations and Inequalities

A TOUR OF LINEAR ALGEBRA FOR JDEP 384H

1.1 Basic Algebra. 1.2 Equations and Inequalities. 1.3 Systems of Equations

E5295/5B5749 Convex optimization with engineering applications. Lecture 5. Convex programming and semidefinite programming

QUADRATIC MAJORIZATION 1. INTRODUCTION

Transcription:

(Revised) October 12, 2004 CLASSICAL FORMS OF LINEAR PROGRAMS, CONVERSION TECHNIQUES, AND SOME NOTATION Linear programming is the minimization (maximization) of a linear objective, say c1x 1 + c2x 2 + + cnx n, linear constraints The constraints can be of two types, equations or inequalities, a1x 1 + a2x 2 + + anx n { =} b Although the non-negativity constraint, x j 0, is a special case of the inequality constraint, it is usually treated separately It would seem that there is a combinatorially large number of different types of linear programs depending on whether the objective is to minimize of to maximize the objective, whether the constraints are individually equality or inequality, or if the variables are sign restricted or unrestricted in sign Fortunately, there are simple transformations which can convert the general case into simple classical forms Transformation 1: Maximizing f(x) = c1x 1 + c2x 2 + + cnx n is equivalent to minimizing g(x) = - c x - c x - - c x ; ie, -g(x) = f(x) 1 1 2 2 n n 1 2 1 1 2 2 * If f(x ) > f(x ) then g(x ) = - f(x ) < - f(x ) = g(x ) Thus if x maximizes f(x), then it minimizes g(x) and conversely Transformation 2: An inequality in one sense, say a1x 1 + a2x 2 + + anx n b, can be replaced by an inequality, - a x - a x - - a x - b, in the other sense 1 1 2 2 n n Transformation 3: An equality constraint, a1x 1 + a2x 2 + + anx n = b, can be replaced by two inequality constraints, a x + a x + + a x b and - a x - a x - - a x - b 1 1 2 2 n n 1 1 2 2 n n Transformation 4: An inequality constraint, a1x 1 + a2x 2 + + anx n b can be replaced by an equality constraint, a1x 1 + a2x 2 + + anx n + s = b by adding a non-negative variable s (s 0) called the slack variable Transformation 5: A variable x, unrestricted in sign, can be replaced using two non-negative variables, x and x, by x = x - x + Any place that x appears in either the objective or in a constraint, say as bx, we have bx = b(x - - x ) = bx - bx Of course, many values of x and x can give rise to the same value of x as long as their difference is the same But as long as they appear together as a difference in linear expressions their contributions is the same Using these devices any linear program can be converted into any one of several classical formats

The Standard Form: The standard form of a linear program is to express it as the minimum of a linear form, m equality constraints in n non-negative decision variables We can also assume, without loss of generality, that the coefficients in the right hand side of the equality constraints are non-negative (b 0, i = 1,,m) That is, we have: i minimize c1x 1 + c2x 2 + + cnxn in x 1, x 2, xn a x + a x + + a x = b a x + a x + + a x = b a x + a x + + a x = b 11 1 12 2 1n n 1 21 1 22 2 2n n 2 m1 1 m2 2 mn n m and x 1 0, x 2 0, x n 0 Note that the a ij's, c j's, and the b i's are given fixed constants, and the x j's are variables whose values are to be determined in the optimizations process The standard form is what we will be most concerned with for the moment Later we will consider another classical form of linear programs that we will find useful in our discussion of duality is called the symmetric form z = minimum c1x 1 + c2x 2 + + cnxn in x 1, x 2, xn a x + a x + + a x b a x + a x + + a x b a x + a x + + a x b 11 1 12 2 1n n 1 21 1 22 2 2n n 2 m1 1 m2 2 mn n m and x 1 0, x 2 0, x n 0 We also will deal with a canonical form when we start discussing solution methods for linear programs Note these transformations do not suffice to convert strict inequalities into standard form, or variables constrained to be strictly positive Classical Forms R Van Slyke p 2 (rev) October 19, 2003

We now consider an example illustrating the conversion of a general linear program into one in standard form z = Maximize 3x1-2x 2 +x4 Subject to 6x 1 +x 2 +x3 2 x 2 +x4 4 x 1 +x 2 +x 3 +x 4 = 4 and x 0, x 0, x 0 1 2 3 Applying Transformation 1 to the objective, and Transformations 2 and 4 for first and second constraints, and, finally, Transformation 5 to convert x 4 into the difference of two sign restricted variables we get: z = minimize -3x 1 +2x2 -x 4 +x4 6x 1 +x 2 +x3 -s 1 = 2 x 2 +x4 -x 4 +s 2 = 4 x 1 +x 2 +x 3 +x4 -x 4 = 4 and x 0, x 0, x 0, x 0, x 0, s 0, s 0 1 2 3 4 4 1 2 Note that instead of using Transformation 5 on x 4, one could solve the third constraint for x 4 and thereby eliminate it from the problem This gives a simpler standard form SOME NOTATION: The explicit representation of linear programs used above can be rather clumsy It can also obscure important features For these reasons a number of representations in terms of vectors, matrices, tableaus, and block diagrams have been proposed to represent linear programs In fact, entire computer modeling systems and languages are available just for converting from formulations which are convenient for applications to standard linear programming input Unfortunately, no single representation is best for all purposes In fact, for many purposes the explicit representation is the most useful So for a solid understanding of mathematical programming it is necessary to be fluent in a number of representations We introduce a few here which we will find immediately useful The explicit representation can be compacted by using summation notation In the case of the standard form we get: Classical Forms R Van Slyke p 3 (rev) October 19, 2003

Most commonly we use a matrix notation We represent the coefficients of the constraint as a matrix A with m rows and n columns This implies that the vector of decision variables, usually denoted x is a column vector with n components Similarly we represent the coefficients of the cost function which we are trying to minimize as an n dimensional row vector Finally, the constants in the constraint relations are generally represented as a m dimensional column vector, b We will usually not distinguish in our notation between row and column vectors; the context usually makes this clear Thus this notation, the standard form can be written: minimize cx Ax = b and x 0 Similarly, the symmetric form is given in our notation as: z = minimum cx Ax b and x 0 On occasion, it is useful to consider the matrix A as a collection of columns or rows We denote j by A i the ith row of A, and by A the jth column of A Using the column vector notation the standard form becomes: Sometimes we include the coefficients of the objective form in the column vectors yielding: Classical Forms R Van Slyke p 4 (rev) October 19, 2003

j j where  extends A by adding a zeroth component of c j Similarly b is extended by adding a 0 as the zeroth component U is a unit vector except with one 0 in the 0th component 0 The symmetric form using the row vector notation becomes: These show that linear programs can be considered as finding the cheapest combination of column vectors, or as finding a vector which satisfies a number of linear relations with the cheapest cost Shortly we will see geometric representations of both these interpretations Classical Forms R Van Slyke p 5 (rev) October 19, 2003

Exercises: 1 Convert the investment problem of the Aunt's money into standard form 2 Convert the following linear program to standard form z=maximize -x 1 +x 2 +x 3 +x4 x 1 +2x 3 = -1 x 2 +x 3 +x4 4 x 1 +x 2 +x 3 +x4 0 and x 2 0, x 4 0 Classical Forms R Van Slyke p 6 (rev) October 19, 2003