AMATH 383 Lecture Notes Linear Programming

Size: px
Start display at page:

Download "AMATH 383 Lecture Notes Linear Programming"

Transcription

1 AMATH 8 Lecture Notes Linear Programming Jakob Kotas (jkotas@uw.edu) University of Washington February 4, 014 Based on lecture notes for IND E 51 by Zelda Zabinsky, available from These notes are not copyrighted and are free for distribution for academic purposes. Corrections should be directed to the author. A linear program is a technique for optimization of a linear objective function linear equality and inequality constraints. 1 1D Case The easiest nontrivial example of an LP would be to minimize a linear function in one variable. As an example: min x x 1,xapple 4 We call the function that we are minimizing (or maximizing) the objective function and the limits on x the constraints. Here we have two inequality constraints, but we can also have equality constraints. If the objective function and constraints are linear in the variables we are solving over, this is called a linear program (LP). Without knowing anything about linear programming, it is clear that the solution (or objective function value ) of this problem is -, which occurs at the optimal value of x = 1. Adding a constant value to the objective function will change the objective function value, but not the optimal value of x. Thus if our real objective function from whatever application we are looking at contains a constant, we usually leave it o the optimization problem and just add it back on later. It should also be obvious that an endpoint will always be an optimal value for a 1D linear problem. What if the objective function had slope zero? 1

2 min x 1,xapple 4 In this case, there are infinitely many x values that are optimal (all x in [-1,4]), resulting in an objective function value of -. Note that the infinite solutions of x also contain both endpoints, thus, it does not violate the rule that an (at least one) endpoint is a solution to the LP. It is also possible that the domain, which is defined by the constraints, could be unbounded. For example: min x x 1 This is the same as the first example except we have removed the constraint x apple 4. In this case, the final answer is still the same: the optimal value of x is still 1, and the optimal objective function value is still. This is because we weren t using the constraint x apple 4 anyway. We say that the constraint x apple 4 was inactive. What if we removed the constraint x 1 instead? This is an active constraint, because it is what limits our x from dropping any lower. The problem would become min x x apple 4 In this case, the optimal value of x and the optimal objective function value are both 1 and we say the problem is unbounded. If the problem is bounded, there exists a finite optimal objective function value. If the problem is unbounded, there may or may not exist such a value. We can see that removing a constraint in a minimization problem can only ever lower our objective function value, or keep it the same, but never make it rise. Similarly adding a constraint can only ever raise our objective function value or keep it the same. The opposite is true in a maximization problem. Finally let s discuss what is known as a redundant constraint. This is a constraint that doesn t matter because it can never become active. An example would be min x x 1,xapple 4,x The third constraint, x is redundant because any x that satisfies the constraint x 1 automatically satisfies the constraint x. We call a value of x that satisfies all the constraints a feasible x, and the domain defined by the constraints the feasible region.

3 D Case Now let s look at a more advanced problem, a linear problem with two variables. In D, the feasible region will be a convex polygon. We say a polygon is convex if there does not exist a set of two points within the polygon such that the whole line segment between those two points is contained within the polygon. An equivalent definition is that the polygon s interior angles are all apple 180. The notion of endpoints in the 1D case is translated to vertices in the D case. A vertex is a point where at least two constraints are active. (Note: how could there be more than two constraints active anywhere? If there is a degenerate constraint: three or more constraints intersecting at a single vertex.) Thus, we can always solve an LP by checking the objective function value at every vertex. However, as the number of variables (dimensions) grows, the number of vertices grows exponentially in the number of dimensions, making checking every vertex prohibitively time-costly. We will soon explain a smarter way of finding the optimum, but first, an example. An example of a degenerate point (C). We also see an example of a redundant constraint, the nearly-vertical line on the left side. Image from Wikimedia Commons.

4 Diet problem Here we present the first example of a linear problem. We seek to decide the number of units of di erent foods to consume every day so we meet the minimum daily requirement (MDR) of di erent nutrients at minimum cost. wheat rye MDR carbs/unit 5 8 protein/unit 4 15 vitamins/unit 1 cost/unit Let x be the number of units of wheat and y be the number of units of rye to consume every day. The LP becomes min 0.6x +0.5y 5x +y 8 4x +y 15 x + y x 0 y 0 Notice the feasible region is unbounded, as x and y can be arbitrarily large. First we plot the feasible region alone, defined as the region above the three lines in the plot: 4

5 Note that only the second constraint is non-redundant. Then we can visualize the problem by plotting the objective function value as the z axis on a surface plot. The notch in the lower corner of the plane is due to the constraints. Here we have only plotted x and y up to 10, but due to linearity, the objective value will not be improved by considering any larger values than these. It appears that the optimal values of x and y are roughly 4 and 0, respectively, and that the objective function value is around 1.5. Ok, but how would we solve this problem more precisely and methodically? Furthermore, this visual approach is not going to work for higher dimensions. 5

6 4 Alloy mix problem Now we present a more complex problem in 4 dimensions. Say we have four metals A,B,C,D. metal density carbon % phosphorus % price $/kg A B C D We want to make an alloy at minimum cost having the following requirements: range density carbon % phosphorus % min max We will decide the amount of x A,x B,x C,x D per 1 kg of alloy. The LP is: min x A +.5x B +1.5x C +x D 6500x A x B + 600x C x D x A x B + 600x C x D apple x A +0.5x B +0.15x C +0.11x D x A +0.5x B +0.15x C +0.11x D apple x A x B x C +0.1x D x A x B x C +0.1x D apple x A + x B + x C + x D =1 x A 0 x B 0 x C 0 x D 0 (Why don t we need the constraints x A,x B,x C,x D apple 1? Because it would be redundant.) Now it s suddenly impossible to see graphically where the vertices are, much less which one would minimize the objective function value. Next we introduce an algorithm to methodically choose the optimal vertex that solves the LP. 6

