Integer Programming. The focus of this chapter is on solution techniques for integer programming models.
|
|
- Brice Francis
- 5 years ago
- Views:
Transcription
1 Integer Programming Introduction The general linear programming model depends on the assumption of divisibility. In other words, the decision variables are allowed to take non-negative integer as well as fractional values. However, we quite often face situations where the planning models contain integer valued variables. For instance, trucks in a fleet, generators in a powerhouse, pieces of equipment, investment alternatives and there are a myriad of other examples. In all such cases, an integer solution is desired, which can be easily obtained by rounding off the fractional values of the variables. ut, rounding-off may result in sub-optimal or infeasible solutions. To overcome such difficulties, a different optimization model, which is referred to as integer programming has been developed. Definition Integer (or discrete) programming problem is a type of problem in which some, or all, of the variables are allowed to take only integral values. The focus of this chapter is on solution techniques for integer programming models. In this chapter, we drop the assumption of divisibility. The mathematical model of the problem is as follows: Optimize (maximize or minimize) c j x j a ij x j (, =, ) b i ; i = 1, 2,..., m x j 0; j = 1, 2,..., n x j integer valued; j = 1, 2,..., p n The discreteness stipulation distinguishes an integer from a linear programming problem. If all the variables are restricted to take only integral values (i.e., p = n), the model is called a pure integer programming problem. To the contrary, if some variables are restricted to take only integer values, and the remaining are free to take any non-negative values, then it is called a 1
2 mixed integer programming problem. When the decision variables are required to take value of either zero or one, it is called zero-one programming. The mathematical model of zero-one programming is as follows: Optimize (maximize or minimize) c j x j a ij x j (, =, ) b i ; i = 1, 2,..., m x j = 0 or 1; j = 1, 2,..., n The effective use and applications require, as a first step, the formulation of the model when the problem is presented. In this section, we illustrate the formulation of integer programming problems. The best way to explain a topic is through examples. So consider the following examples. Example 1 You have entered in a treasure cave (with a password KHUL JA SIM SIM) full of three types of valuable stones, amethyst (A), ruby (R), and topaz (T). Each piece of A, R, and T weighs 3, 2, 2 kg., and is known to have a value of 4, 3, 1 crore respectively. You have got a bag that can carry a maximum of 11 kg. Your problem is to decide on how many pieces of each type to carry, within the capacity of your bag, so as to maximize the total value carried. The stones cannot be broken. Solution. We start the formulation exercise by defining the decision variables. 2
3 Let x 1 = Number of amethysts to be carried x 2 = Number of rubies to be carried x 3 = Number of topaz to be carried The objective function here is to maximize the total value carried, which is given by the linear function. Maximize 4x 1 + 3x 2 + x 3 Since one amethyst is of 3 kg, one ruby is of 2 kg, one topaz is of 2 kg, and the capacity of the bag being 11 kg., the constraint can be expressed as 3x 1 + 2x 2 + 2x 3 11 Finally, we note the fact that stones cannot be broken, i.e., the variables have to take discrete values, which may be stated algebraically as x 1, x 2 and x 3 are all non-negative integers. Thus, we have the following formulation: Maximize (4x 1 + 3x 2 + x 3 ) 3x 1 + 2x 2 + 2x 3 11 x 1, x 2 and x 3 are all non-negative integers. Go-No-Go Decisions Example 2 wants to take up four projects. However, because of budget limitations, not all the projects can be selected. It is known that project j has a present value of c j and would require an investment of a jt in period t. The capital available in period t is b t. The problem is to choose projects so as to maximize present value, without violating the budget constraints. Formulate the problem as an I.P. 3
4 Solution. For choice situations of 'yes-no', 'go-no-go' type, where the objective is to determine whether or not a particular activity is to be undertaken, integer binary variables that can take a value of 0 or 1, can be used to represent the decision variables. Here, we find that for each project, we want to find out whether it should be taken up or not, as such we define four decision variables x j (j = 1, 2, 3, 4) corresponding to each project, and x j = 1 if a if project is selected. 0 otherwise Then, the objective function and the constraints can be expressed in terms of the decision variables, to give the required formulation: Maximize c j x j a jt x j b t, for all period t. x j = 1 or 0, for all projects. asically, there are two algorithms to determine the optimal solution for an integer programming problem. One of these is the cutting plane algorithm devised by Gomory and the other is the branch & bound algorithm developed by Land & Doig. The next section concentrates on the cutting plane method. Cutting Plane Algorithm Historically, the first method for solving I.P.P. was the cutting plane method. This method is for the pure integer programming model. The procedure is, first, ignore the integer stipulations, and solve the problem as an ordinary LPP. If the solution satisfies the integer restrictions, then an optimal solution for the original problem is found. Otherwise, at each iteration, additional constraints are added to the original problem. These constraints are added to reduce or cut the solution space in every successive iteration, ruling out the current fractional solution, while ensuring that no integer solution is excluded in the process. The method terminates as soon as an integer-valued is obtained. 4
5 In this method, convergence is guaranteed in a finite number of iterations. To summarize the approach, a series of steps are stated below. Steps 1. Use the simplex method to find an optimal solution of the problem, ignoring the integer condition. 2. Examine the optimal solution. Terminate the iterations if all the basic variables have integer values. Otherwise, construct a Gomory's fractional cut from the row, which has the largest fractional part, and add it to the original set of constraints. Gomory's constraint - Σ f i x j -f I - Σ f i x j + S I = -f I Where: f I - fractional part S I - slack variable In case of a tie, you are at liberty to choose any one arbitrarily. "The difficulty in life is the choice." - George Moore 3. Now, find a new linear programming solution. If the solution thus obtained is integral valued, then this is the required optimal solution of the original I.P.P.; otherwise, return to step 2. Cutting Plane Method 5
6 Example 1 Maximize z = x 1 + 2x 2 2x 2 7 x 1 + x 2 7 2x 1 11 x 1, x 2 are integers 0 Solution. First, solve the above problem by applying the simplex method. After introducing slack variables, the standard form of LPP becomes Maximize z = x 1 + 2x 2 + 0x 3 + 0x 4 + 0x5 2x 1 + x 3 = 7 x 1 + x 2 + x 4 = 7 2x 1 + x 5 = 11 Initial basic feasible solution x 1 = 0, x 2 = 0, and z = 0 x 3 = 7, x 4 = 7, x 5 = 11 Table 1 c j c asic variables x 1 x 2 x 3 x 4 x 5 0 x x x z j c j
7 Key column = x 2 column Minimum (7/2, 7/1) = 7/2 Key row = x 3 row Pivot element = 2 x 3 departs & x 2 enters. Table 2 c j c asic variables x 1 x 2 x 3 x 4 x 5 2 x / /2 0 x / /2 0 x z j c j x 4 departs and x 1 enters. Table 3 c j c asic variables x 1 x 2 x 3 x 4 x 5 2 x / /2 (3 + 1/2) 1 x / /2 (3 + 1/2) 0 x (4 + 0) z j c j 0 0 1/2 1 0 This solution is not acceptable since all the basic variables must be integer valued. Thus, we construct a Gomory's fractional cut to get the desired optimal solution. Choose the largest fractional part under the X column. Here both the fractional parts are same. So either of the two may be used to develop Gomory's constraint. Taking first row as the source row, the corresponding equation is 0x 1 + 1x 2 + 1/2x 3 + 0x 4 + 0x 5 = 3 + 1/2 (1 + 0)x 2 + 1/2x 3 = 3 + 1/2 7
8 After applying the formula we get - 1/2 x 3-1/2-1/2 x 3 + x 6 = - 1/2 x 6 is a slack variable y adding the above equation in Table 3, we get the new table Table 4 c j c asic variables x 1 x 2 x 3 x 4 x 5 x 6 2 x / /2 1 x / /2 0 x x / /2 z j c j 0 0 1/ In the above table, there is a negative value under X column; therefore, apply the dual simplex method. Select the most negative value from X column, i.e., -1/2 Therefore, key row = x 6 row Key Column: Min z 3 - c a 43 Min 1/ /2 Key column = x 3 column x 6 departs & x 3 enters 8
9 Table 5 c j c asic variables x 1 x 2 x 3 x 4 x 5 x 6 2 x x x x z j c j The optimal solution is x 1 = 4, x 2 = 3 z = X 3 = 10 Example 2 Maximize z = x 1 + 4x 2 2x 1 + 4x 2 7 5x 1 + 3x 2 15 x 1, x 2 are integers 0 Solution. First, solve the above problem by applying the simplex method (try it yourself).the final simplex table is presented below. Final Simplex Table c j c asic variables x 1 x 2 x 3 x 4 9
10 4 x 2 1/2 1 1/4 0 7/4 (1 + 3/4) 0 x 4 7/2 0-3/4 1 39/4 (9 + 3/4) z j c j Taking first row as the source row, the corresponding equation is 1/2x 1 + 1x 2 + 1/4x 3 + 0x 4 = 1 + 3/4 1/2x 1 + (1 + 0)x 2 + (1-3/4)x 3 = 1 + 3/4 Gomory's constraint - (1/2x 1-3/4x 3 ) -3/4-1/2x 1 + 3/4x 3 + x 5 = -3/4 Table c j c asic variables x 1 x 2 x 3 x 4 x 5 4 x 2 1/2 1 1/ /4 0 x 4 7/2 0-3/ /4 0 x 5-1/2 0 3/ /4 z j c j Table c j c asic variables x 1 x 2 x 3 x 4 x 5 4 x x / /2 (4+1/2) 1 x / /2 (1+1/2) z j c j 0 0 5/
11 Taking second row as the source row, the corresponding equation is: 0x 1 + 0x 2 + 9/2x 3 + 1x 4 + 7x 5 = 4 + 1/2 or (4 + 1/2)x 3 + (1 + 0)x 4 + (7 + 0)x 5 = 4 + 1/2 Gomory's constraint -1/2x 3-1/2-1/2x 3 + x 6 = -1/2 Table c j c asic variables x 1 x 2 x 3 x 4 x 5 x 6 4 x x / /2 1 x / /2 0 x / /2 z j c j 0 0 5/ In the above table, there is a negative value under X column; therefore, apply the dual simplex method. Final Table c j c asic variables x 1 x 2 x 3 x 4 x 5 x 6 4 x x x x z j c j
12 The optimal solution is x 1 = 3, x 2 = 0 z = X 0 = 3 Graphical Method This section deals with the geometric representation of an integer programming problem. To illustrate the concept of cutting plane method through graphical method, consider again the following problem. Example Maximize z = x 1 + 4x 2 2x 1 + 4x 2 7 5x 1 + 3x 2 15 x 1, x 2 are integers 0 Solution. First, solve the above problem by applying the simplex method. After introducing slack variables, we have 2x 1 + 4x 2 + x 3 = 7 or x 3 = 7-2x 1-4x 2...(i) 5x 1 + 3x 2 + x 4 = 15 or x 4 = 15-5x 1-3x 2...(ii) Gomory's constraint - (1/2x 1-3/4 x 3 ) -3/4...(iii) Substituting the value of x 3 in equation (iii). - 1/2x 1 + 3/4 (7-2x 1-4x 2 ) -3/4-2x 1-3x (iv) Gomory's constraint -1/2x 3-1/2...(v) 12
13 Substituting the value of x 3 in equation (v) -1/2 (7-2x 1-4x 2 ) -1/2 x 1 + 2x (vi) The inclusion of two cuts( -2x 1-3x 2-6, x 1 + 2x 2 3) give the new corner point A where x 1 = 3, x 2 = 0 and z = 3 ranch & ound Method The branch & bound method can be used to solve problems containing a few integer valued variables. It can be applied to both mixed & pure integer programming problems. This method partitions the area of feasible solution into smaller parts until an optimal solution is obtained. If the number of variables is large, or if the LP solution to the problem is not optimal, then don't use the ranch & ound method, because the number of iterations required to solve such a problem may be too large. The method, in outline, is: 13
14 Steps 1. First, solve the given problem as an ordinary LPP. 2. Examine the optimal solution. Terminate the iterations if the optimal solution to the LPP satisfies the integer constraints. Otherwise, go to step Divide the problem into two parts. Problem 1: xk [t] max. z = cx ax b xk [t] x 0 Problem 2: xk [t] + 1 max. z = cx ax b xk [t] + 1 x 0 where [t] is the largest integer. 4. Now, solve problem 1 & 2 separately. 5. If for any of the sub-problems, optimal integer solution is obtained, then that problem is not further branched. Otherwise, move to step 3. ranch & ound Method Example Maximize z = x 1 + x 2 3x 1 + 2x 2 12 x 2 2 x 1, x 2 are integers 0 14
15 Solution. First, we solve the above problem by applying the simplex method. After introducing slack variables, we have 3x 1 + 2x 2 + x 3 = 12 x 2 + x 4 = 2 where x 3 and x 4 are slack variables. Initial basic feasible solution x 1 = 0, x 2 = 0, and z = 0 x 3 = 12, x 4 = 2 Final Table c j c asic variables x 1 x 2 x 3 x 4 1 x /3-2/3 8/3 1 x z j c j 0 0 1/3 1/3 x 1 = 8/3, x 2 = 2 Since the solution obtained is not an integer solution, we choose x 1 = 8/3 (2 + 2/3), which has a fractional value and divide the problem into the following two sub-problems (problem - II and problem - III) by adding two new constraints x 1 2 & x 1 3, because [x 1 ] = [2 + 2/3] = 2. Problem - II Maximize z = x 1 + x 2 3x 1 + 2x 2 12 x 2 2 x 1 2 x 1, x 2 0 Introducing slack variables 15
16 3x 1 + 2x 2 + x 5 = 12 x 2 + x 6 = 2 x 1 + x 7 = 2 where x 5, x 6 and x 7 are slack variables. Final Table c j c asic variables x 1 x 2 x 5 x 6 x 7 0 x x x z j c j Optimal solution to problem - II is x 1 = 2, x 2 = 2 Since all the variables in problem - II are integer valued, there is no need to branch this problem further. Problem - III Maximize z = x 1 + x 2 3x 1 + 2x 2 12 x 2 2 x 1 3 x 1, x 2 0 We use the two phase method to solve this problem. Introducing slack, surplus & artificial variables 3x 1 + 2x 2 + x 8 = 12 x 2 + x 9 = 2 x 1 - x 10 + A 1 = 3 16
17 where: x 8 and x 9 are slack variables. x 10 is a surplus variable. A 1 is an artificial variable. Final Table c j c asic variables x 1 x 2 x 8 x 9 x 10 1 x /2 0 3/2 3/2 0 x /2 1-3/2 1/2 1 x z j c j 0 0 1/2 0 1/2 x 1 = 3, x 2 = 3/2 The solution obtained is not integer valued. Since [x 2 ] = [1 + 1/2] = 1, we divide the problem - III into two parts by adding two new constraints x 2 1 & x 2 2. Thus, we form two subproblems (problem - IV and problem - V). Problem - IV Maximize z = x 1 + x 2 3x 1 + 2x 2 12 x 2 2 x 1 3 x 2 1 x 1, x 2 0 We use the two phase method to solve this problem. Introducing slack, surplus & artificial variables 3x 1 + 2x 2 + x 11 = 12 x 2 + x 12 = 2 x 1 - x 13 + A 1 = 3 x 2 + x 14 = 1 17
18 where: x 11, x 12 & x 14 are slack variables. x 13 is a surplus variable. A 1 is an artificial variable. Final Table c j c asic variables x 1 x 2 x 11 x 12 x 13 x 14 0 x / /3 1/3 0 x x / /3 10/3 1 x z j c j 0 0 1/ /3 x 1 = 10/3, x 2 = 1 Problem - V Maximize z = x 1 + x 2 3x 1 + 2x 2 12 x 2 2 x 1 3 x 2 2 x 1, x 2 0 The solution to problem - V is infeasible. So we will not consider this problem. ut the solution to problem to problem - IV is not integer valued. Since [x 1 ] = [3 + 1/3] = 3, we divide the problem - IV into two parts by adding two new constraints x 1 3 & x 1 4. Thus, we form two sub-problems (problem - VI and problem - VII). Problem - VI Maximize z = x 1 + x 2 18
19 3x 1 + 2x 2 12 x 2 2 x 1 3 x 2 1 x 1 3 x 1, x 2 0 Introducing slack, surplus & artificial variables 3x 1 + 2x 2 + x 15 = 12 x 2 + x 16 = 2 x 1 - x 17 + A 1 = 3 x 2 + x 18 = 1 x 1 + x 19 = 3 where: x 15, x 16, x 18 and x 19 are slack variables. x 17 is a surplus variable. A 1 is an artificial variable. Final Table c j c asic variables x 1 x 2 x 15 x 16 x 17 x 18 x 19 0 x x x x x z j c j This problem has multiple optimal solution. As x 2 is zero, it enters into the basis. The optimal solution is x 1 = 3, x 2 = 1 19
20 Since all the variables in problem - VI are integer valued, there is no need to branch this problem further. Problem - VII Maximize z = x 1 + x 2 3x 1 + 2x 2 12 x 2 2 x 1 3 x 2 1 x 1 4 x 1, x 2 0 Introducing slack, surplus & artificial variables 3x 1 + 2x 2 + x 20 = 12 x 2 + x 21 = 2 x 1 - x 22 + A 1 = 3 x 2 + x 23 = 1 x 1 - x 24 + A 2 = 4 where: x 20, x 21 and x 23 are slack variables. x 22 and x 24 are surplus variables. A 1 and A 2 are artificial variables. Final Table c j c asic variables x 1 x 2 x 20 x 21 x 22 x 23 x 24 1 x / /2 0 0 x / /2 2 1 x x / /2 1 0 x
21 z j c j 0 0 1/ /2 The optimal solution is x 1 = 4, x 2 = 0 Since all the variables in problem - VII are integer valued, there is no need to branch this problem further. The history of the complete branch and bound solution is displayed by means of the following tree like diagram. 21
Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize
Metode Kuantitatif Bisnis Week 4 Linear Programming Simplex Method - Minimize Outlines Solve Linear Programming Model Using Graphic Solution Solve Linear Programming Model Using Simplex Method (Maximize)
More informationAM 121: Intro to Optimization Models and Methods
AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems
More informationSection Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010
Section Notes 9 IP: Cutting Planes Applied Math 121 Week of April 12, 2010 Goals for the week understand what a strong formulations is. be familiar with the cutting planes algorithm and the types of cuts
More informationmaxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2
ex-5.-5. Foundations of Operations Research Prof. E. Amaldi 5. Branch-and-Bound Given the integer linear program maxz = x +x x +x 6 x +x 9 x,x integer solve it via the Branch-and-Bound method (solving
More informationSlack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0
Simplex Method Slack Variable Max Z= 3x 1 + 4x 2 + 5X 3 Subject to: X 1 + X 2 + X 3 20 3x 1 + 4x 2 + X 3 15 2X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Standard Form Max Z= 3x 1 +4x 2 +5X 3 + 0S 1 + 0S 2
More information2. Linear Programming Problem
. Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6
More informationStandard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta
Chapter 4 Linear Programming: The Simplex Method An Overview of the Simplex Method Standard Form Tableau Form Setting Up the Initial Simplex Tableau Improving the Solution Calculating the Next Tableau
More informationmin3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0.
ex-.-. Foundations of Operations Research Prof. E. Amaldi. Dual simplex algorithm Given the linear program minx + x + x x + x + x 6 x + x + x x, x, x. solve it via the dual simplex algorithm. Describe
More informationMATH2070 Optimisation
MATH2070 Optimisation Linear Programming Semester 2, 2012 Lecturer: I.W. Guo Lecture slides courtesy of J.R. Wishart Review The standard Linear Programming (LP) Problem Graphical method of solving LP problem
More informationSimplex Method for LP (II)
Simplex Method for LP (II) Xiaoxi Li Wuhan University Sept. 27, 2017 (week 4) Operations Research (Li, X.) Simplex Method for LP (II) Sept. 27, 2017 (week 4) 1 / 31 Organization of this lecture Contents:
More informationLinear Programming, Lecture 4
Linear Programming, Lecture 4 Corbett Redden October 3, 2016 Simplex Form Conventions Examples Simplex Method To run the simplex method, we start from a Linear Program (LP) in the following standard simplex
More informationOperations Research Lecture 6: Integer Programming
Operations Research Lecture 6: Integer Programming Notes taken by Kaiquan Xu@Business School, Nanjing University May 12th 2016 1 Integer programming (IP) formulations The integer programming (IP) is the
More informationLecture 23 Branch-and-Bound Algorithm. November 3, 2009
Branch-and-Bound Algorithm November 3, 2009 Outline Lecture 23 Modeling aspect: Either-Or requirement Special ILPs: Totally unimodular matrices Branch-and-Bound Algorithm Underlying idea Terminology Formal
More informationLinear Programming and the Simplex method
Linear Programming and the Simplex method Harald Enzinger, Michael Rath Signal Processing and Speech Communication Laboratory Jan 9, 2012 Harald Enzinger, Michael Rath Jan 9, 2012 page 1/37 Outline Introduction
More informationInteger programming: an introduction. Alessandro Astolfi
Integer programming: an introduction Alessandro Astolfi Outline Introduction Examples Methods for solving ILP Optimization on graphs LP problems with integer solutions Summary Introduction Integer programming
More informationYinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method
The Simplex Method Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye (LY, Chapters 2.3-2.5, 3.1-3.4) 1 Geometry of Linear
More informationThe Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006
The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006 1 Simplex solves LP by starting at a Basic Feasible Solution (BFS) and moving from BFS to BFS, always improving the objective function,
More information21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.
Extra Problems for Chapter 3. Linear Programming Methods 20. (Big-M Method) An alternative to the two-phase method of finding an initial basic feasible solution by minimizing the sum of the artificial
More informationOPERATIONS 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 MODULE - 2: Simplex Method for
More informationIntroduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras
Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module - 03 Simplex Algorithm Lecture 15 Infeasibility In this class, we
More informationSystems Analysis in Construction
Systems Analysis in Construction CB312 Construction & Building Engineering Department- AASTMT by A h m e d E l h a k e e m & M o h a m e d S a i e d 3. Linear Programming Optimization Simplex Method 135
More informationSection Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.
Section Notes 8 Integer Programming II Applied Math 121 Week of April 5, 2010 Goals for the week understand IP relaxations be able to determine the relative strength of formulations understand the branch
More informationSOLVING INTEGER LINEAR PROGRAMS. 1. Solving the LP relaxation. 2. How to deal with fractional solutions?
SOLVING INTEGER LINEAR PROGRAMS 1. Solving the LP relaxation. 2. How to deal with fractional solutions? Integer Linear Program: Example max x 1 2x 2 0.5x 3 0.2x 4 x 5 +0.6x 6 s.t. x 1 +2x 2 1 x 1 + x 2
More informationMath 354 Summer 2004 Solutions to review problems for Midterm #1
Solutions to review problems for Midterm #1 First: Midterm #1 covers Chapter 1 and 2. In particular, this means that it does not explicitly cover linear algebra. Also, I promise there will not be any proofs.
More informationLecture 11 Linear programming : The Revised Simplex Method
Lecture 11 Linear programming : The Revised Simplex Method 11.1 The Revised Simplex Method While solving linear programming problem on a digital computer by regular simplex method, it requires storing
More information(includes both Phases I & II)
(includes both Phases I & II) Dennis ricker Dept of Mechanical & Industrial Engineering The University of Iowa Revised Simplex Method 09/23/04 page 1 of 22 Minimize z=3x + 5x + 4x + 7x + 5x + 4x subject
More informationDr. S. Bourazza Math-473 Jazan University Department of Mathematics
Dr. Said Bourazza Department of Mathematics Jazan University 1 P a g e Contents: Chapter 0: Modelization 3 Chapter1: Graphical Methods 7 Chapter2: Simplex method 13 Chapter3: Duality 36 Chapter4: Transportation
More information56:270 Final Exam - May
@ @ 56:270 Linear Programming @ @ Final Exam - May 4, 1989 @ @ @ @ @ @ @ @ @ @ @ @ @ @ Select any 7 of the 9 problems below: (1.) ANALYSIS OF MPSX OUTPUT: Please refer to the attached materials on the
More informationOptimization Methods in Management Science
Optimization Methods in Management Science MIT 15.05 Recitation 8 TAs: Giacomo Nannicini, Ebrahim Nasrabadi At the end of this recitation, students should be able to: 1. Derive Gomory cut from fractional
More informationLinear and Integer Programming - ideas
Linear and Integer Programming - ideas Paweł Zieliński Institute of Mathematics and Computer Science, Wrocław University of Technology, Poland http://www.im.pwr.wroc.pl/ pziel/ Toulouse, France 2012 Literature
More informationSection Notes 9. Midterm 2 Review. Applied Math / Engineering Sciences 121. Week of December 3, 2018
Section Notes 9 Midterm 2 Review Applied Math / Engineering Sciences 121 Week of December 3, 2018 The following list of topics is an overview of the material that was covered in the lectures and sections
More informationUNIT-4 Chapter6 Linear Programming
UNIT-4 Chapter6 Linear Programming Linear Programming 6.1 Introduction Operations Research is a scientific approach to problem solving for executive management. It came into existence in England during
More informationIP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.
IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, 31 14. You wish to solve the IP below with a cutting plane technique. Maximize 4x 1 + 2x 2 + x 3 subject to 14x 1 + 10x 2 + 11x 3 32 10x 1 +
More informationStructured Problems and Algorithms
Integer and quadratic optimization problems Dept. of Engg. and Comp. Sci., Univ. of Cal., Davis Aug. 13, 2010 Table of contents Outline 1 2 3 Benefits of Structured Problems Optimization problems may become
More informationMAT016: Optimization
MAT016: Optimization M.El Ghami e-mail: melghami@ii.uib.no URL: http://www.ii.uib.no/ melghami/ March 29, 2011 Outline for today The Simplex method in matrix notation Managing a production facility The
More informationDecision Procedures An Algorithmic Point of View
An Algorithmic Point of View ILP References: Integer Programming / Laurence Wolsey Deciding ILPs with Branch & Bound Intro. To mathematical programming / Hillier, Lieberman Daniel Kroening and Ofer Strichman
More informationDuality in LPP Every LPP called the primal is associated with another LPP called dual. Either of the problems is primal with the other one as dual. The optimal solution of either problem reveals the information
More informationIn Chapters 3 and 4 we introduced linear programming
SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,
More informationIE418 Integer Programming
IE418: Integer Programming Department of Industrial and Systems Engineering Lehigh University 2nd February 2005 Boring Stuff Extra Linux Class: 8AM 11AM, Wednesday February 9. Room??? Accounts and Passwords
More informationMATH 445/545 Homework 2: Due March 3rd, 2016
MATH 445/545 Homework 2: Due March 3rd, 216 Answer the following questions. Please include the question with the solution (write or type them out doing this will help you digest the problem). I do not
More information1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations
The Simplex Method Most textbooks in mathematical optimization, especially linear programming, deal with the simplex method. In this note we study the simplex method. It requires basically elementary linear
More informationto work with) can be solved by solving their LP relaxations with the Simplex method I Cutting plane algorithms, e.g., Gomory s fractional cutting
Summary so far z =max{c T x : Ax apple b, x 2 Z n +} I Modeling with IP (and MIP, and BIP) problems I Formulation for a discrete set that is a feasible region of an IP I Alternative formulations for the
More information...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided:
The LP formulation is Linear Programming: Graphical Method Maximize, Z = 2x + 7x 2 Subject to constraints, 2x + x 2 200...(i) x 75...(ii) x 2 00...(iii) where x, x 2 ³ 0 Example 7: Geetha Perfume Company
More information9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS
SECTION 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS 557 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS In Sections 9. and 9., you looked at linear programming problems that occurred in standard form. The constraints
More informationPart 1. The Review of Linear Programming
In the name of God Part 1. The Review of Linear Programming 1.5. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Formulation of the Dual Problem Primal-Dual Relationship Economic Interpretation
More informationDual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:
Dual Basic Solutions Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Observation 5.7. AbasisB yields min c T x max p T b s.t. A x = b s.t. p T A apple c T x 0 aprimalbasicsolutiongivenbyx
More informationLinear Programming: Model Formulation and Graphical Solution
Linear Programming: Model Formulation and Graphical Solution 1 Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions of Linear Programming Models A Minimization Model Example
More information(includes both Phases I & II)
Minimize z=3x 5x 4x 7x 5x 4x subject to 2x x2 x4 3x6 0 x 3x3 x4 3x5 2x6 2 4x2 2x3 3x4 x5 5 and x 0 j, 6 2 3 4 5 6 j ecause of the lack of a slack variable in each constraint, we must use Phase I to find
More informationLinear programming: algebra
: algebra CE 377K March 26, 2015 ANNOUNCEMENTS Groups and project topics due soon Announcements Groups and project topics due soon Did everyone get my test email? Announcements REVIEW geometry Review geometry
More informationmin 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14
The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. If necessary,
More informationChap6 Duality Theory and Sensitivity Analysis
Chap6 Duality Theory and Sensitivity Analysis The rationale of duality theory Max 4x 1 + x 2 + 5x 3 + 3x 4 S.T. x 1 x 2 x 3 + 3x 4 1 5x 1 + x 2 + 3x 3 + 8x 4 55 x 1 + 2x 2 + 3x 3 5x 4 3 x 1 ~x 4 0 If we
More informationIntroduction to optimization and operations research
Introduction to optimization and operations research David Pisinger, Fall 2002 1 Smoked ham (Chvatal 1.6, adapted from Greene et al. (1957)) A meat packing plant produces 480 hams, 400 pork bellies, and
More informationChapter 2. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall 2-1
Linear Programming: Model Formulation and Graphical Solution Chapter 2 2-1 Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions of Linear Programming Models A Minimization
More informationLecture 11: Post-Optimal Analysis. September 23, 2009
Lecture : Post-Optimal Analysis September 23, 2009 Today Lecture Dual-Simplex Algorithm Post-Optimal Analysis Chapters 4.4 and 4.5. IE 30/GE 330 Lecture Dual Simplex Method The dual simplex method will
More information9.1 Linear Programs in canonical form
9.1 Linear Programs in canonical form LP in standard form: max (LP) s.t. where b i R, i = 1,..., m z = j c jx j j a ijx j b i i = 1,..., m x j 0 j = 1,..., n But the Simplex method works only on systems
More informationGenerating Gomory's Cuts for linear integer programming problems: the HOW and WHY
Page 1 of 7 Generating Gomory's Cuts for linear integer programming problems: the HOW and WHY A Gomory's Cut is a linear constraint with the property that it is strictly stronger than its Parent, but it
More informationFoundations of Operations Research
Solved exercises for the course of Foundations of Operations Research Roberto Cordone Gomory cuts Given the ILP problem maxf = 4x 1 +3x 2 2x 1 +x 2 11 x 1 +2x 2 6 x 1,x 2 N solve it with the Gomory cutting
More informationGestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA
Gestion de la production Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA 1 Contents 1 Integer Linear Programming 3 1.1 Definitions and notations......................................
More informationLinear Programming Duality
Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve
More informationThe Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science
The Simplex Method Lecture 5 Standard and Canonical Forms and Setting up the Tableau Lecture 5 Slide 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard
More informationLinear programming I João Carlos Lourenço
Decision Support Models Linear programming I 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, 9th
More informationPrelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.
Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1 Linear Programming-1 x 2 12 8 (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2
More informationOPRE 6201 : 3. Special Cases
OPRE 6201 : 3. Special Cases 1 Initialization: The Big-M Formulation Consider the linear program: Minimize 4x 1 +x 2 3x 1 +x 2 = 3 (1) 4x 1 +3x 2 6 (2) x 1 +2x 2 3 (3) x 1, x 2 0. Notice that there are
More informationTIM 206 Lecture 3: The Simplex Method
TIM 206 Lecture 3: The Simplex Method Kevin Ross. Scribe: Shane Brennan (2006) September 29, 2011 1 Basic Feasible Solutions Have equation Ax = b contain more columns (variables) than rows (constraints),
More informationOperations Research: Introduction. Concept of a Model
Origin and Development Features Operations Research: Introduction Term or coined in 1940 by Meclosky & Trefthan in U.K. came into existence during World War II for military projects for solving strategic
More informationIntroduction to Integer Programming
Lecture 3/3/2006 p. /27 Introduction to Integer Programming Leo Liberti LIX, École Polytechnique liberti@lix.polytechnique.fr Lecture 3/3/2006 p. 2/27 Contents IP formulations and examples Total unimodularity
More informationNetwork Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini
In the name of God Network Flows 6. Lagrangian Relaxation 6.3 Lagrangian Relaxation and Integer Programming Fall 2010 Instructor: Dr. Masoud Yaghini Integer Programming Outline Branch-and-Bound Technique
More informationMATH 445/545 Test 1 Spring 2016
MATH 445/545 Test Spring 06 Note the problems are separated into two sections a set for all students and an additional set for those taking the course at the 545 level. Please read and follow all of these
More information56:171 Operations Research Midterm Exam--15 October 2002
Name 56:171 Operations Research Midterm Exam--15 October 2002 Possible Score 1. True/False 25 _ 2. LP sensitivity analysis 25 _ 3. Transportation problem 15 _ 4. LP tableaux 15 _ Total 80 _ Part I: True(+)
More informationExample. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive
3.4 Anticycling Lexicographic order In this section we discuss two pivoting rules that are guaranteed to avoid cycling. These are the lexicographic rule and Bland s rule. Definition A vector u R n is lexicographically
More information(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6
The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. Problem 1 Consider
More information1 Review Session. 1.1 Lecture 2
1 Review Session Note: The following lists give an overview of the material that was covered in the lectures and sections. Your TF will go through these lists. If anything is unclear or you have questions
More informationSummary of the simplex method
MVE165/MMG630, The simplex method; degeneracy; unbounded solutions; infeasibility; starting solutions; duality; interpretation Ann-Brith Strömberg 2012 03 16 Summary of the simplex method Optimality condition:
More informationDr. Maddah ENMG 500 Engineering Management I 10/21/07
Dr. Maddah ENMG 500 Engineering Management I 10/21/07 Computational Procedure of the Simplex Method The optimal solution of a general LP problem is obtained in the following steps: Step 1. Express the
More informationIE 400: Principles of Engineering Management. Simplex Method Continued
IE 400: Principles of Engineering Management Simplex Method Continued 1 Agenda Simplex for min problems Alternative optimal solutions Unboundedness Degeneracy Big M method Two phase method 2 Simplex for
More informationCHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming CHAPTER 11 253 CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming TRUE/FALSE 11.1 If conditions require that all
More informationAM 121: Intro to Optimization! Models and Methods! Fall 2018!
AM 121: Intro to Optimization Models and Methods Fall 2018 Lecture 15: Cutting plane methods Yiling Chen SEAS Lesson Plan Cut generation and the separation problem Cutting plane methods Chvatal-Gomory
More informationReview Solutions, Exam 2, Operations Research
Review Solutions, Exam 2, Operations Research 1. Prove the weak duality theorem: For any x feasible for the primal and y feasible for the dual, then... HINT: Consider the quantity y T Ax. SOLUTION: To
More informationLinear integer programming and its application
Linear integer programming and its application Presented by Dr. Sasthi C. Ghosh Associate Professor Advanced Computing & Microelectronics Unit Indian Statistical Institute Kolkata, India Outline Introduction
More informationDiscrete Optimization 2010 Lecture 7 Introduction to Integer Programming
Discrete Optimization 2010 Lecture 7 Introduction to Integer Programming Marc Uetz University of Twente m.uetz@utwente.nl Lecture 8: sheet 1 / 32 Marc Uetz Discrete Optimization Outline 1 Intro: The Matching
More informationis called an integer programming (IP) problem. model is called a mixed integer programming (MIP)
INTEGER PROGRAMMING Integer Programming g 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 informationCSC Design and Analysis of Algorithms. LP Shader Electronics Example
CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours
More information+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1
University of California, Davis Department of Agricultural and Resource Economics ARE 5 Optimization with Economic Applications Lecture Notes Quirino Paris The Pivot Method for Solving Systems of Equations...................................
More informationAlgebraic Simplex Active Learning Module 4
Algebraic Simplex Active Learning Module 4 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Time required for the module: 50 Min. Reading Most
More informationIntroduction. Very efficient solution procedure: simplex method.
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 informationThe simplex algorithm
The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case. It does yield insight into linear programs, however,
More information4. Duality and Sensitivity
4. Duality and Sensitivity For every instance of an LP, there is an associated LP known as the dual problem. The original problem is known as the primal problem. There are two de nitions of the dual pair
More informationInteger Linear Programming (ILP)
Integer Linear Programming (ILP) Zdeněk Hanzálek, Přemysl Šůcha hanzalek@fel.cvut.cz CTU in Prague March 8, 2017 Z. Hanzálek (CTU) Integer Linear Programming (ILP) March 8, 2017 1 / 43 Table of contents
More informationCO350 Linear Programming Chapter 6: The Simplex Method
CO350 Linear Programming Chapter 6: The Simplex Method 8th June 2005 Chapter 6: The Simplex Method 1 Minimization Problem ( 6.5) We can solve minimization problems by transforming it into a maximization
More informationΩ R n is called the constraint set or feasible set. x 1
1 Chapter 5 Linear Programming (LP) General constrained optimization problem: minimize subject to f(x) x Ω Ω R n is called the constraint set or feasible set. any point x Ω is called a feasible point We
More informationAM 121: Intro to Optimization
AM 121: Intro to Optimization Models and Methods Lecture 6: Phase I, degeneracy, smallest subscript rule. Yiling Chen SEAS Lesson Plan Phase 1 (initialization) Degeneracy and cycling Smallest subscript
More informationInteger Programming and Branch and Bound
Courtesy of Sommer Gentry. Used with permission. Integer Programming and Branch and Bound Sommer Gentry November 4 th, 003 Adapted from slides by Eric Feron and Brian Williams, 6.40, 00. Integer Programming
More informationAnswer the following questions: Q1: Choose the correct answer ( 20 Points ):
Benha University Final Exam. (ختلفات) Class: 2 rd Year Students Subject: Operations Research Faculty of Computers & Informatics Date: - / 5 / 2017 Time: 3 hours Examiner: Dr. El-Sayed Badr Answer the following
More information1 Column Generation and the Cutting Stock Problem
1 Column Generation and the Cutting Stock Problem In the linear programming approach to the traveling salesman problem we used the cutting plane approach. The cutting plane approach is appropriate when
More informationLecture 5 Simplex Method. September 2, 2009
Simplex Method September 2, 2009 Outline: Lecture 5 Re-cap blind search Simplex method in steps Simplex tableau Operations Research Methods 1 Determining an optimal solution by exhaustive search Lecture
More informationVariants of Simplex Method
Variants of Simplex Method All the examples we have used in the previous chapter to illustrate simple algorithm have the following common form of constraints; i.e. a i x + a i x + + a in x n b i, i =,,,m
More informationWeek 3: Simplex Method I
Week 3: Simplex Method I 1 1. Introduction The simplex method computations are particularly tedious and repetitive. It attempts to move from one corner point of the solution space to a better corner point
More informationWater Resources Systems: Modeling Techniques and Analysis
INDIAN INSTITUTE OF SCIENCE Water Resources Systems: Modeling Techniques and Analysis Lecture - 9 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc. Summary of the previous lecture
More informationLinear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2
Linear programming Saad Mneimneh 1 Introduction Consider the following problem: x 1 + x x 1 x 8 x 1 + x 10 5x 1 x x 1, x 0 The feasible solution is a point (x 1, x ) that lies within the region defined
More informationContents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod
Contents 4 The Simplex Method for Solving LPs 149 4.1 Transformations to be Carried Out On an LP Model Before Applying the Simplex Method On It... 151 4.2 Definitions of Various Types of Basic Vectors
More information