Integer Programming. Wolfram Wiesemann. November 17, 2009

Size: px
Start display at page:

Download "Integer Programming. Wolfram Wiesemann. November 17, 2009"

Transcription

1 Integer Programming Wolfram Wiesemann November 7, 2009

2 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

3 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

4 Definitions Mixed Integer Programming Problem. subject to Ax = b x j 0 min x 0 = c T x for j N = {,...,n} x j Z for j Z N. Note: x j N \ Z are continuous, as before. Pure Integer Programming Problem. Z = N {x 0 }, i.e., all variables (including slack and objective value) are integral. Can be achieved by scaling.

5 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

6 Obtaining a Pure Integer Progamming Problem Consider the following problem: subject to min x 0 = x 2 x 2 2 x + x x 2 x 2 2 x,x 2 0 x,x 2 Z. This is not a pure integer programming problem: x 0 not integral. Slack variables not integral.

7 Obtaining a Pure Integer Progamming Problem Step. Scale the equations of the model. min x 0 = 2x x 2 ( 6) subject to 2x + x 2 4 x 9x 2 4 x,x 2 0 x,x 2 Z. ( ) ( 6)

8 Obtaining a Pure Integer Progamming Problem Step 2. Insert (integral) slack variables: min x 0 = 2x x 2 subject to 2x + x 2 + x = 4 x 9x 2 + x 4 = 4 x,x 2,x,x 4 0 x,x 2,x,x 4 Z.

9 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

10 Capital Budgeting Company has resources i {,...,m}. Resource i has limited availability b i. Company can undertake projects j {,...,n}. Project j requires a ij units of resource i and gives revenues c j. Which projects should be undertaken such that the resource availabilities are observed and the revenues maximised? subject to max x n c j x j j= n a ij x j b i j= x j {0,} i {,...,m} j {,...,n}

11 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

12 Depot Location () Company has m potential distribution sites i {,...,m}. Building a distribution centre at site i costs f i. There are n customers j {,...,n}, each of whose demands need to be satisfied from one or more distribution centres. Satisfying fraction x ij of customer j s demand from distribution centre i costs c ij, given that centre i is built. Which distribution centres should be built, and how should the customer demand s be satisfied, to minimise costs?

13 Depot Location (2) subject to min x,y m f i y i + i= m i= j= n c ij x ij m x ij = i= x ij y i x ij 0 y i {0,} j {,...,n} i {,...,m}, j {,...,n} i {,...,m}, j {,...,n} i {,...,m}

14 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

15 Finite-Valued Variables Assume a variable x j can only take a finite number of values: x j {p,...,p m }. We can introduce variables zj,...,zm j constraint {0,} and add the Now, we can substiute x j with z j z m j =. p z j p m z m j in the objective function and all constraints.

16 Finite-Valued Variables Example. x j {,,} can be modeled as zj + zj 2 + zj = zj,zj 2,zj {0,}. We then substitute x j everywhere by zj + zj 2 + zj. Exercise. Is it possible to save variables here?

17 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

18 Logical Operations We can model logical operations on the constraints via integer variables. For example, the expression can be expressed by: where M is a large number. a T x b d T x e a T x Mδ b d T x M( δ) e δ {0,},

19 Logical Operations Example. We want to model the following problem: min x subject to x [0,] x 2. Solution. This can be expressed as: min x subject to x + Mδ x 2 M( δ) x 0.

20 Logical Operations Example. We want to model the following problem: min x x 2 subject to x + x 2 4 x x 2 but not both x,x 2 > x,x 2 0.

21 Logical Operations Solution. This can be expressed as: min x + x 2 subject to x + x 2 4 x Mδ x 2 M( δ) x + M( δ) x 2 + Mδ x,x 2 0.

22 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

23 The Big Picture Want to solve a pure IP problem: Don t know how to solve IP problems. Know how to solve continuous problems (Simplex). Outline of a solution procedure: Solve a continuous relaxation. Contains all originally feasible solutions, plus others. If optimal solution is integral, we are done. Otherwise, tighten the relaxation and repeat. Continuous relaxation: x j Z x j R. Tightening: Add cutting planes (cut off current optimum).