7 5 Simplex method Image from Wikimedia Commons George Dantzig published the simplex method in 194. It is an algorithm that jumps from one vertex to an adjacent vertex always in a direction that improves the objective function value. We will assume for the moment that every vertex is nondegenerate, and that we already know the location of one vertex, which will be our starting point for the algorithm. Before we get to the algorithm, we need to put our problem in a specific form that the algorithm will operate on. It can be shown that all convex polyhedra can be transformed to standard form: A = {x R n Ax = b, x 0} Where A is an m n matrix and b R m. This means there are m equality constraints in n nonnegative variables with m < n. Equality constraints and nonnegativity constraints easily fit into this framework. Inequality constraints can also be expressed in this way with the addition of a new variable that will bring one equality and one nonnegativity constraint. For example, say we have the inequality constraint This is equivalent to x +4y +5z apple 10 x +4y +5z + w = 10 w 0 here, w is called the slack variable. In the reverse case, we introduce a surplus variable: becomes x +8y 9z 5 x +8y 9z w = 5 w 0

8 A theorem states that a vector x R n is a vertex of the polyhedron i Ax = b, at least n m of the components of x are zero, and the columns of A corresponding to the indices of the nonzero entries of x are linearly independent. If Ax = b and exactly n m of the components of x are zero, then x is a nondegenerate vertex. This would be a good time for a few examples. Example 1 We look at the polygon: x + y apple 1 x, y 0 We introduce the slack variable w and convert the feasible polygon to standard form: x + y + w =1 x, y, w 0 This can be written in matrix form: x y w 5 = [1] x, y, w 0 apple apple apple The original vertices were,, and. Now that our decision vector includes the slack variable w, we must write the vector includingthe w for each. Itis easy to determine x 0 0 w since we know x + y + w = 1. So our vertices in 4 y 5 form are 4 0 5, 4 1 5, and w We see that our matrix is 1, so m = 1, and n =. n m =soweknowthere must be at least zeros in a point for it to be a vertex, and exactly if it is nondegenerate. This checks out! 8

9 Example We take the polygon: x + y apple 1 x apple 1 x, y 0 We introduce the slack variables w and z and convert the feasible polygon to standard form: x + y + w =1 or, in matrix form, apple x + z =1 x, y, w, z x y w z 5 = apple 1 1 After solving for w and z for each of the known vertices, we arrive at , , Now we have n = 4, m =, and n m =, so these three are all vertices, the last of which degenerate since it has zeros. This is confirmed in the above plot of the feasible region. 9

10 Example We take the polygon: x 1 + x +x apple 8 x +6x apple 1 x 1 apple 4 x apple 6 x 1,x,x 0 We add the nonnegative slack variables x 4,x 5,x 6,x to eliminate inequality constraints: x 1 + x +x + x 4 =8 x +6x + x 5 = 1 x 1 + x 6 =4 x + x =6 x 1,x,x,x 4,x 5,x 6,x 0 We assemble the vector x = x 1 x x 0 and write the above system in matrix form: x = Let s look at the point x = Is it a vertex? (We also sometimes call vertices basic feasible solutions, or BFS.) Matrix multiplication confirms that Ax = b. Since n =, and m = 4, we know x will be a vertex if at least n m = components of x are zero. Here, we have 4 components of x zero, so x is a degenerate vertex. Look at y = Again Ay = b, but now we have zero components, so y is a nondegenerate vertex. So now we look at the general case. We seek to solve standard form LPs : min c 0 x Ax = b, x 0. Let x be a nondegenerate BFS of the feasible polyhedron. Let B(1), B(), B(m) be the indices of the basic variables: these are the nonzero elements of x. Nondegeneracy of x ensures that there will indeed be exactly m such indices. For example, the nondegenerate BFS has B(1) = 1,B() =,B() = 5, and B(4) = 6. 10

11 Then, let B be the basis matrix : B = A B(1) A B() A B(m) We can see that x B, the vector of only the nonzero elements of x, is x B = B 1 b. We then seek to move from x to x + d, where is a vector along the direction of an edge towards another vertex. We will do this by selecting a nonbasic variable x j which is currently at zero level, and increasing it to a positive value, while keeping the remaining nonbasic variables at zero. Thus d j = 1, and d i = 0 for every nonbasic i other than j. The vector of basic variables x B changes to x B + d B,whered B = d B(1) d B() d B(m) 0. But how do we find d B? We know that Ax = b and we want A(x + d) =b for > 0. Therefore A(x + d) =b + Ad = b ) Ad =0. 0=Ad = nx mx A i d i = A B(i) d B(i) + A j = Bd B + A j ) d B = i=1 i=1 B 1 A j We know that B 1 exists since the columns of B are LI. The direction d is called the jth basic direction. We ensured that equality constraints hold. How about nonnegativity? If x is nondegenerate, x B > 0, and x B + d B 0 for su ciently small. So as we move along in the direction of d, we expect that the value of the objective function is improving. At what rate? It would be c 0 (x + d) c 0 x = c 0 d (per unit travelled in d). nx mx c 0 d = c i d i = c B(i) d B(i) + c j = c 0 Bd B + c j = c j c 0 BB 1 A j i=1 i=1 where c 0 B = c B(1) c B() c B(m). We call this final quantity the reduced cost c j : c j = c j c 0 BB 1 A j A theorem states that if c 0, then x is optimal. But we can t keep going along d forever, or we will exit the feasible region. We must stop at the next vertex. This means we should go to the maximum possible,,whilestaying in the polyhedron. = max{ 0 x + d P } where P is the standard form polyhedron for our problem. x + d always satisfies Ax = b by design. Thus it can become infeasible only if one of its components < 0. If d 0, then x + d 0 for all 0. We let!1and the problem is 11

