Solutions for Operations Research Final Exam

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

Some Advanced Topics in Linear Programming

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

AM 121: Intro to Optimization Models and Methods Fall 2017

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

CSC 8301 Design & Analysis of Algorithms: Linear Programming

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

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

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

Math 414 Lecture 30. The greedy algorithm provides the initial transportation matrix.

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

5.3 Cutting plane methods and Gomory fractional cuts

The Simplex Algorithm. Chapter 5. Decision Procedures. An Algorithmic Point of View. Revision 1.0

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

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

The Simplex Algorithm

3 INTEGER LINEAR PROGRAMMING

IV. Special Linear Programming Models

TRANSPORTATION AND ASSIGNMENT PROBLEMS

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

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

VARIANTS OF THE SIMPLEX METHOD

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

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

Artificial Intelligence

Optimization Methods in Management Science

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

Department of Mathematics Oleg Burdakov of 30 October Consider the following linear programming problem (LP):

Linear programming II João Carlos Lourenço

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

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

5.4 Pure Minimal Cost Flow

4. Linear Programming

COLUMN GENERATION IN LINEAR PROGRAMMING

Section Notes 4. Duality, Sensitivity, and the Dual Simplex Algorithm. Applied Math / Engineering Sciences 121. Week of October 8, 2018

ME 391Q Network Flow Programming

Discrete Optimization. Lecture Notes 2

Mathematical and Algorithmic Foundations Linear Programming and Matchings

4.1 Graphical solution of a linear program and standard form

Unit.9 Integer Programming

Lecture Notes 2: The Simplex Algorithm

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

SUGGESTED SOLUTION CA FINAL MAY 2017 EXAM

6.854J / J Advanced Algorithms Fall 2008

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

lpsymphony - Integer Linear Programming in R

4.1 The original problem and the optimal tableau

1. What do you get as the integer and noninteger parts if you factor this as we did with our cutting planes:

LECTURES 3 and 4: Flows and Matchings

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

Module 10. Network Simplex Method:

Mid-term Exam of Operations Research

Linear Programming Duality and Algorithms

11 Linear Programming

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

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

1 Linear programming relaxation

The Ascendance of the Dual Simplex Method: A Geometric View

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

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

CSE 40/60236 Sam Bailey

Linear Programming. Revised Simplex Method, Duality of LP problems and Sensitivity analysis

CMPSCI611: The Simplex Algorithm Lecture 24

An example of LP problem: Political Elections

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36

THE simplex algorithm [1] has been popularly used

Notes for Lecture 20

15.082J and 6.855J. Lagrangian Relaxation 2 Algorithms Application to LPs

Integer Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University

How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V

Duality. Primal program P: Maximize n. Dual program D: Minimize m. j=1 c jx j subject to n. j=1. i=1 b iy i subject to m. i=1

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

Read: H&L chapters 1-6

Linear Programming Terminology

16.410/413 Principles of Autonomy and Decision Making

UNIT 2 LINEAR PROGRAMMING PROBLEMS

Easter Term OPTIMIZATION

Math Introduction to Operations Research

Linear Programming Problems

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Introduction to Operations Research

Civil Engineering Systems Analysis Lecture XV. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

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

LP-Modelling. dr.ir. C.A.J. Hurkens Technische Universiteit Eindhoven. January 30, 2008

Linear Programming Motivation: The Diet Problem

Graphs that have the feasible bases of a given linear

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

Lecture 9: Linear Programming

APPM 4120/5120 Exam #2 Practice Solutions Spring 2015

5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY

INEN 420 Final Review

Farming Example. Lecture 22. Solving a Linear Program. withthe Simplex Algorithm and with Excel s Solver

Tribhuvan University Institute Of Science and Technology Tribhuvan University Institute of Science and Technology

Ryerson Polytechnic University Department of Mathematics, Physics, and Computer Science Final Examinations, April, 2003

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

Transportation Problems

Generalized Network Flow Programming

An iteration of the simplex method (a pivot )

Transcription:

Solutions for Operations Research Final Exam. (a) The buffer stock is B = i a i = a + a + a + a + a + a 6 + a 7 = + + + + + + =. And the transportation tableau corresponding to the transshipment problem is Destination Origin a i + B M M M M M 6 M M M 6 M b j + B (b) We solve the problem by using the transportation algorithm. The starting basic feasible solution produced by the northwest corner method is illustrated as follows. 6 The st BFS. u M-6 M- M- M- -M M M M M- M-6-6 M M -M -M- M+ M M 8-M 7-M M+ M M 6 M 6 M+ M+ v M-6 - -M- -M Computations for the st BFS.