24 The Big Picture A cutting plane algorithm to solve pure integer programming problems works as follows.. Solve the IP problem with continuous variables instead of discrete ones. 2. If the resulting optimal solution x is integral, stop optimal solution found.. Generate a cut, i.e., a constraint which is satisfied by all feasible integer solutions but not by x. 4. Add this new constraint, resolve problem, and go back to (2). Terminates after finite number of iterations in (2). Resulting x is integral and optimal.

25 Consider the following problem: max x 0 = x + 8x 2 subject to x + x 2 6 x + 9x 2 4 x,x 2 0 x,x 2 Z.

26 Step. Solve the IP problem with continuous variables instead of discrete ones. 6 o 4 o o o o o o 2 o o o o o o o o o o o 0 o o o o o o o

27 Step 2. If the resulting optimal solution x is integral, stop optimal solution found. 6 o 4 o o x o o o o 2 o o o o o o o o o o o 0 o o o o o o o Resulting solution is x = (2.2,.7) and hence not integral.

28 Step. Generate a cut, i.e., a constraint which is satisfied by all feasible integer solutions but not by x. 6 o 4 o o x o o o o 2 o o o o o o o o o o o 0 o o o o o o o We generate cut 2x + x 2.

29 Step 4. Add this new constraint, resolve problem, and go back to (2). 6 o 4 o o o o o o 2 o o o o o o o o o o o 0 o o o o o o o New optimal solution is x = (,). Note: previous x is not feasible anymore.

30 Step 2. If the resulting optimal solution x is integral, stop optimal solution found. 6 o 4 o o o o o o x 2 o o o o o o o o o o o 0 o o o o o o o x = (,) is integral optimal solution found.

31 Remark. The cut we introduced only removed non-integral solutions. Cuts never cut off feasible solutions of the original IP problem! 6 o 4 o o o o o o 2 o o o o o o o o o o o 0 o o o o o o o

32 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

33 Ralph E. Gomory (* 929) Outline of an Algorithm for Integer Solutions to Linear Programs Bulletin of the American Mathematical Society, Vol. 64, pp , 98.