12 unbounded. Otherwise, we want x i + d i to be satisfied for every i with d i < 0. Solving for gives: = min i d(i)<0 x i d i (remembering that d i < 0 which leads to an additional flip in the sign of the inequality.) We move to x + d and repeat the algorithm. 6 Example: Simplex Method We solve the following standard form LP by the simplex method: min x 1 x 1 + x + x + x 4 = x 1 + x +4x 4 = x 1,x,x,x 4 0 Converting the constraint to matrix form: apple apple x = 0 4, x 0 Take the point x = as our initial vertex. Matrix multiplication confirms x satisfies Ax = b, and n = 4, m =, so n m = and x has two zero components, so x is nondegenerate. Thus this is a valid initial vertex to begin the simplex algorithm. Since the indices of our basic (nonzero) variables are 1 and, B will be composed of the 1st and nd columns of A: B = apple ) B 1 = apple 0 1/ 1 1/ Similarly, since c =[, 0, 0, 0] 0, and the basic variables have index 1 and, we get c B = [, 0] 0. Let s calculate the reduced costs to see if we are optimal at this point. We calculate all the reduced costs at once with a single calculation: c 0 = c 0 c 0 BB 1 A apple 0 1/ = [ 0 0 0] [ 0] 1 1/ apple =[0 0 4] Note that c will always be 0 in the indices of the basic variables. nonpositive elements, this x is not optimal. Here, since c has 1

13 We could choose either the rd or 4th variable to enter the basis as we move to the next vertex, since both have negative reduced cost. Let s let the rd variable enter. We need to find d, the direction of motion. We have an equation for d B : d B = apple d1 d = B 1 A = apple / 1/ d is 1, since is the index of the entering variable. All other nonbasic variables have d = 0. In this case that just leaves d 4 = 0. So we have d =[ / 1/ 1 0] 0. Then we need to determine how far we can travel in the d direction: = min i d(i)<0 x i d i = x 1 d 1 = 1 / =/ The new vertex is y = x + d = / 1/ = / / 0 5 This vertex should have improved our objective function value. Did it? Before it was c 0 x =x 1 =, now it is c 0 y =y 1 = 0. We see that the third variable has entered the basis, replacing the first variable. Now the indices of our basic variables are,. (Note that this is not in order! It s because has replaced 1.) This y is nondegenerate because it has only zeros. We now revert to calling y x again, as we will restart the algorithm. So: and c B =[c c ] = [0 0]. B = apple c 0 = c 0 ) B 1 = c 0 BB 1 A = [ 0 0 0] apple 0 1/ 1 1/ Now we see that c 0, so the algorithm terminates. An optimal value of x =[x 1 x x x 4 ] 0 = [0 4/ / 0] 0 and the optimal function value is 0. Note that there may be other optimal values for x if there is a tie. 1

14 Solution of alloy mix problem Let s go back to the alloy mix problem and now solve it using the simplex method. We switch to matrix notation: min x x = where x 0 = x A x B x C x D s 1 s s s 4 s 5 s 6, x 0 5 In many problems, it is not obvious where to even start! We need a BFS to begin. Fortunately there is an additional part of the simplex method that can be done initially to find a BFS to begin with. We will not go through the details here, but it involves solving another LP before the one we actually seek to solve. In our case, the first LP gives us a starting BFS of: x 0 = We can check that n = 10, m =, thus there must be at least n m = zeros for a BFS, and exactly n m = if it is a nondegenerate BFS. This checks out. Furthermore, by matrix multiplication we see that it satisfies Ax = b. The basis indices for this BFS are 1,,4,6,,8,9. The matrix B corresponds to the square matrix made of these columns of A: B = and the basic cost vector c B corresponds to the vector made of these elements of c: c B = as before, the reduced cost vector is c 0 = c 0 c 0 B B 1 A 14

15 which is not nonnegative. However, after one iteration of the simplex method, we end up at the BFS x 0 = which has c 0. Thus, the optimal alloy mix is 1.4% metal A, 54.5% metal B, 8.1% metal D, and none of metal C. The optimal function value at this point is E ciency of the algorithm In practice, the simplex method is remarkably e cient. Most LPs are solvable in polynomial time, meaning that solving time scales with the problem size as a polynomial function. However in 19 a worst-case scenario was formulated that takes exponential time, which is equally bad as finding and checking all vertices. This is because in such a scenario the simplex method visits every vertex. In fact it has been shown that even variations on the method seem to always have a worst-case family of problems for which the algorithm takes exponential time. Nevertheless the simplex method and its variations continue to be in common use because of their relative simplicity and relatively fast computation speeds for most problems. 9 Employee scheduling & Integer programming LPs are very useful in the area of resource allocation. Let s look at the following example and formulate it as an LP. This example is from jensen/ormm/instruction/powerpoint/or models 09/0 lp.ppt A large company has a toll free hotline that is open 4- to answer questions regarding a new product. The following table summarizes the number of full-time equivalent (FTE) employees that must be on duty in each time block. Interval T ime F T Es