Then x 6 enters the basis and x 7 leaves the basis and θ =. -θ +θ -θ +θ 6 +θ -θ Pivot from the st BFS to the nd BFS. The nd BFS is illustrated as follows. 6 The nd BFS. u M-6 - M+ M M M 6 7-M M- M M M-6 M-8 -M- M+ M M M- M+ M M 6 M M- M-8 M+ M+ v -M -M -M- -M Computations for the nd BFS. Then x enters the basis and x 6 leaves the basis and θ =. -θ +θ 6 +θ -θ Pivot from the nd BFS to the rd BFS.

The rd BFS is illustrated as follows. 6 The rd BFS. u -9 - M+ M M M M-7 M- M- M M M-6 - -M- M+ M M -M- M+ M M 6 M M- - M+ M+ v -M 7 -M- -M Computations for the rd BFS. Then x 7 enters the basis and x leaves the basis and θ =. -θ +θ 6 +θ -θ Pivot from the rd BFS to the th BFS. The th BFS is illustrated as follows. 6 The th BFS.

u M- M+ - M M M M- M- M-9 M M M-6 M-7 M M M+ M+ - M 6 M M-6 - M v 6 7 Computations for the th BFS. Then x 7 enters the basis and x 7 leaves the basis and θ =. -θ +θ 6 +θ -θ Pivot from the th BFS to the th BFS. The nd BFS is illustrated as follows. 6 The th BFS.

u M- M+ - M M M M- M- M-8 M M M-6 M-7 M M M+ M+ - M 6 M M- M+ v 6 - Computations for the th BFS. Since the reduced cost values for each nonbasic variable are nonnegative, the th BFS is optimal. The interpretation of the solution is: units from node to node 6, units from node to node, units from node to node 6, units from node to node 7, units from node to node, and units from node to node 7. Moreover, if the cost is the least, the case that some units are transported backward can not happen at any transhipment nodes. Since the number of transportation units at each transshipment node is less than B, an upper bound for the sum of net out of nodes. Therefore we set the availability at each transhipment node as a i + B, and the requirement at each transhipment node as b i + B. This interprets the role of B in this transhipment problem. (c) Using the least cost method, the transportation tableau corresponding to the transshipment problem is Destination Origin a i + B 8 6 M 9 6 7 6 M M 6 6 M b j + B We solve the problem by using the transportation algorithm. The starting basic feasible solution produced by the northwest corner method is illustrated as follows.

6 The st BFS. u 6 -M+ M+ M M M M- -M- M+8 M M - -M- M+ M M - M+ M M 6 M M+ M+ M+ M+ v -M+ -M+ -M- -M Computations for the st BFS. Then x enters the basis and x leaves the basis and θ =. -θ +θ 6 +θ -θ Pivot from the st BFS to the nd BFS. The nd BFS is illustrated as follows. 6 The nd BFS. 6

u 6 6 M M M M- - 7 M M - M M - M+ M+ - M 6 M M+ V - Computations for the nd BFS. Then x 6 enters the basis and x 7 leaves the basis and θ =. θ +θ +θ θ 6 Pivot from the nd BFS to the rd BFS. The rd BFS is illustrated as follows. 6 The rd BFS. 7

u M M M M- - 8 M M M M M+ M+ - M 6 M M+ V - Computations for the rd BFS. Then x enters the basis and x 6 leaves the basis and θ =. θ +θ +θ θ 6 Pivot from the rd BFS to the th BFS. The th BFS is illustrated as follows. 6 The th BFS. u M M M M- M M - M M - M+ M+ - M 6 M M+ V 6 - Computations for the th BFS. 8

Then x 7 enters the basis and x leaves the basis and θ =. θ +θ +θ θ 6 +θ θ Pivot from the th BFS to the th BFS. The nd BFS is illustrated as follows. 6 The th BFS. u 7 - M M M M- M M M M M+ M+ - M 6 M M+ V 6 - Computations for the th BFS. Since the reduced cost values for each nonbasic variable are nonnegative, the th BFS is optimal. The interpretation of the solution is: units from node to node 6, units from node to node, units from node to node 6, units from node to node 7, units from node to node, and units from node to node 7. 9

. (a) Suppose that B and B both determine the same BFS x. Then x has zeros in the n m columns not in B; it also must have zeros in the columns in B B. Hence it is degenerate. (b) The converse is not true. A counterexample is In this counterexample, and min x + x [ ][ ] x s.t. = x x, x. n = m = n m =. [ ] Therefore the vertex (, ) which contains a zero is degenerate. Moreover, it corresponds to the unique basis [ ] [ ] {, }.. Relax the integer constraint, the optimum solution is (, 8 ), the intersection of x x + x = and x + x + x =. Staring with this, we have x = x x x = 8 + x x. Observe the equation x = 8 + x x, we have x x = 8 x x 8. Actually, x x because of the integer constraint. Substituting x with x + x, we have x ( x + x ),