34 Gomory Cut Assume x,...,x n 0 and integral. We show how to construct a Gomory Cut for a x a n x n = b, where a j,b R (not necessarily integral). Note that this can be written as ( a +[a a ] )x }{{} +...+( a n +[a n a n ] )x }{{} n = b +[b b ], }{{} f f where β = max {α Z : α β} (largest integer smaller than or equal to β). f n

35 Gomory Cut We separate fractional and integral terms: ( a + f )x ( a n + f n )x n = b + f f x f n x n f = b a x... a n x n. Observations.. As x j Z for all feasible x, right-hand side is integral. 2. Thus, for all feasible x, left-hand side must be integral, too.. As 0 f <, x 0 and left-hand side integral, left-hand side must be non-negative. Consequence. f x f n x n f 0 f x f n x n f for every feasible x.

36 Gomory Cut Suppose Step of our cutting plane algorithm gives non-integral x. Then there is row in Simplex tableau with x i + j / I y ij x j = y i0 with y i0 / Z. Gomory Cut. Setting f j := y ij y ij, f := y i0 y i0, we get: f j x j f. j / I ( ) is fulfilled for all feasible x but not for x : j / I f jx j = 0 < f. ( )

37 Contents of this Lecture Mixed and Pure Integer Programming Problems Definitions Obtaining a Pure Integer Progamming Problem Examples Capital Budgeting Depot Location Further Uses of Integer Variables Finite-Valued Variables Logical Operations Solving IP Problems: Cutting Plane Algorithm Outline: Cutting Plane Algorithm Gomory Cuts Example

38 Consider the following problem: subject to max x + 4x 2 2 x + x 2 2 x 2 x 2 x,x 2 0 x,x 2 Z.

39 Step. Convert maximisation objective into minimisation. subject to min x 0 = x 4x 2 2 x + x 2 2 x 2 x 2 x,x 2 0 x,x 2 Z.

40 Step. Scale the equations of the problem. subject to min x 0 = x 4x 2 2 x + x 2 ( ) 2 x 2 x 2 ( ) x,x 2 0 x,x 2 Z.

41 Step. Scale the equations of the problem. min x 0 = x 4x 2 subject to 2x + x 2 2x 2x 2 x,x 2 0 x,x 2 Z.

42 Step. Insert integral slack variables. min x 0 = x 4x 2 subject to 2x + x 2 + x = 2x 2x 2 + x 4 = x,x 2,x,x 4 0 x,x 2,x,x 4 Z.

43 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 x 4 2-2

44 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 x 4 2-2

45 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 x 4 2-2

46 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 x x x 2 2 x 4 4 2

47 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 2 x 4 4 2

48 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 2 x 4 4 2

49 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 2 x 4 4 2

50 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 RHS x x 2 2 x x x x Solution optimal; Simplex stops.

51 Step. Generate cut based on x row. 7 x + 4 x ( 2x x 2 ) + 4 ( 2x 2x 2 ) 4 x Introduce new variable x with x = x + 4 x 4 = x. Add this cut to the problem and go back to Step ().

52 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x RHS x x x 7 ζ

53 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x RHS x x x ζ 7 4-4

54 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x RHS x x x 7 ζ x x 2 2 x 9 2 x 4 4 Solution optimal; Simplex stops.

55 Step. Generate cut based on x 2 row. x + x 4 ( 2x x 2 ) + ( x ) 4 x + x 2 4 Introduce new variable x 6 with x 6 = x + x 4 = 4 x x 2 Add this cut to the problem and go back to Step ().

56 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x x 6 RHS x x 2 2 x 2 x 4 4 ζ 9 4 -

57 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x x 6 RHS x x 2 2 x 9 2 x 4 4 ζ 4 -

58 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x x 6 RHS x x 2 2 x 2 x 4 4 ζ x x 2 2 x 4 x 4 4 x Solution optimal; Simplex stops

59 Step. Generate cut based on x 2 row. x + x 6 ( 2x x 2 ) + (4 x x 2 ) x + 2x 2 6 Introduce new variable x 7 with x 7 = x + x 6 = 6 x 2x 2 Add this cut to the problem and go back to Step ().

60 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x x 6 x 7 RHS x x 2 2 x 4 x 4 4 x ζ

61 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x x 6 x 7 RHS x x 2 2 x 4 x 4 4 x ζ -

62 Step. Solve continuous relaxation of problem. BV x x 2 x x 4 x x 6 x 7 RHS x x 2 x 2 x x ζ x x 2-2 x 2-2 x x -2 x -

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2 IEOR 4404 Homework # Intro OR: Deterministic Models February 14, 011 Prof. Jay Sethuraman Page 1 of 5 Homework #.1 (a) What is the optimal solution of this problem? Let us consider that x 1, x and x 3

More information

GENERALIZED INTEGER PROGRAMMING

GENERALIZED INTEGER PROGRAMMING Professor S. S. CHADHA, PhD University of Wisconsin, Eau Claire, USA E-mail: schadha@uwec.edu Professor Veena CHADHA University of Wisconsin, Eau Claire, USA E-mail: chadhav@uwec.edu GENERALIZED INTEGER

More information

4.6 Linear Programming duality

4.6 Linear Programming duality 4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP. Different spaces and objective functions but in general same optimal

More information

Discrete Optimization

Discrete Optimization Discrete Optimization [Chen, Batson, Dang: Applied integer Programming] Chapter 3 and 4.1-4.3 by Johan Högdahl and Victoria Svedberg Seminar 2, 2015-03-31 Todays presentation Chapter 3 Transforms using

More information

Chapter 9. Systems of Linear Equations

Chapter 9. Systems of Linear Equations Chapter 9. Systems of Linear Equations 9.1. Solve Systems of Linear Equations by Graphing KYOTE Standards: CR 21; CA 13 In this section we discuss how to solve systems of two linear equations in two variables

More information

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming

More information

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where. Introduction Linear Programming Neil Laws TT 00 A general optimization problem is of the form: choose x to maximise f(x) subject to x S where x = (x,..., x n ) T, f : R n R is the objective function, S

More information

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method Introduction to dual linear program Given a constraint matrix A, right

More information

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints Chapter 6 Linear Programming: The Simplex Method Introduction to the Big M Method In this section, we will present a generalized version of the simplex method that t will solve both maximization i and

More information

4 UNIT FOUR: Transportation and Assignment problems

4 UNIT FOUR: Transportation and Assignment problems 4 UNIT FOUR: Transportation and Assignment problems 4.1 Objectives By the end of this unit you will be able to: formulate special linear programming problems using the transportation model. define a balanced

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

Simplex method summary

Simplex method summary Simplex method summary Problem: optimize a linear objective, subject to linear constraints 1. Step 1: Convert to standard form: variables on right-hand side, positive constant on left slack variables for

More information

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that

More information

Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling

Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling Approximation Algorithms Chapter Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should I do? A. Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one

More information

Special Situations in the Simplex Algorithm

Special Situations in the Simplex Algorithm Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the

More information

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

International Doctoral School Algorithmic Decision Theory: MCDA and MOO International Doctoral School Algorithmic Decision Theory: MCDA and MOO Lecture 2: Multiobjective Linear Programming Department of Engineering Science, The University of Auckland, New Zealand Laboratoire

More information

Linear Programming. Solving LP Models Using MS Excel, 18

Linear Programming. Solving LP Models Using MS Excel, 18 SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting

More information

Linear Programming Notes VII Sensitivity Analysis

Linear Programming Notes VII Sensitivity Analysis Linear Programming Notes VII Sensitivity Analysis 1 Introduction When you use a mathematical model to describe reality you must make approximations. The world is more complicated than the kinds of optimization

More information

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm. Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three

More information

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,

More information

Chapter 2 Solving Linear Programs

Chapter 2 Solving Linear Programs Chapter 2 Solving Linear Programs Companion slides of Applied Mathematical Programming by Bradley, Hax, and Magnanti (Addison-Wesley, 1977) prepared by José Fernando Oliveira Maria Antónia Carravilla A

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

Question 2: How do you solve a matrix equation using the matrix inverse?

Question 2: How do you solve a matrix equation using the matrix inverse? Question : How do you solve a matrix equation using the matrix inverse? In the previous question, we wrote systems of equations as a matrix equation AX B. In this format, the matrix A contains the coefficients

More information

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS Sensitivity Analysis 3 We have already been introduced to sensitivity analysis in Chapter via the geometry of a simple example. We saw that the values of the decision variables and those of the slack and

More information

Mathematical finance and linear programming (optimization)

Mathematical finance and linear programming (optimization) Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may

More information

INTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models

INTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models Integer Programming INTEGER PROGRAMMING In many problems the decision variables must have integer values. Example: assign people, machines, and vehicles to activities in integer quantities. If this is

More information

NUMBER SYSTEMS. William Stallings

NUMBER SYSTEMS. William Stallings NUMBER SYSTEMS William Stallings The Decimal System... The Binary System...3 Converting between Binary and Decimal...3 Integers...4 Fractions...5 Hexadecimal Notation...6 This document available at WilliamStallings.com/StudentSupport.html

More information

Standard Form of a Linear Programming Problem

Standard Form of a Linear Programming Problem 494 CHAPTER 9 LINEAR PROGRAMMING 9. THE SIMPLEX METHOD: MAXIMIZATION For linear programming problems involving two variables, the graphical solution method introduced in Section 9. is convenient. However,

More information

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm. Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of

More information

Linear Programming: Theory and Applications

Linear Programming: Theory and Applications Linear Programming: Theory and Applications Catherine Lewis May 11, 2008 1 Contents 1 Introduction to Linear Programming 3 1.1 What is a linear program?...................... 3 1.2 Assumptions.............................

More information

LU Factorization Method to Solve Linear Programming Problem

LU Factorization Method to Solve Linear Programming Problem Website: wwwijetaecom (ISSN 2250-2459 ISO 9001:2008 Certified Journal Volume 4 Issue 4 April 2014) LU Factorization Method to Solve Linear Programming Problem S M Chinchole 1 A P Bhadane 2 12 Assistant

More information

5.4 Solving Percent Problems Using the Percent Equation

5.4 Solving Percent Problems Using the Percent Equation 5. Solving Percent Problems Using the Percent Equation In this section we will develop and use a more algebraic equation approach to solving percent equations. Recall the percent proportion from the last

More information

Het inplannen van besteld ambulancevervoer (Engelse titel: Scheduling elected ambulance transportation)

Het inplannen van besteld ambulancevervoer (Engelse titel: Scheduling elected ambulance transportation) Technische Universiteit Delft Faculteit Elektrotechniek, Wiskunde en Informatica Delft Institute of Applied Mathematics Het inplannen van besteld ambulancevervoer (Engelse titel: Scheduling elected ambulance

More information

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

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

OPRE 6201 : 2. Simplex Method

OPRE 6201 : 2. Simplex Method OPRE 6201 : 2. Simplex Method 1 The Graphical Method: An Example Consider the following linear program: Max 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2

More information

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

More information

Unit 1. Today I am going to discuss about Transportation problem. First question that comes in our mind is what is a transportation problem?

Unit 1. Today I am going to discuss about Transportation problem. First question that comes in our mind is what is a transportation problem? Unit 1 Lesson 14: Transportation Models Learning Objective : What is a Transportation Problem? How can we convert a transportation problem into a linear programming problem? How to form a Transportation

More information

FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM

FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM International Journal of Innovative Computing, Information and Control ICIC International c 0 ISSN 34-48 Volume 8, Number 8, August 0 pp. 4 FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT

More information

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column

More information

24. The Branch and Bound Method

24. The Branch and Bound Method 24. The Branch and Bound Method It has serious practical consequences if it is known that a combinatorial problem is NP-complete. Then one can conclude according to the present state of science that no

More information

Practical Guide to the Simplex Method of Linear Programming

Practical Guide to the Simplex Method of Linear Programming Practical Guide to the Simplex Method of Linear Programming Marcel Oliver Revised: April, 0 The basic steps of the simplex algorithm Step : Write the linear programming problem in standard form Linear

More information

5.1 Bipartite Matching

5.1 Bipartite Matching CS787: Advanced Algorithms Lecture 5: Applications of Network Flow In the last lecture, we looked at the problem of finding the maximum flow in a graph, and how it can be efficiently solved using the Ford-Fulkerson

More information

Solving Linear Programs

Solving Linear Programs Solving Linear Programs 2 In this chapter, we present a systematic procedure for solving linear programs. This procedure, called the simplex method, proceeds by moving from one feasible solution to another,

More information

Adaptive Linear Programming Decoding

Adaptive Linear Programming Decoding Adaptive Linear Programming Decoding Mohammad H. Taghavi and Paul H. Siegel ECE Department, University of California, San Diego Email: (mtaghavi, psiegel)@ucsd.edu ISIT 2006, Seattle, USA, July 9 14, 2006

More information

Linear Programming. April 12, 2005

Linear Programming. April 12, 2005 Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first

More information

Solution of a Large-Scale Traveling-Salesman Problem

Solution of a Large-Scale Traveling-Salesman Problem Chapter 1 Solution of a Large-Scale Traveling-Salesman Problem George B. Dantzig, Delbert R. Fulkerson, and Selmer M. Johnson Introduction by Vašek Chvátal and William Cook The birth of the cutting-plane

More information

What is Linear Programming?

What is Linear Programming? Chapter 1 What is Linear Programming? An optimization problem usually has three essential ingredients: a variable vector x consisting of a set of unknowns to be determined, an objective function of x to

More information

Simulating the Multiple Time-Period Arrival in Yield Management

Simulating the Multiple Time-Period Arrival in Yield Management Simulating the Multiple Time-Period Arrival in Yield Management P.K.Suri #1, Rakesh Kumar #2, Pardeep Kumar Mittal #3 #1 Dean(R&D), Chairman & Professor(CSE/IT/MCA), H.C.T.M., Kaithal(Haryana), India #2

More information

The number of marks is given in brackets [ ] at the end of each question or part question. The total number of marks for this paper is 72.

The number of marks is given in brackets [ ] at the end of each question or part question. The total number of marks for this paper is 72. ADVANCED SUBSIDIARY GCE UNIT 4736/01 MATHEMATICS Decision Mathematics 1 THURSDAY 14 JUNE 2007 Afternoon Additional Materials: Answer Booklet (8 pages) List of Formulae (MF1) Time: 1 hour 30 minutes INSTRUCTIONS

More information

Dantzig-Wolfe bound and Dantzig-Wolfe cookbook

Dantzig-Wolfe bound and Dantzig-Wolfe cookbook Dantzig-Wolfe bound and Dantzig-Wolfe cookbook thst@man.dtu.dk DTU-Management Technical University of Denmark 1 Outline LP strength of the Dantzig-Wolfe The exercise from last week... The Dantzig-Wolfe

More information

Linear Programming I

Linear Programming I Linear Programming I November 30, 2003 1 Introduction In the VCR/guns/nuclear bombs/napkins/star wars/professors/butter/mice problem, the benevolent dictator, Bigus Piguinus, of south Antarctica penguins

More information

Applied Algorithm Design Lecture 5

Applied Algorithm Design Lecture 5 Applied Algorithm Design Lecture 5 Pietro Michiardi Eurecom Pietro Michiardi (Eurecom) Applied Algorithm Design Lecture 5 1 / 86 Approximation Algorithms Pietro Michiardi (Eurecom) Applied Algorithm Design

More information

Study Guide 2 Solutions MATH 111

Study Guide 2 Solutions MATH 111 Study Guide 2 Solutions MATH 111 Having read through the sample test, I wanted to warn everyone, that I might consider asking questions involving inequalities, the absolute value function (as in the suggested

More information

Linear Programming in Matrix Form

Linear Programming in Matrix Form Linear Programming in Matrix Form Appendix B We first introduce matrix concepts in linear programming by developing a variation of the simplex method called the revised simplex method. This algorithm,

More information

Largest Fixed-Aspect, Axis-Aligned Rectangle

Largest Fixed-Aspect, Axis-Aligned Rectangle Largest Fixed-Aspect, Axis-Aligned Rectangle David Eberly Geometric Tools, LLC http://www.geometrictools.com/ Copyright c 1998-2016. All Rights Reserved. Created: February 21, 2004 Last Modified: February

More information

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams André Ciré University of Toronto John Hooker Carnegie Mellon University INFORMS 2014 Home Health Care Home health care delivery

More information

56:171 Operations Research Midterm Exam Solutions Fall 2001

56:171 Operations Research Midterm Exam Solutions Fall 2001 56:171 Operations Research Midterm Exam Solutions Fall 2001 True/False: Indicate by "+" or "o" whether each statement is "true" or "false", respectively: o_ 1. If a primal LP constraint is slack at the

More information

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents DIFFERENTIABILITY OF COMPLEX FUNCTIONS Contents 1. Limit definition of a derivative 1 2. Holomorphic functions, the Cauchy-Riemann equations 3 3. Differentiability of real functions 5 4. A sufficient condition

More information

Integrating Benders decomposition within Constraint Programming

Integrating Benders decomposition within Constraint Programming Integrating Benders decomposition within Constraint Programming Hadrien Cambazard, Narendra Jussien email: {hcambaza,jussien}@emn.fr École des Mines de Nantes, LINA CNRS FRE 2729 4 rue Alfred Kastler BP

More information

Solutions Of Some Non-Linear Programming Problems BIJAN KUMAR PATEL. Master of Science in Mathematics. Prof. ANIL KUMAR

Solutions Of Some Non-Linear Programming Problems BIJAN KUMAR PATEL. Master of Science in Mathematics. Prof. ANIL KUMAR Solutions Of Some Non-Linear Programming Problems A PROJECT REPORT submitted by BIJAN KUMAR PATEL for the partial fulfilment for the award of the degree of Master of Science in Mathematics under the supervision

More information

A Model of Optimum Tariff in Vehicle Fleet Insurance

A Model of Optimum Tariff in Vehicle Fleet Insurance A Model of Optimum Tariff in Vehicle Fleet Insurance. Bouhetala and F.Belhia and R.Salmi Statistics and Probability Department Bp, 3, El-Alia, USTHB, Bab-Ezzouar, Alger Algeria. Summary: An approach about

More information

Nonlinear Programming Methods.S2 Quadratic Programming

Nonlinear Programming Methods.S2 Quadratic Programming Nonlinear Programming Methods.S2 Quadratic Programming Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard A linearly constrained optimization problem with a quadratic objective

More information

4.5 Linear Dependence and Linear Independence

4.5 Linear Dependence and Linear Independence 4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then

More information

EdExcel Decision Mathematics 1

EdExcel Decision Mathematics 1 EdExcel Decision Mathematics 1 Linear Programming Section 1: Formulating and solving graphically Notes and Examples These notes contain subsections on: Formulating LP problems Solving LP problems Minimisation

More information

Optimization Modeling for Mining Engineers

Optimization Modeling for Mining Engineers Optimization Modeling for Mining Engineers Alexandra M. Newman Division of Economics and Business Slide 1 Colorado School of Mines Seminar Outline Linear Programming Integer Linear Programming Slide 2

More information

Duality in Linear Programming

Duality in Linear Programming Duality in Linear Programming 4 In the preceding chapter on sensitivity analysis, we saw that the shadow-price interpretation of the optimal simplex multipliers is a very useful concept. First, these shadow

More information

Partial Fractions. (x 1)(x 2 + 1)

Partial Fractions. (x 1)(x 2 + 1) Partial Fractions Adding rational functions involves finding a common denominator, rewriting each fraction so that it has that denominator, then adding. For example, 3x x 1 3x(x 1) (x + 1)(x 1) + 1(x +

More information

CHAPTER 9. Integer Programming

CHAPTER 9. Integer Programming CHAPTER 9 Integer Programming An integer linear program (ILP) is, by definition, a linear program with the additional constraint that all variables take integer values: (9.1) max c T x s t Ax b and x integral

More information

Lecture 2: August 29. Linear Programming (part I)

Lecture 2: August 29. Linear Programming (part I) 10-725: Convex Optimization Fall 2013 Lecture 2: August 29 Lecturer: Barnabás Póczos Scribes: Samrachana Adhikari, Mattia Ciollaro, Fabrizio Lecci Note: LaTeX template courtesy of UC Berkeley EECS dept.

More information

Special cases in Transportation Problems

Special cases in Transportation Problems Unit 1 Lecture 18 Special cases in Transportation Problems Learning Objectives: Special cases in Transportation Problems Multiple Optimum Solution Unbalanced Transportation Problem Degeneracy in the Transportation

More information

Optimization in R n Introduction

Optimization in R n Introduction Optimization in R n Introduction Rudi Pendavingh Eindhoven Technical University Optimization in R n, lecture Rudi Pendavingh (TUE) Optimization in R n Introduction ORN / 4 Some optimization problems designing

More information

Module1. x 1000. y 800.

Module1. x 1000. y 800. Module1 1 Welcome to the first module of the course. It is indeed an exciting event to share with you the subject that has lot to offer both from theoretical side and practical aspects. To begin with,

More information

Useful Number Systems

Useful Number Systems Useful Number Systems Decimal Base = 10 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} Binary Base = 2 Digit Set = {0, 1} Octal Base = 8 = 2 3 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7} Hexadecimal Base = 16 = 2

More information

Decision Mathematics D1. Advanced/Advanced Subsidiary. Friday 12 January 2007 Morning Time: 1 hour 30 minutes. D1 answer book

Decision Mathematics D1. Advanced/Advanced Subsidiary. Friday 12 January 2007 Morning Time: 1 hour 30 minutes. D1 answer book Paper Reference(s) 6689/01 Edexcel GCE Decision Mathematics D1 Advanced/Advanced Subsidiary Friday 12 January 2007 Morning Time: 1 hour 30 minutes Materials required for examination Nil Items included

More information

Linear Programming Sensitivity Analysis

Linear Programming Sensitivity Analysis Linear Programming Sensitivity Analysis Massachusetts Institute of Technology LP Sensitivity Analysis Slide 1 of 22 Sensitivity Analysis Rationale Shadow Prices Definition Use Sign Range of Validity Opportunity

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

A Labeling Algorithm for the Maximum-Flow Network Problem

A Labeling Algorithm for the Maximum-Flow Network Problem A Labeling Algorithm for the Maximum-Flow Network Problem Appendix C Network-flow problems can be solved by several methods. In Chapter 8 we introduced this topic by exploring the special structure of

More information

Chapter 6: Sensitivity Analysis

Chapter 6: Sensitivity Analysis Chapter 6: Sensitivity Analysis Suppose that you have just completed a linear programming solution which will have a major impact on your company, such as determining how much to increase the overall production

More information

2.3 Convex Constrained Optimization Problems

2.3 Convex Constrained Optimization Problems 42 CHAPTER 2. FUNDAMENTAL CONCEPTS IN CONVEX OPTIMIZATION Theorem 15 Let f : R n R and h : R R. Consider g(x) = h(f(x)) for all x R n. The function g is convex if either of the following two conditions

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 8, No 2 Sofia 2008 Optimal Scheduling for Dependent Details Processing Using MS Excel Solver Daniela Borissova Institute of

More information

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL Chapter 6 LINEAR INEQUALITIES 6.1 Introduction Mathematics is the art of saying many things in many different ways. MAXWELL In earlier classes, we have studied equations in one variable and two variables

More information

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

More information

Scheduling Algorithm with Optimization of Employee Satisfaction

Scheduling Algorithm with Optimization of Employee Satisfaction Washington University in St. Louis Scheduling Algorithm with Optimization of Employee Satisfaction by Philip I. Thomas Senior Design Project http : //students.cec.wustl.edu/ pit1/ Advised By Associate

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

The Graphical Method: An Example

The Graphical Method: An Example The Graphical Method: An Example Consider the following linear program: Maximize 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2 0, where, for ease of reference,

More information

Chapter 13: Binary and Mixed-Integer Programming

Chapter 13: Binary and Mixed-Integer Programming Chapter 3: Binary and Mixed-Integer Programming The general branch and bound approach described in the previous chapter can be customized for special situations. This chapter addresses two special situations:

More information

Airport Planning and Design. Excel Solver

Airport Planning and Design. Excel Solver Airport Planning and Design Excel Solver Dr. Antonio A. Trani Professor of Civil and Environmental Engineering Virginia Polytechnic Institute and State University Blacksburg, Virginia Spring 2012 1 of

More information

3. Reaction Diffusion Equations Consider the following ODE model for population growth

3. Reaction Diffusion Equations Consider the following ODE model for population growth 3. Reaction Diffusion Equations Consider the following ODE model for population growth u t a u t u t, u 0 u 0 where u t denotes the population size at time t, and a u plays the role of the population dependent

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms

More information

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 DAVID L. BERNICK dbernick@soe.ucsc.edu 1. Overview Typical Linear Programming problems Standard form and converting

More information

Section 1.1 Linear Equations: Slope and Equations of Lines

Section 1.1 Linear Equations: Slope and Equations of Lines Section. Linear Equations: Slope and Equations of Lines Slope The measure of the steepness of a line is called the slope of the line. It is the amount of change in y, the rise, divided by the amount of

More information

0.1 Linear Programming

0.1 Linear Programming 0.1 Linear Programming 0.1.1 Objectives By the end of this unit you will be able to: formulate simple linear programming problems in terms of an objective function to be maximized or minimized subject

More information

Roots of Polynomials

Roots of Polynomials Roots of Polynomials (Com S 477/577 Notes) Yan-Bin Jia Sep 24, 2015 A direct corollary of the fundamental theorem of algebra is that p(x) can be factorized over the complex domain into a product a n (x

More information

Convex Programming Tools for Disjunctive Programs

Convex Programming Tools for Disjunctive Programs Convex Programming Tools for Disjunctive Programs João Soares, Departamento de Matemática, Universidade de Coimbra, Portugal Abstract A Disjunctive Program (DP) is a mathematical program whose feasible

More information

Duality in General Programs. Ryan Tibshirani Convex Optimization 10-725/36-725

Duality in General Programs. Ryan Tibshirani Convex Optimization 10-725/36-725 Duality in General Programs Ryan Tibshirani Convex Optimization 10-725/36-725 1 Last time: duality in linear programs Given c R n, A R m n, b R m, G R r n, h R r : min x R n c T x max u R m, v R r b T

More information

Linear Programming Problems

Linear Programming Problems Linear Programming Problems Linear programming problems come up in many applications. In a linear programming problem, we have a function, called the objective function, which depends linearly on a number

More information

An Expressive Auction Design for Online Display Advertising. AUTHORS: Sébastien Lahaie, David C. Parkes, David M. Pennock

An Expressive Auction Design for Online Display Advertising. AUTHORS: Sébastien Lahaie, David C. Parkes, David M. Pennock An Expressive Auction Design for Online Display Advertising AUTHORS: Sébastien Lahaie, David C. Parkes, David M. Pennock Li PU & Tong ZHANG Motivation Online advertisement allow advertisers to specify

More information

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style Solving linear equations 3.1 Introduction Many problems in engineering reduce to the solution of an equation or a set of equations. An equation is a type of mathematical expression which contains one or

More information