16 A large company may hire both full-time and part-time employees. The former work 8- hour shifts and the latter work 4-hour shifts; their respective hourly wages are 15.0and1.95. Employees may start work only at the beginning of 1 of 6 intervals. Part-time employees can only answer 5 calls in the time a full-time employee can answer 6 calls. (i.e., a part-time employee is only 5/6 of a full-time employee.) At least two-thirds of the employees working at any one time must be full-time employees. We let x t be the number of FTEs that begin the day at the start of interval t and work for 8 hours. Let y t be the number of part time employees that begin the day at interval t. We are trying to minimize the total wages given to all employees while fulfilling the constraints. min (x x 6 ) (y y 6 ) x 6 + x y 1 15 x 1 + x y 10 x + x y 40 x + x y 4 0 x 4 + x y 5 40 x 5 + x y 6 5 y 1 apple 1 (x 1 + x 6 ). y 6 apple 1 (x 5 + x 6 ) x t 0, y t 0 8t The output of the simplex method is x 1,...x 6 = , 0, 40, , , and y 1,...y 6 =0, , 0, , 0, 0. But how do we hire a fraction of a person? This problem is actually an integer program, because the output vector should be integervalued. However, the simplex method cannot solve integer programs. Integer programming is not as simple as it sounds i.e., you cannot just round the value from the simplex method to the nearest integer. This is a whole di erent class of problems with its own algorithms. However we will not cover them in this class. 16

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

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material

More information

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

Advanced Operations Research Techniques IE316. Quiz 2 Review. Dr. Ted Ralphs Advanced Operations Research Techniques IE316 Quiz 2 Review Dr. Ted Ralphs IE316 Quiz 2 Review 1 Reading for The Quiz Material covered in detail in lecture Bertsimas 4.1-4.5, 4.8, 5.1-5.5, 6.1-6.3 Material

More information

Chapter 15 Introduction to Linear Programming

Chapter 15 Introduction to Linear Programming Chapter 15 Introduction to Linear Programming An Introduction to Optimization Spring, 2015 Wei-Ta Chu 1 Brief History of Linear Programming The goal of linear programming is to determine the values of

More information

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

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 Mathematical programming (optimization) problem: min f (x) s.t. x X R n set of feasible solutions with linear objective function

More information

The Simplex Algorithm