or x. Then we have the first cut, x =. After cutting by x =, the optimal solution is (, ), already an integer solution. The problem is solved. And the graph for feasible domain and the cut are illustrated in the following graph. feasible domain xy 9 8 7 6 x = x +x = x -x = -x +x = ----- - -9-8 -7-6 - - - - - - - - - - -6 6 7 8 9 x -7-8 the first cut -9. For each constraints in - - - - AX + s b, - - we multiply respective to each constraint and have new constraints with integer coefficients. If there exists any non-original variables, we can always substitute them with the combination of original variables by the constraints.. (a) The network for the numerical example is as follows.

7 8 9 6 (b) The solution to the maximum flow problem in (a) is as follows. 7 8 9 6 (c) Let S = {,, 6, } and S = {,,, 7, 8, 9,, }.

Then we have the minimum cut K = {(6, ), (, ), (.), (, )}. Follow the instruction, we use the st, the nd, the th rows and the st column to cover all zeros in the reduced matrix. (d) Consider the assignment problem corresponding to zero cells: max x + x + x + x + x + x + x + x + x s.t. x ij = or x, x, x, x, x, x, x, x, x. x x x x x x x x x It is obvious that only one of {x, x } can be. Similarly, only one of {x, x, x } can be. Only one of {x, x } can be, etc. Therefore, the optimal values of this LP equals the number of independent zero cells. Consider the dual problem of the above LP: min u + u + u + u + u + v + v + v + v + v s.t. u + v u + v u + v u + v u + v u u + v u + v v u + v The optimal value of the dual LP equals the number of lines required (least) to cover all zero cells. It concludes that the maximum number of independent zero cells in a reduced cost assignment matrix is equal to the minimum number of lines to cover all zeros in the matrix since the primal optimum equals the dual optimum.

6. (a) min i j c ij x ij s.t. 6 x ij =, j =,..., 6 i= 6 x ij =, i =,..., 6 j= u i u j + 6x ij, i j 6 u i R, i =,...,6 x ij {, }. (b) Step : From each row, we find the row minimum and subtract it from all entries on that row. M 7 6 6 7 M 6 M 6 M 8 8 6 7 8 M 9 M Step : From each column, we find the column minimum and subtract it from all entries on that column. M 6 7 6 M 9 M 9 M 6 7 M 8 M Step : We draw lines across rows and columns in such a way that all zeros are covered and that the minimum number of lines have been used(in this case lines across the th row, the 6th row, the th column, and the 6th column). M 7 M 9 M 9 M 6 M M Step : A test for optimality If the number of lines just drawn equals the number of rows of the cost matrix,

we are done. If the number of lines is less than the number of rows of the cost matrix, we go to step. Now the number of lines is, which is less than 6, the number of rows of the cost matrix. Step : We find the smallest entry which is not covered by the lines, which in this case is the (, )-entry, and subtract it from each entry not covered by the lines. We also add it to each entry which is covered by a vertical and horizontal line. Now we can go back to Step. Step *: Draw lines across zeros (the st, the th, and the 6th columns, the th, and the 6th rows). M 6 M 8 M 9 M M 6 M Step *: A test for optimality If the number of lines just drawn equals the number of rows of the cost matrix, we are done. If the number of lines is less than the number of rows of the cost matrix, we go to step. Now the number of lines is, which is less than 6, the number of rows of the cost matrix. Step *: We find the smallest entry which is not covered by the lines, which in this case is the (, )-entry, and subtract it from each entry not covered by the lines. We also add it to each entry which is covered by a vertical and horizontal line. Now we can go back to Step. Step **: We draw lines across rows and columns in such a way that all zeros are covered and that the minimum number of lines have been used. And the number of lines just drawn equals the number of rows of the cost matrix, we are done. M 6 9 M 6 8 M 9 M 7 6 7 M 7 9 M The answer to the assignment problem is assigning to, to, to, to, to 6, and 6 to.

(c) Consider the subtour {(, ), (, 6), (6, )}. This can be eliminated by Tucker s formulation because we will get a contradiction, u u + 6 () u u 6 + 6 () u 6 u + 6 () () + () + () 8. = (d) The cost of the solution in (c) is 6 + 7 + + 6 + + =. This value,, can be a lower bound on the minimum cost. And we branch by adding one more constraint x st = or x st =, respectively, to the constraints on the candidate problem, two candidate subproblem are generated. 6