The Simplex Algorithm The Simplex Algorithm Uri Feige November 2011 1 The simplex algorithm The simplex algorithm was designed by Danzig in 1947. This write-up presents the main ideas involved. It is a slight update (mostly

More information

Discrete Optimization. Lecture Notes 2

Discrete Optimization. Lecture Notes 2 Discrete Optimization. Lecture Notes 2 Disjunctive Constraints Defining variables and formulating linear constraints can be straightforward or more sophisticated, depending on the problem structure. The

More information

CMPSCI611: The Simplex Algorithm Lecture 24

CMPSCI611: The Simplex Algorithm Lecture 24 CMPSCI611: The Simplex Algorithm Lecture 24 Let s first review the general situation for linear programming problems. Our problem in standard form is to choose a vector x R n, such that x 0 and Ax = b,

More information

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

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension Antoine Vigneron King Abdullah University of Science and Technology November 7, 2012 Antoine Vigneron (KAUST) CS 372 Lecture

More information

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

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini DM545 Linear and Integer Programming Lecture 2 The Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. 4. Standard Form Basic Feasible Solutions

More information

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

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D. Linear Programming Module Outline Introduction The Linear Programming Model Examples of Linear Programming Problems Developing Linear Programming Models Graphical Solution to LP Problems The Simplex Method

More information

Design and Analysis of Algorithms (V)

Design and Analysis of Algorithms (V) Design and Analysis of Algorithms (V) An Introduction to Linear Programming Guoqiang Li School of Software, Shanghai Jiao Tong University Homework Assignment 2 is announced! (deadline Apr. 10) Linear Programming

More information

Introduction to Linear Programming

Introduction to Linear Programming Introduction to Linear Programming Eric Feron (updated Sommer Gentry) (updated by Paul Robertson) 16.410/16.413 Historical aspects Examples of Linear programs Historical contributor: G. Dantzig, late 1940

More information

Linear Programming in Small Dimensions

Linear Programming in Small Dimensions Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional

More information

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Mathematical and Algorithmic Foundations Linear Programming and Matchings Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis

More information

COLUMN GENERATION IN LINEAR PROGRAMMING

COLUMN GENERATION IN LINEAR PROGRAMMING COLUMN GENERATION IN LINEAR PROGRAMMING EXAMPLE: THE CUTTING STOCK PROBLEM A certain material (e.g. lumber) is stocked in lengths of 9, 4, and 6 feet, with respective costs of $5, $9, and $. An order for

More information

Linear programming II João Carlos Lourenço

Linear programming II João Carlos Lourenço Decision Support Models Linear programming II João Carlos Lourenço joao.lourenco@ist.utl.pt Academic year 2012/2013 Readings: Hillier, F.S., Lieberman, G.J., 2010. Introduction to Operations Research,

More information

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

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014 5/2/24 Outline CS38 Introduction to Algorithms Lecture 5 May 2, 24 Linear programming simplex algorithm LP duality ellipsoid algorithm * slides from Kevin Wayne May 2, 24 CS38 Lecture 5 May 2, 24 CS38

More information

3 INTEGER LINEAR PROGRAMMING

3 INTEGER LINEAR PROGRAMMING 3 INTEGER LINEAR PROGRAMMING PROBLEM DEFINITION Integer linear programming problem (ILP) of the decision variables x 1,..,x n : (ILP) subject to minimize c x j j n j= 1 a ij x j x j 0 x j integer n j=

More information

Lecture 4: Linear Programming

Lecture 4: Linear Programming COMP36111: Advanced Algorithms I Lecture 4: Linear Programming Ian Pratt-Hartmann Room KB2.38: email: ipratt@cs.man.ac.uk 2017 18 Outline The Linear Programming Problem Geometrical analysis The Simplex

More information

Integer Programming Theory

Integer Programming Theory Integer Programming Theory Laura Galli October 24, 2016 In the following we assume all functions are linear, hence we often drop the term linear. In discrete optimization, we seek to find a solution x

More information

Econ 172A - Slides from Lecture 2

Econ 172A - Slides from Lecture 2 Econ 205 Sobel Econ 172A - Slides from Lecture 2 Joel Sobel September 28, 2010 Announcements 1. Sections this evening (Peterson 110, 8-9 or 9-10). 2. Podcasts available when I remember to use microphone.

More information

Linear Programming. them such that they

Linear Programming. them such that they Linear Programming l Another "Sledgehammer" in our toolkit l Many problems fit into the Linear Programming approach l These are optimization tasks where both the constraints and the objective are linear

More information

16.410/413 Principles of Autonomy and Decision Making

16.410/413 Principles of Autonomy and Decision Making 16.410/413 Principles of Autonomy and Decision Making Lecture 17: The Simplex Method Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute of Technology November 10, 2010 Frazzoli (MIT)

More information

An iteration of the simplex method (a pivot )

An iteration of the simplex method (a pivot ) Recap, and outline of Lecture 13 Previously Developed and justified all the steps in a typical iteration ( pivot ) of the Simplex Method (see next page). Today Simplex Method Initialization Start with

More information

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

R n a T i x = b i} is a Hyperplane. Geometry of LPs Consider the following LP : min {c T x a T i x b i The feasible region is i =1,...,m}. X := {x R n a T i x b i i =1,...,m} = m i=1 {x Rn a T i x b i} }{{} X i The set X i is a Half-space.

More information

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch. Iterative Improvement Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change the current feasible

More information

Linear Programming. Meaning of Linear Programming. Basic Terminology

Linear Programming. Meaning of Linear Programming. Basic Terminology Linear Programming Linear Programming (LP) is a versatile technique for assigning a fixed amount of resources among competing factors, in such a way that some objective is optimized and other defined conditions

More information

Some Advanced Topics in Linear Programming

Some Advanced Topics in Linear Programming Some Advanced Topics in Linear Programming Matthew J. Saltzman July 2, 995 Connections with Algebra and Geometry In this section, we will explore how some of the ideas in linear programming, duality theory,

More information

5 The Theory of the Simplex Method

5 The Theory of the Simplex Method 5 The Theory of the Simplex Method Chapter 4 introduced the basic mechanics of the simplex method. Now we shall delve a little more deeply into this algorithm by examining some of its underlying theory.

More information

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

Lecture notes on the simplex method September We will present an algorithm to solve linear programs of the form. maximize. Cornell University, Fall 2017 CS 6820: Algorithms Lecture notes on the simplex method September 2017 1 The Simplex Method We will present an algorithm to solve linear programs of the form maximize subject

More information

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way. University of Southern California Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research - Deterministic Models Fall

More information

LP Geometry: outline. A general LP. minimize x c T x s.t. a T i. x b i, i 2 M 1 a T i x = b i, i 2 M 3 x j 0, j 2 N 1. where

LP Geometry: outline. A general LP. minimize x c T x s.t. a T i. x b i, i 2 M 1 a T i x = b i, i 2 M 3 x j 0, j 2 N 1. where LP Geometry: outline I Polyhedra I Extreme points, vertices, basic feasible solutions I Degeneracy I Existence of extreme points I Optimality of extreme points IOE 610: LP II, Fall 2013 Geometry of Linear

More information

Chapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs

Chapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs Chapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs The simplex method, invented by George Dantzig in 1947, is the basic workhorse for solving linear programs, even today. While

More information

OPERATIONS RESEARCH. Linear Programming Problem

OPERATIONS RESEARCH. Linear Programming Problem OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com 1.0 Introduction Linear programming

More information

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

Section Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017 Section Notes 5 Review of Linear Programming Applied Math / Engineering Sciences 121 Week of October 15, 2017 The following list of topics is an overview of the material that was covered in the lectures

More information

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

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity Marc Uetz University of Twente m.uetz@utwente.nl Lecture 5: sheet 1 / 26 Marc Uetz Discrete Optimization Outline 1 Min-Cost Flows

More information

Math 273a: Optimization Linear programming

Math 273a: Optimization Linear programming Math 273a: Optimization Linear programming Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 some material taken from the textbook Chong-Zak, 4th Ed. History The word programming used traditionally

More information

Programming, numerics and optimization

Programming, numerics and optimization Programming, numerics and optimization Lecture C-4: Constrained optimization Łukasz Jankowski ljank@ippt.pan.pl Institute of Fundamental Technological Research Room 4.32, Phone +22.8261281 ext. 428 June

More information

CSE 40/60236 Sam Bailey

CSE 40/60236 Sam Bailey CSE 40/60236 Sam Bailey Solution: any point in the variable space (both feasible and infeasible) Cornerpoint solution: anywhere two or more constraints intersect; could be feasible or infeasible Feasible

More information

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

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming Linear Programming 3 describes a broad class of optimization tasks in which both the optimization criterion and the constraints are linear functions. Linear Programming consists of three parts: A set of

More information

Graphical Methods in Linear Programming

Graphical Methods in Linear Programming Appendix 2 Graphical Methods in Linear Programming We can use graphical methods to solve linear optimization problems involving two variables. When there are two variables in the problem, we can refer

More information

Linear Programming Duality and Algorithms

Linear Programming Duality and Algorithms COMPSCI 330: Design and Analysis of Algorithms 4/5/2016 and 4/7/2016 Linear Programming Duality and Algorithms Lecturer: Debmalya Panigrahi Scribe: Tianqi Song 1 Overview In this lecture, we will cover

More information

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

Linear Optimization. Andongwisye John. November 17, Linkoping University. Andongwisye John (Linkoping University) November 17, / 25 Linear Optimization Andongwisye John Linkoping University November 17, 2016 Andongwisye John (Linkoping University) November 17, 2016 1 / 25 Overview 1 Egdes, One-Dimensional Faces, Adjacency of Extreme

More information

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS GRADO EN A.D.E. GRADO EN ECONOMÍA GRADO EN F.Y.C. ACADEMIC YEAR 2011-12 INDEX UNIT 1.- AN INTRODUCCTION TO OPTIMIZATION 2 UNIT 2.- NONLINEAR PROGRAMMING

More information

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD Linear programming is optimization problem where the objective function is linear and all equality and inequality constraints are linear. This problem was first

More information

NATCOR Convex Optimization Linear Programming 1

NATCOR Convex Optimization Linear Programming 1 NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 5 June 2018 What is linear programming (LP)? The most important model used in

More information

Linear Programming. Course review MS-E2140. v. 1.1

Linear Programming. Course review MS-E2140. v. 1.1 Linear Programming MS-E2140 Course review v. 1.1 Course structure Modeling techniques Linear programming theory and the Simplex method Duality theory Dual Simplex algorithm and sensitivity analysis Integer

More information

Read: H&L chapters 1-6

Read: H&L chapters 1-6 Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research Fall 2006 (Oct 16): Midterm Review http://www-scf.usc.edu/~ise330

More information

Chapter II. Linear Programming

Chapter II. Linear Programming 1 Chapter II Linear Programming 1. Introduction 2. Simplex Method 3. Duality Theory 4. Optimality Conditions 5. Applications (QP & SLP) 6. Sensitivity Analysis 7. Interior Point Methods 1 INTRODUCTION

More information

Lesson 08 Linear Programming

Lesson 08 Linear Programming Lesson 08 Linear Programming A mathematical approach to determine optimal (maximum or minimum) solutions to problems which involve restrictions on the variables involved. 08 - Linear Programming Applications

More information

Advanced Algorithms Linear Programming

Advanced Algorithms Linear Programming Reading: Advanced Algorithms Linear Programming CLRS, Chapter29 (2 nd ed. onward). Linear Algebra and Its Applications, by Gilbert Strang, chapter 8 Linear Programming, by Vasek Chvatal Introduction to

More information

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

a) Alternative Optima, b) Infeasible(or non existing) solution, c) unbounded solution. Unit 1 Lesson 5. : Special cases of LPP Learning Outcomes Special cases of linear programming problems Alternative Optima Infeasible Solution Unboundedness In the previous lecture we have discussed some

More information

Linear programming and duality theory

Linear programming and duality theory Linear programming and duality theory Complements of Operations Research Giovanni Righini Linear Programming (LP) A linear program is defined by linear constraints, a linear objective function. Its variables

More information

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

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs Introduction to Mathematical Programming IE496 Final Review Dr. Ted Ralphs IE496 Final Review 1 Course Wrap-up: Chapter 2 In the introduction, we discussed the general framework of mathematical modeling

More information

5.3 Cutting plane methods and Gomory fractional cuts

5.3 Cutting plane methods and Gomory fractional cuts 5.3 Cutting plane methods and Gomory fractional cuts (ILP) min c T x s.t. Ax b x 0integer feasible region X Assumption: a ij, c j and b i integer. Observation: The feasible region of an ILP can be described

More information

Lecture Notes 2: The Simplex Algorithm

Lecture Notes 2: The Simplex Algorithm Algorithmic Methods 25/10/2010 Lecture Notes 2: The Simplex Algorithm Professor: Yossi Azar Scribe:Kiril Solovey 1 Introduction In this lecture we will present the Simplex algorithm, finish some unresolved

More information

Notes for Lecture 18

Notes for Lecture 18 U.C. Berkeley CS17: Intro to CS Theory Handout N18 Professor Luca Trevisan November 6, 21 Notes for Lecture 18 1 Algorithms for Linear Programming Linear programming was first solved by the simplex method

More information

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

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture 18 All-Integer Dual Algorithm We continue the discussion on the all integer

More information

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

What is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 14 June 2016 What is linear programming (LP)? The most important model used in

More information

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

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016 Simulation Lecture O Optimization: Linear Programming Saeed Bastani April 06 Outline of the course Linear Programming ( lecture) Integer Programming ( lecture) Heuristics and Metaheursitics (3 lectures)

More information

Introduction. Linear because it requires linear functions. Programming as synonymous of planning.

Introduction. Linear because it requires linear functions. Programming as synonymous of planning. LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid-20th cent. Most common type of applications: allocate limited resources to competing

More information

Generalized Network Flow Programming

Generalized Network Flow Programming Appendix C Page Generalized Network Flow Programming This chapter adapts the bounded variable primal simplex method to the generalized minimum cost flow problem. Generalized networks are far more useful

More information

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

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm Instructor: Shaddin Dughmi Algorithms for Convex Optimization We will look at 2 algorithms in detail: Simplex and Ellipsoid.

More information

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

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture 16 Cutting Plane Algorithm We shall continue the discussion on integer programming,

More information

Lesson 17. Geometry and Algebra of Corner Points

Lesson 17. Geometry and Algebra of Corner Points SA305 Linear Programming Spring 2016 Asst. Prof. Nelson Uhan 0 Warm up Lesson 17. Geometry and Algebra of Corner Points Example 1. Consider the system of equations 3 + 7x 3 = 17 + 5 = 1 2 + 11x 3 = 24

More information

maximize minimize b T y subject to A T y c, 0 apple y. The problem on the right is in standard form so we can take its dual to get the LP c T x

maximize minimize b T y subject to A T y c, 0 apple y. The problem on the right is in standard form so we can take its dual to get the LP c T x 4 Duality Theory Recall from Section that the dual to an LP in standard form (P) is the LP maximize subject to c T x Ax apple b, apple x (D) minimize b T y subject to A T y c, apple y. Since the problem

More information

Chapter 7. Linear Programming Models: Graphical and Computer Methods

Chapter 7. Linear Programming Models: Graphical and Computer Methods Chapter 7 Linear Programming Models: Graphical and Computer Methods To accompany Quantitative Analysis for Management, Eleventh Edition, by Render, Stair, and Hanna Power Point slides created by Brian

More information

The Simplex Algorithm

The Simplex Algorithm The Simplex Algorithm April 25, 2005 We seek x 1,..., x n 0 which mini- Problem. mizes C(x 1,..., x n ) = c 1 x 1 + + c n x n, subject to the constraint Ax b, where A is m n, b = m 1. Through the introduction

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Combinatorial Optimization G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 1 GG A.I. 1/34 Outline 1 Motivation 2 Geometric resolution

More information

UNIT 2 LINEAR PROGRAMMING PROBLEMS

UNIT 2 LINEAR PROGRAMMING PROBLEMS UNIT 2 LINEAR PROGRAMMING PROBLEMS Structure 2.1 Introduction Objectives 2.2 Linear Programming Problem (LPP) 2.3 Mathematical Formulation of LPP 2.4 Graphical Solution of Linear Programming Problems 2.5

More information

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

15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018 15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018 In this lecture, we describe a very general problem called linear programming

More information

Linear Programming and its Applications

Linear Programming and its Applications 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

More information

Decision Aid Methodologies In Transportation Lecture 1: Polyhedra and Simplex method

Decision Aid Methodologies In Transportation Lecture 1: Polyhedra and Simplex method Decision Aid Methodologies In Transportation Lecture 1: Polyhedra and Simplex method Chen Jiang Hang Transportation and Mobility Laboratory April 15, 2013 Chen Jiang Hang (Transportation and Mobility Decision

More information

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

3. The Simplex algorithmn The Simplex algorithmn 3.1 Forms of linear programs 11 3.1 Forms of linear programs... 12 3.2 Basic feasible solutions... 13 3.3 The geometry of linear programs... 14 3.4 Local search among basic feasible solutions... 15 3.5 Organization in tableaus...

More information

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

Linear Programming. Readings: Read text section 11.6, and sections 1 and 2 of Tom Ferguson s notes (see course homepage). Linear Programming Learning Goals. Introduce Linear Programming Problems. Widget Example, Graphical Solution. Basic Theory: Feasible Set, Vertices, Existence of Solutions. Equivalent formulations. Outline

More information

Convex Optimization CMU-10725

Convex Optimization CMU-10725 Convex Optimization CMU-10725 Ellipsoid Methods Barnabás Póczos & Ryan Tibshirani Outline Linear programs Simplex algorithm Running time: Polynomial or Exponential? Cutting planes & Ellipsoid methods for

More information

Algorithmic Game Theory and Applications. Lecture 6: The Simplex Algorithm

Algorithmic Game Theory and Applications. Lecture 6: The Simplex Algorithm Algorithmic Game Theory and Applications Lecture 6: The Simplex Algorithm Kousha Etessami Recall our example 1 x + y

More information

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

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued. Linear Programming Widget Factory Example Learning Goals. Introduce Linear Programming Problems. Widget Example, Graphical Solution. Basic Theory:, Vertices, Existence of Solutions. Equivalent formulations.

More information

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

Lecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh Lecture 3 Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets Gérard Cornuéjols Tepper School of Business Carnegie Mellon University, Pittsburgh January 2016 Mixed Integer Linear Programming

More information

Linear Programming 1

Linear Programming 1 Linear Programming 1 Fei Li March 5, 2012 1 With references of Algorithms by S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani. Many of the problems for which we want algorithms are optimization tasks.

More information

Marginal and Sensitivity Analyses

Marginal and Sensitivity Analyses 8.1 Marginal and Sensitivity Analyses Katta G. Murty, IOE 510, LP, U. Of Michigan, Ann Arbor, Winter 1997. Consider LP in standard form: min z = cx, subject to Ax = b, x 0 where A m n and rank m. Theorem:

More information

Chapter 7. Linear programming and reductions

Chapter 7. Linear programming and reductions Chapter 7. Linear programming and reductions An introduction to linear programming In a linear programming problem we are given asetofvariables, and we want to assign real values to them so as to (1) satisfy

More information

Linear Programming: Introduction

Linear Programming: Introduction CSC 373 - Algorithm Design, Analysis, and Complexity Summer 2016 Lalla Mouatadid Linear Programming: Introduction A bit of a historical background about linear programming, that I stole from Jeff Erickson

More information

Chapter 4: The Mechanics of the Simplex Method

Chapter 4: The Mechanics of the Simplex Method Chapter 4: The Mechanics of the Simplex Method The simplex method is a remarkably simple and elegant algorithmic engine for solving linear programs. In this chapter we will examine the internal mechanics

More information

Mathematical Programming and Research Methods (Part II)

Mathematical Programming and Research Methods (Part II) Mathematical Programming and Research Methods (Part II) 4. Convexity and Optimization Massimiliano Pontil (based on previous lecture by Andreas Argyriou) 1 Today s Plan Convex sets and functions Types

More information

Mathematics. Linear Programming

Mathematics. Linear Programming Mathematics Linear Programming Table of Content 1. Linear inequations. 2. Terms of Linear Programming. 3. Mathematical formulation of a linear programming problem. 4. Graphical solution of two variable

More information

MATH 310 : Degeneracy and Geometry in the Simplex Method

MATH 310 : Degeneracy and Geometry in the Simplex Method MATH 310 : Degeneracy and Geometry in the Simplex Method Fayadhoi Ibrahima December 11, 2013 1 Introduction This project is exploring a bit deeper the study of the simplex method introduced in 1947 by

More information

Introduction to Linear Programing Problems

Introduction to Linear Programing Problems Paper: Linear Programming and Theory of Games Lesson: Introduction to Linear Programing Problems Lesson Developers: DR. MANOJ KUMAR VARSHNEY, College/Department: Department of Statistics, Hindu College,

More information

CSC 8301 Design & Analysis of Algorithms: Linear Programming

CSC 8301 Design & Analysis of Algorithms: Linear Programming CSC 8301 Design & Analysis of Algorithms: Linear Programming Professor Henry Carter Fall 2016 Iterative Improvement Start with a feasible solution Improve some part of the solution Repeat until the solution

More information

Linear Programming Motivation: The Diet Problem

Linear Programming Motivation: The Diet Problem Agenda We ve done Greedy Method Divide and Conquer Dynamic Programming Network Flows & Applications NP-completeness Now Linear Programming and the Simplex Method Hung Q. Ngo (SUNY at Buffalo) CSE 531 1

More information

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

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization? Linear and Integer Programming 15-853:Algorithms in the Real World Linear and Integer Programming I Introduction Geometric Interpretation Simplex Method Linear or Integer programming maximize z = c T x

More information

Lecture 2 - Introduction to Polytopes

Lecture 2 - Introduction to Polytopes Lecture 2 - Introduction to Polytopes Optimization and Approximation - ENS M1 Nicolas Bousquet 1 Reminder of Linear Algebra definitions Let x 1,..., x m be points in R n and λ 1,..., λ m be real numbers.

More information

UNIT 6 MODELLING DECISION PROBLEMS (LP)

UNIT 6 MODELLING DECISION PROBLEMS (LP) UNIT 6 MODELLING DECISION This unit: PROBLEMS (LP) Introduces the linear programming (LP) technique to solve decision problems 1 INTRODUCTION TO LINEAR PROGRAMMING A Linear Programming model seeks to maximize

More information

Math 5593 Linear Programming Lecture Notes

Math 5593 Linear Programming Lecture Notes Math 5593 Linear Programming Lecture Notes Unit II: Theory & Foundations (Convex Analysis) University of Colorado Denver, Fall 2013 Topics 1 Convex Sets 1 1.1 Basic Properties (Luenberger-Ye Appendix B.1).........................

More information

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

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 9.1 Linear Programming Suppose we are trying to approximate a minimization

More information

Fundamentals of Integer Programming

Fundamentals of Integer Programming Fundamentals of Integer Programming Di Yuan Department of Information Technology, Uppsala University January 2018 Outline Definition of integer programming Formulating some classical problems with integer

More information

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem . Tuesday, April The Network Simplex Method for Solving the Minimum Cost Flow Problem Quotes of the day I think that I shall never see A poem lovely as a tree. -- Joyce Kilmer Knowing trees, I understand

More information

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

MA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone: MA4254: Discrete Optimization Defeng Sun Department of Mathematics National University of Singapore Office: S14-04-25 Telephone: 6516 3343 Aims/Objectives: Discrete optimization deals with problems of

More information

LECTURES 3 and 4: Flows and Matchings

LECTURES 3 and 4: Flows and Matchings LECTURES 3 and 4: Flows and Matchings 1 Max Flow MAX FLOW (SP). Instance: Directed graph N = (V,A), two nodes s,t V, and capacities on the arcs c : A R +. A flow is a set of numbers on the arcs such that

More information

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

4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1 4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1 Definition: A Linear Programming (LP) problem is an optimization problem: where min f () s.t. X n the

More information