A Comparative study on Algorithms for Shortest-Route Problem and Some Extensions
|
|
- Milo Short
- 6 years ago
- Views:
Transcription
1 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 A Comparative study on Algorithms for Shortest-Route Problem and Some Extensions Sohana Jahan, Md. Sazib Hasan Abstract-- The shortest-route problem determines shortest routes from one node to another. In this paper Dijkstra s Algorithm and Floyd s algorithm to determine shortest route between two nodes in the network are discussed. Some extensions in Floyd s algorithm have done. We have formulated a shortest route problem as a linear programming problem and solved it as a 0- integer programming problem. The dual of the formulated linear programming problem is also used to determine the shortest routes. Complementary Slackness Theorem is used to solve the primal problem from the solution of the dual problem and to determine the shortest distance as well as the shortest routes. Index Terms-- Complementary Slackness Theorem, Dual of an LPP, Dijkstra s algorithm, Floyd s algorithm, 0- Integer Programming Problem. I. Introduction Network optimization [], [] has always been at the heart of operational research. Shortest Route model is one of the network models whose applications cover a wide range of areas, such as telecommunications and transportation planning. The shortest-route problem [],[],[] determines shortest routes from one node to another. There are a number of algorithms that can be used to Sohana Jahan is with the the Department of Mathematics, University of Dhaka, Dhaka, Bangladesh ( jahansohana@univdhaka.edu) Md. Sazib Hasan is with the Department of Mathematics, Brac University, Dhaka, Bangladesh. ( sazib@bracu.ac.bd) determine shortest distance and shortest route between two nodes in a network. In this paper we have discussed Dijkstra s algorithm [], [] and Floyd s algorithm []. We have made some extensions in Floyd s algorithm. We have given the linear programming formulation of a shortest route problem and solved it as a 0- integer programming problem []. We have also solved the problem by solving the dual of the formulated linear programming problem [] and determined the shortest routes. We have also used Complementary Slackness Theorem [] to solve the primal problem from the solution of the dual problem and determined the shortest distance as well as the shortest routes. II. Algorithms to find Shortest-Route There are a number of algorithms that can be used to determine shortest route between two nodes in a network. Among them Dijkstra s algorithm and Floyd s algorithm are more efficient. Dijkstra s algorithm [],[] determines the shortest route between the source node and every other node and Floyd s algorithm[] determines the shortest route between all pair of nodes in the network.. Dijkstra s algorithm: Let u i be the shortest distance from source node to node i, and define d ij ( 0)as the length of arc (i, j). Then the algorithm 00- IJBAS-IJENS December 0 IJENS
2 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 defines the label for an immediately succeeding node j as [u i, i] = [u i + d ij, i], d ij 0. The label for the starting node is [0, -], indicating that the node has no predecessor. Node labels in Dijkstra s algorithm are of two types: temporary and permanent. A temporary label is modified if a shorter route to a node can be found. At the point when no better routes can be found, the status of the temporary label is changed to permanent. Step 0: Label the source node (node ) with the permanent label [0, - ]. Set i =, Step i: (a) Compute the temporary labels [u i + d ij,i] for each node j that can be reached from node i, provided j is not permanently labeled. If node j is already labeled with [u j, k] through another node k and if u i + d ij < u j, replace [u j, k] with [u i + d ij, i]. (b)if all the nodes have permanent labels, stop. Otherwise, select the label [u r, s] having the shortest distance (= u r ) among all the temporary labels. Set i = r and repeat step i. Now we consider the following network to implement the Dijkstra s algorithm Example: The network in Fig:. gives the routes and their lengths in miles between city (node ) and seven other cities (nodes,,,,,, ). We determine the shortest routes between city and each of the remaining seven cities. Fig.. According to Dijkstra s algorithm we start with iteration 0. Iteration 0: Assign the permanent label [0,-] to node. Iteration : Nodes and can be reached from node. Thus, the list of labeled nodes (temporary and permanent) becomes Node Label Status [0, -] Permanent [0+, ]=[,] Temporary [0+, ]=[,] Temporary Between the two temporary labels [, ] and [, ], node yields the smaller distance (u =). Thus, the status of node is changed to permanent. Iteration : Nodes and can be reached from node, and the list of labeled nodes becomes Node Label Status [0,-] Permanent [,] Permanent [,] or Temporary [+,]=[,] [+,]=[, ] Temporary [+, ] = [, ] Temporary 00- IJBAS-IJENS December 0 IJENS
3 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 9 Among the temporary labels [, ], [, ], [, ], node yields the smaller distance (u =). Thus, the status of the temporary label [, ] at node is changed to permanent. Continuing in this way we have the final table in the last iteration: Iteration : Node Label Status [0,-] Permanent [,] Permanent [, ] Permanent [, ] Permanent [, ], [, ] Permanent [, ] or [, ] Permanent [0,] Permanent [, ] Permanent Therefore, the following sequence determines the shortest route from node to node () [, ] () [, ] () [, ] () [,] () Thus, the required rout is with a total length of miles. The route is shown in the following diagram in blue color. The alternative routes with shortest distance from node to node are and.. Floyd s Algorithm and some extension Floyd s algorithm determines the shortest route between any two nodes in the network, so this algorithm is more general than Dijkstra s algorithm. The algorithm represents an n-nodes network as a square matrix with n rows and n columns. Entry (i, j) of the matrix gives the distance d ij from node i to node j, which is finite is finite if i is linked directly to j, and infinite otherwise Given three nodes i, j, and k in Fig:. with the connecting distances shown on the three arcs, it is shorter to reach k from i passing through j if d ij + d jk < d ik In this case, it is optimal to replace the direct route from i k with the indirect route i j k. This triple operation exchange is applied systematically to the network using the following steps: 00- IJBAS-IJENS December 0 IJENS
4 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 0 Step 0. Define the starting distance matrix D 0 and node sequence matrix S 0 as given below. The diagonal elements are marked with ( - ) to indicates that they are blocked. Set k =.. i. n D 0 j n - d d n d n d - d n d n d i d i d ij d in d n d n d nj - S 0 j n j n n i j n n j - General step k: Define row k and column k as pivot row and pivot column. Apply the triple operation to each element d ij in D k- for all i and j. that means if any entry of the pivot column is then the row corresponding this pivot element need not to consider for triple operation in this step. If the condition d ik + d kj < d ij, (i k, j k and i j) is satisfied, make the following changes: (a). Create D k by replacing d ij in D k- with d ik + d kj. (b). Create S k by replacing s ij in S k- with k. Set k=k+, and repeat step k up to n step. If d ik + d kj = d ij, (i k, j k and i j), d ij need not to replace by d ik + d kj but it meansn i k j is al alternative way of i j of length d ij. After n steps, we can determine the shortest route between nodes i and nodes j from the matrices D n and S n using the following rules:. From D n, d ij gives the shortest distance between nodes i and j.. From S n, determine the intermediate node k = s ij that yields the route i k j. If s ik = k and s kj = j, stop; all the intermediate nodes of the route have been found. Otherwise, repeat the procedure between nodes i and k, and between nodes k and j. Extensions. The triple operations should be done on the entries d ij of the rows and columns corresponding to finite entries of the pivot row and pivot column in D k- for all i and j. that means if any entry of the pivot column is then the row corresponding this pivot element need not to consider for triple operation in this step. For example, in the following table the rd row and rd column are pivot row and pivot column respectively. The entry d = in the pivot row. So the first column needs not to be considered for the triple operation. Same argument is applicable for the nd, th and th column as well as for the th, th, th, th and th rows. 00- IJBAS-IJENS December 0 IJENS
5 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 D S 0 In general if kth row and kth column are pivot row and pivot column respectively then if d kj = then we can leave the jth column for triple operation in this step. And if d ik = then ith row can be avoided.. For triple operation we should not consider those entries d ij of the rows (columns) corresponding to any element of the pivot column (row) which satisfies d ij d kj. Example: We will determine the shortest routes between every two nodes for the network, shown in Fig:., where the distance (in miles) is given on the arcs. All the arcs allow traffic in one direction. Iteration 0: The matrix D 0 and S 0 give the initial representation of the network. d ij = implies no traffic is allowed from node i to node j. D Iteration: Set k=. The pivot row and column are shown by the lightly shaded first row and first column in the D 0 matrix. Since all the entries in the pivot column is. None of the entries d ij can be improved by the triple operation. Thus, D and S are same as D 0 and S 0. D S 00- IJBAS-IJENS December 0 IJENS
6 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 Iteration : Set k=. In this iteration nd row and nd column are pivot row and pivot column respectively, as shown by the lightly shaded row and column in D. All the entries d i = except d. Also d = d = d =. So we can apply triple operation on the entries d, d and d only.among them d and d are the cells that can be improved by triple operation. The D and S are obtained from D and S in the following way: i) Replace d with d +d = += and set s =. ii) Replace d with d +d = += and set s =. These changes are shown in matrices D and S : D Continuing in this way the final matrices in the last iteration where none of the entries d ij can be improved by the triple operation becomes: D S S D In D d + d = d implies d cannot be improved by triple operation. But at the same time it indicates is an alternative way of of length. Thus in the third iteration where k =, the matrices are: S 00- IJBAS-IJENS December 0 IJENS
7 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 Now we can determine the shortest distance between any two cities from the matrix D. Also the shortest route can also be determined from S. For example, the shortest distance between the city and the city is d = mile. Now, to determine the shortest route between city and city, recall that a segment (i, j) represents a direct link only if s ij = j. Otherwise, i and j are linked through at least one other intermediate node. Since s =, the route is initially given as. Now, since s =, the segment (, ) is not a direct link and must be replaced with. s = so (,) is a direct link. Thus the route now becomes. Next, because s =, s = the route needs no further dissecting and the process ends. Similarly the shortest distance between the cities and is d = miles and the shortest route is. III. Linear Programming Formulation of the Shortest- Route Problem: Most of the network problem can be formulated as a Linear programming problem and can be solved by simplex type algorithm. In this section we discuss two Linear Programming (LP) formulations [],[], [] for the shortest-route problem. The formulations are general in the sense that they can be used to find the shortest route between any two nodes in the network. Consider the shortest-route network with n nodes and we desire to determine the shortest route between any two nodes s and t in the network. Formulation : This formulation assumes that an external one unit of flow enters the network at node s and leaves it at node t, where s and t are the two target nodes between which we seek to determine the shortest route. We define x ij = amount of flow in arc (i, j), for all feasible i and j, c ij = length of arc (i, j), for all feasible i and j. Because only one unit of flow can be in any arc at any one time, the variable x ij must assume binary values (0 or ) only. Thus, the objective function of the linear program becomes The constraint represents the conservation of flow at each node. For any node j, Total input flow = Total output flow. Formulation : This formulation is actually the dual problem of the LP in Formulation. Because the number of constraints in Formulation equals the number of nodes, the dual problem will have as many variables as the numbers of nodes in the network. Also, all the dual variables must be unrestricted because all the constraints in Formulation are equations. Let, y j = dual constraint associated with node j. 00- IJBAS-IJENS December 0 IJENS
8 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 Given s and t are the start and terminal nodes of the network, the dual problem is defined as Maximize z = y t - y s Subject to y j y i c ij, for all feasible i and j All y i and y j unrestricted in sign. Example: Consider the problem of determining shortest route between the cities in the network as shown in Fig.. Here, s = and t =. The following diagram (Fig.) shows how the unit of flow enters at node and leaves at node Fig:. The associated LP is listed below: We set x ij = - for node i = for node j. Min z x x x x x x x x x x x x x x x x Node- - - = - Node = 0 Node = 0 Node = 0 Node- - - = 0 Node- - - = 0 Node- - = 0 Node- = Thus the Linear programming problem becomes. Minimize z = x + x + x + x + x + x + x + x +x +x + x +x +x +x + x + x Subject to x + x = x - x x x =0 x + x -x - x x = 0 x + x x - x x = 0 () x + x + x x x = 0 x + x + x - x x = 0 x + x + x x = 0 x + x = 0 x ij, for i,j =,,,,. The constraints represent flow conservation at each node. The problem is an 0 integer programming problem [9], [0]. We solved the above problem by TORA (a Windows based software).the optimal solution obtained by TORA is Z =, x =, x =, x =, x =. This solution gives the shortest route from node to node as and the associated distance is z = miles. 00- IJBAS-IJENS December 0 IJENS
9 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 Dual of the formulated linear programming: We can solve the above problem using dual. Maximize z = y y Subject to y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y y (Route -) y, y,..., y unrestricted. Now solving the above dual problem using TORA we have y = -, y = -, y = -, y = -, y = -, y = -, y =, y = 0. The value of Z = gives the shortest distance from node to node. The solution satisfies in equation form the constraint of routes -, -, -, -, -, -, -, -, - and -. We can determine the shortest route from the constraints that are satisfied in equation form. For, we consider the sequence routes -, -, -, -, -. Thus the shortest route becomes: Similarly other routes from node to node with shortest length is,, and Note that, if we choose the route - we cannot move further from the node to any other node since each of the constraint of routes -, -, - is satisfied as an inequality in the optimal solution. We cannot choose the route - for the same reason. Also we can determine the route using Complementary Slackness Theorem [],[] by determining the values of the variables x ij of the primal problem. For, since the constraints of routes -, -, -, -, -and - are satisfied as inequality at the optimum values of y i in the dual problem, so by Complementary Slackness theorem the variables x = 0, x = 0, x = 0, x = 0, x =0, x = 0. And since the values of the slack variables of routes -, -, -, -, -, -, -, -,- and - are zero the values of the variables x, x, x, x, x, x, x, x, x, x are either 0 or. Substituting the values x = 0, x = 0, x = 0, x = 0, x =0 and x = 0 in the constraint set of the primal problem x + x = x - x x =0 x + x -x - x x = 0 x = 0 x + x x x = 0 () x + x x = 0 x = 0 x = 00- IJBAS-IJENS December 0 IJENS
10 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 Thus we have a system of linear equations x + x = x - x x =0 x + x -x - x x = 0 () x + x x x = 0 x + x x = 0 By Gaussian elimination method the system in echelon form becomes: x + x = x + x + x = () x + x + x = x + x = We have equations in unknowns. So we three free variables, x, x and x. The possible choices of (x, x, x ) are (0,0,0), (0,0,), (0,,0), (0,,), (,0,0), (,0,), (,,0), (,,). Each of these possible choices may or may not be the solution points because the dependent variables have the restriction x ij = 0 or. For the first choice (0, 0, 0) substituting the values x = 0, x = 0 and x = 0 in the system () and solving we get x = 0, x =, x = 0 and x =. The variables with non zero value are x, x and x. Hence one route with shortest distance from node to node is ---. Again for the choice (0, 0, ), substituting x = 0, x = 0 and x = in the system () and solving we get x =, x =0, x = and x = 0. For this choice of the free variables we have x =, x =, x =, x =. Hence another route with shortest distance from node to node is. Note that if we choose x = 0, then from the last equation of system () we get x =.Now from the second last equation, since x = so x = 0 and x = 0.This implies if x =0 then the value of x must be 0. So the choices (0,, 0) and (,, 0) cannot give any shortest route. Again the choice (, 0, ) does not give a shortest route because it does not satisfy the system () of equations. Therefore the different routes with shortest distance from node to node for the choices of (x, x, x ) are as follows: (0,,) gives, (,0,0) gives, (,,) gives. Limitations: If the network is undirected then the set of decision variables will be very large. As a result simplex method will take more iteration than the other methods to get the optimum path. So Dijkstra s algorithm or Floyd s algorithm is preferable to get the shortest route between two nodes in an undirected network. IV.Conclusion We can determine shortest route from source node to any other node of the network applying Dijkstra s algorithm. Using Floyd s algorithm shortest route can be determined between any two nodes of the network. Formulating the shortest route problem as a linear programming problem we get a 0- integer linear programming problem (ILPP). Solving this we get the shortest distance from a source node to a sink node. Also solving the dual of the (ILPP) we get shortest distance as well as all possible shortest routes from the source node to the sink node. Complementary slackness theorem can also be used to find a solution of the primal problem (ILPP) from the solution of the dual problem to get the required results. 00- IJBAS-IJENS December 0 IJENS
11 International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: No: 0 References: []. Dijkstra, E. W. "A note on two problems in connexion with graphs". Numerische Mathematik : 9, 99. []. Kenneth H. Rosen Discrete Mathematics and Its Applications, th Edition. Addison Wesley, 00, p []. G. B. Dantzig., Linear programming and extensions. Princeton University Press, Princeton, NJ, 9. []. Hamdy A. Taha, Operation Research- An Introduction, Prentice Hall, 00, p -, 9-9 []. Kambo N.S., Mathematical Programming Techniques, East-West Press, 9, p -. []. Ralph P. Grimaldi Discrete and Combinatorial Mathematics- An Applied Introduction, Pearson Addison Wesley, 00, p 9-. []. Vanderbei Robert J. Linear Programming - Foundations and Extensions, Springer, 00, p -. [9]. Karlof John K. Integer Programming- Theory and Practice, Taylor and Fransis group, 00. [0]. Frederick S. Hiller, Gerald J. Lieberman, Introduction to Operations Research, McGraw Hill, 00, p -0.. []. Arsham H., Stability analysis for the shortest path problems, Journal of Congressus Numerantium, Vol., No., -0, 99. []. Arsham H., A Comprehensive Simplex-Like Algorithm for Network Optimization and Perturbation Analysis, Optimization, Vol., No., -, 99. []. Phillips N., Network Models in Optimization & Their Applications in Practice, Wiley, 99. []. Ahuja R. K., Magnanti T. L. and Orlin J. B. Network Flows: Theory, Algorithms, and Applications. Prentice Hall, Englewood Cliffs, NJ, IJBAS-IJENS December 0 IJENS
Application of Bounded Variable Simplex Algorithm in Solving Maximal Flow Model
Dhaka Univ. J. Sci. (): 9-, 3 (January) Application of Bounded Variable Simplex Algorithm in Solving Maximal Flow Model Sohana Jahan, Marzia Yesmin and Fatima Tuj Jahra Department of Mathematics,University
More informationA Computer Technique for Duality Theory in Linear Programs
American Journal of Applied Mathematics 2015; 3(3): 95-99 Published online April 23, 2015 (http://www.sciencepublishinggroup.com/j/ajam) doi: 10.11648/j.ajam.20150303.13 ISSN: 2330-0043 (Print); ISSN:
More informationLinear Programming. Course review MS-E2140. v. 1.1
Linear Programming MS-E2140 Course review v. 1.1 Course structure Modeling techniques Linear programming theory and the Simplex method Duality theory Dual Simplex algorithm and sensitivity analysis Integer
More informationA Computer Oriented Method for Solving Transportation Problem
Dhaka Univ. J. Sci. 63(1): 1-7, 015 (January) A Computer Oriented Method for Solving Transportation Problem Sharmin Afroz and M. Babul Hasan* Department of Mathematics, Dhaka University, Dhaka-1000, Bangladesh
More informationME 391Q Network Flow Programming
ME 9Q Network Flow Programming Final Exam, Summer 00. ( Points) The figure below shows an undirected network. The parameters on the edges are the edge lengths. Find the shortest path tree using Dijkstra
More informationMath 414 Lecture 30. The greedy algorithm provides the initial transportation matrix.
Math Lecture The greedy algorithm provides the initial transportation matrix. matrix P P Demand W ª «2 ª2 «W ª «W ª «ª «ª «Supply The circled x ij s are the initial basic variables. Erase all other values
More informationTribhuvan University Institute Of Science and Technology Tribhuvan University Institute of Science and Technology
Tribhuvan University Institute Of Science and Technology Tribhuvan University Institute of Science and Technology Course Title: Linear Programming Full Marks: 50 Course No. : Math 403 Pass Mark: 17.5 Level
More informationGeneralized Network Flow Programming
Appendix C Page Generalized Network Flow Programming This chapter adapts the bounded variable primal simplex method to the generalized minimum cost flow problem. Generalized networks are far more useful
More informationLinear and Integer Programming (ADM II) Script. Rolf Möhring WS 2010/11
Linear and Integer Programming (ADM II) Script Rolf Möhring WS 200/ Contents -. Algorithmic Discrete Mathematics (ADM)... 3... 4.3 Winter term 200/... 5 2. Optimization problems 2. Examples... 7 2.2 Neighborhoods
More informationGRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS
GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS DR. ANDREW SCHWARTZ, PH.D. 10.1 Graphs and Graph Models (1) A graph G = (V, E) consists of V, a nonempty set of vertices (or nodes)
More information56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998
56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998 Part A: Answer any four of the five problems. (15 points each) 1. Transportation problem 2. Integer LP Model Formulation
More informationEaster Term OPTIMIZATION
DPK OPTIMIZATION Easter Term Example Sheet It is recommended that you attempt about the first half of this sheet for your first supervision and the remainder for your second supervision An additional example
More informationOutline. Combinatorial Optimization 2. Finite Systems of Linear Inequalities. Finite Systems of Linear Inequalities. Theorem (Weyl s theorem :)
Outline Combinatorial Optimization 2 Rumen Andonov Irisa/Symbiose and University of Rennes 1 9 novembre 2009 Finite Systems of Linear Inequalities, variants of Farkas Lemma Duality theory in Linear Programming
More informationSolutions for Operations Research Final Exam
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
More informationApplying Floyd s Algorithm for Solving Neutrosophic Shortest Path Problems
Applying Floyd s Algorithm for Solving Neutrosophic Shortest Path Problems 1DrVJeyanthi, Associate Professor 2MrsRadhika VS, MPhil Scholar Department Of Mathematics,,Sree Narayana Guru College, Coimbatore
More informationArtificial Intelligence
Artificial Intelligence Combinatorial Optimization G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 1 GG A.I. 1/34 Outline 1 Motivation 2 Geometric resolution
More informationDM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini
DM545 Linear and Integer Programming Lecture 2 The Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. 4. Standard Form Basic Feasible Solutions
More informationSome Advanced Topics in Linear Programming
Some Advanced Topics in Linear Programming Matthew J. Saltzman July 2, 995 Connections with Algebra and Geometry In this section, we will explore how some of the ideas in linear programming, duality theory,
More informationDiscrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity
Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity Marc Uetz University of Twente m.uetz@utwente.nl Lecture 5: sheet 1 / 26 Marc Uetz Discrete Optimization Outline 1 Min-Cost Flows
More informationGeorge B. Dantzig Mukund N. Thapa. Linear Programming. 1: Introduction. With 87 Illustrations. Springer
George B. Dantzig Mukund N. Thapa Linear Programming 1: Introduction With 87 Illustrations Springer Contents FOREWORD PREFACE DEFINITION OF SYMBOLS xxi xxxiii xxxvii 1 THE LINEAR PROGRAMMING PROBLEM 1
More informationPart 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm
In the name of God Part 4. 4.1. Dantzig-Wolf Decomposition Algorithm Spring 2010 Instructor: Dr. Masoud Yaghini Introduction Introduction Real world linear programs having thousands of rows and columns.
More informationMathematical and Algorithmic Foundations Linear Programming and Matchings
Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis
More informationOutline: Finish uncapacitated simplex method Negative cost cycle algorithm The max-flow problem Max-flow min-cut theorem
Outline: Finish uncapacitated simplex method Negative cost cycle algorithm The max-flow problem Max-flow min-cut theorem Uncapacitated Networks: Basic primal and dual solutions Flow conservation constraints
More informationLinear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming
Linear Programming 3 describes a broad class of optimization tasks in which both the optimization criterion and the constraints are linear functions. Linear Programming consists of three parts: A set of
More informationIntroduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs
Introduction to Mathematical Programming IE496 Final Review Dr. Ted Ralphs IE496 Final Review 1 Course Wrap-up: Chapter 2 In the introduction, we discussed the general framework of mathematical modeling
More informationChalmers University of Technology. Network Models. April 11, Birgit Grohe
Chalmers University of Technology Applied Optimisation lp 4 VT08 Network Models April 11, 2008 Birgit Grohe Network Models - Examples Many different problems can be formulated as graph/network models:
More informationNetwork Models - Examples. Network Models. Definition and Terminology. The Minimum Spanning Tree (MST) Problem
Chalmers University of Technology Applied Optimisa- Network Models - Examples tion lp 4 VT08 Network Models April 11, 2008 Birgit Grohe Many different problems can be formulated as graph/network models:
More informationEXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling
SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM EXERCISES Prepared by Natashia Boland 1 and Irina Dumitrescu 2 1 Applications and Modelling 1.1
More informationOn the Computational Behavior of a Dual Network Exterior Point Simplex Algorithm for the Minimum Cost Network Flow Problem
On the Computational Behavior of a Dual Network Exterior Point Simplex Algorithm for the Minimum Cost Network Flow Problem George Geranis, Konstantinos Paparrizos, Angelo Sifaleras Department of Applied
More informationCopyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.
Iterative Improvement Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change the current feasible
More informationCopyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 17. PATH ANALYSIS AND NETWORK APPLICATIONS 17.1 Path Analysis 17.1.1 Source Raster 17.1.2 Cost Raster Box 17.1 Cost Raster for a Site Analysis of Pipelines 17.1.3 Cost Distance Measures 17.1.4
More information5.3 Cutting plane methods and Gomory fractional cuts
5.3 Cutting plane methods and Gomory fractional cuts (ILP) min c T x s.t. Ax b x 0integer feasible region X Assumption: a ij, c j and b i integer. Observation: The feasible region of an ILP can be described
More informationApplication of Cutting Stock Problem in Minimizing The Waste of Al-Quran Cover
Kaunia, Vol.XII, Num., April 206, pp. 7~22 Available online at http://ejournal.uin-suka.ac.id/saintek/kaunia Application of Cutting Stock Problem in Minimizing The Waste of Al-Quran Cover Noor Saif Muhammad
More informationNetwork Routing Protocol using Genetic Algorithms
International Journal of Electrical & Computer Sciences IJECS-IJENS Vol:0 No:02 40 Network Routing Protocol using Genetic Algorithms Gihan Nagib and Wahied G. Ali Abstract This paper aims to develop a
More information5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY
5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY 5.1 DUALITY Associated with every linear programming problem (the primal) is another linear programming problem called its dual. If the primal involves
More informationLinear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.
University of Southern California Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research - Deterministic Models Fall
More informationAn Improved Decomposition Algorithm and Computer Technique for Solving LPs
International Journal of Basic & Applied Sciences IJBAS-IJENS Vol: 11 No: 0 12 An Improved Decomposition Algorithm and Computer Technique for Solving LPs Md. Istiaq Hossain and M Babul Hasan Abstract -
More informationCivil Engineering Systems Analysis Lecture XIV. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics
Civil Engineering Systems Analysis Lecture XIV Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Today s Learning Objectives Dual 2 Linear Programming Dual Problem 3
More informationDual-fitting analysis of Greedy for Set Cover
Dual-fitting analysis of Greedy for Set Cover We showed earlier that the greedy algorithm for set cover gives a H n approximation We will show that greedy produces a solution of cost at most H n OPT LP
More informationNetwork optimization: An overview
Network optimization: An overview Mathias Johanson Alkit Communications 1 Introduction Various kinds of network optimization problems appear in many fields of work, including telecommunication systems,
More informationThe Paired Assignment Problem
Open Journal of Discrete Mathematics, 04, 4, 44-54 Published Online April 04 in SciRes http://wwwscirporg/ournal/odm http://dxdoiorg/0436/odm044007 The Paired Assignment Problem Vardges Melkonian Department
More information1. Lecture notes on bipartite matching February 4th,
1. Lecture notes on bipartite matching February 4th, 2015 6 1.1.1 Hall s Theorem Hall s theorem gives a necessary and sufficient condition for a bipartite graph to have a matching which saturates (or matches)
More informationThe simplex method and the diameter of a 0-1 polytope
The simplex method and the diameter of a 0-1 polytope Tomonari Kitahara and Shinji Mizuno May 2012 Abstract We will derive two main results related to the primal simplex method for an LP on a 0-1 polytope.
More informationShortest Paths. March 21, CTU in Prague. Z. Hanzálek (CTU) Shortest Paths March 21, / 44
Shortest Paths Zdeněk Hanzálek hanzalek@fel.cvut.cz CTU in Prague March 21, 2017 Z. Hanzálek (CTU) Shortest Paths March 21, 2017 1 / 44 Table of contents 1 Introduction Problem Statement Negative Weights
More informationMaterial handling and Transportation in Logistics. Paolo Detti Dipartimento di Ingegneria dell Informazione e Scienze Matematiche Università di Siena
Material handling and Transportation in Logistics Paolo Detti Dipartimento di Ingegneria dell Informazione e Scienze Matematiche Università di Siena Introduction to Graph Theory Graph Theory As Mathematical
More informationSimulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016
Simulation Lecture O Optimization: Linear Programming Saeed Bastani April 06 Outline of the course Linear Programming ( lecture) Integer Programming ( lecture) Heuristics and Metaheursitics (3 lectures)
More informationSolving Linear Programs Using the Simplex Method (Manual)
Solving Linear Programs Using the Simplex Method (Manual) GáborRétvári E-mail: retvari@tmit.bme.hu The GNU Octave Simplex Solver Implementation As part of the course material two simple GNU Octave/MATLAB
More informationCS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36
CS 473: Algorithms Ruta Mehta University of Illinois, Urbana-Champaign Spring 2018 Ruta (UIUC) CS473 1 Spring 2018 1 / 36 CS 473: Algorithms, Spring 2018 LP Duality Lecture 20 April 3, 2018 Some of the
More informationIncremental Algorithms for the Minimum Cost Flow Problem
Incremental Algorithms for the Minimum Cost Flow Problem LAURA CIUPALĂ Department of Computer Science University Transilvania of Braşov Iuliu Maniu Street 50, Braşov ROMANIA laura_ciupala@yahoo.com Abstract:
More informationAn Improved Subgradiend Optimization Technique for Solving IPs with Lagrangean Relaxation
Dhaka Univ. J. Sci. 61(2): 135-140, 2013 (July) An Improved Subgradiend Optimization Technique for Solving IPs with Lagrangean Relaxation M. Babul Hasan and Md. Toha De epartment of Mathematics, Dhaka
More informationPerformance Analysis of Routing Techniques in Networks
International Journal of Scientific and Research Publications, Volume 2, Issue 9, September 2012 1 Performance Analysis of Routing Techniques in Networks J.Mahesh, M.Antony Kumar P.M.R.Engineering College
More informationCSC 8301 Design & Analysis of Algorithms: Linear Programming
CSC 8301 Design & Analysis of Algorithms: Linear Programming Professor Henry Carter Fall 2016 Iterative Improvement Start with a feasible solution Improve some part of the solution Repeat until the solution
More informationOPERATIONS RESEARCH. Transportation and Assignment Problems
OPERATIONS RESEARCH Chapter 2 Transportation and Assignment Problems Prof Bibhas C Giri Professor of Mathematics Jadavpur University West Bengal, India E-mail : bcgirijumath@gmailcom MODULE-3: Assignment
More informationIntroduction to Mathematical Programming IE406. Lecture 16. Dr. Ted Ralphs
Introduction to Mathematical Programming IE406 Lecture 16 Dr. Ted Ralphs IE406 Lecture 16 1 Reading for This Lecture Bertsimas 7.1-7.3 IE406 Lecture 16 2 Network Flow Problems Networks are used to model
More informationLinear Programming. Readings: Read text section 11.6, and sections 1 and 2 of Tom Ferguson s notes (see course homepage).
Linear Programming Learning Goals. Introduce Linear Programming Problems. Widget Example, Graphical Solution. Basic Theory: Feasible Set, Vertices, Existence of Solutions. Equivalent formulations. Outline
More informationLinear 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 information4.1 The original problem and the optimal tableau
Chapter 4 Sensitivity analysis The sensitivity analysis is performed after a given linear problem has been solved, with the aim of studying how changes to the problem affect the optimal solution In particular,
More informationInteger Programming Theory
Integer Programming Theory Laura Galli October 24, 2016 In the following we assume all functions are linear, hence we often drop the term linear. In discrete optimization, we seek to find a solution x
More informationNew Directions in Linear Programming
New Directions in Linear Programming Robert Vanderbei November 5, 2001 INFORMS Miami Beach NOTE: This is a talk mostly on pedagogy. There will be some new results. It is not a talk on state-of-the-art
More informationSHORTCUT METHODS FOR SIMPLEX- BASED SENSITIVITY ANALYSIS OF LINEAR PROGRAMMING AND RELATED SOFTWARE ISSUES. 1. Introduction 1. Muwafaq M.
International Journal for Quality Research 11(1) 29 22 ISSN 18-645 Muwafaq M. Alkubaisi 1 Article info: Received 18.7.216 Accepted 7.1.216 UDC 4.2 DOI 1.18421/IJQR11.1-13 SHORTCUT METHODS FOR SIMPLEX-
More informationDepartment of Mathematics Oleg Burdakov of 30 October Consider the following linear programming problem (LP):
Linköping University Optimization TAOP3(0) Department of Mathematics Examination Oleg Burdakov of 30 October 03 Assignment Consider the following linear programming problem (LP): max z = x + x s.t. x x
More informationUnit.9 Integer Programming
Unit.9 Integer Programming Xiaoxi Li EMS & IAS, Wuhan University Dec. 22-29, 2016 (revised) Operations Research (Li, X.) Unit.9 Integer Programming Dec. 22-29, 2016 (revised) 1 / 58 Organization of this
More informationLinear programming and duality theory
Linear programming and duality theory Complements of Operations Research Giovanni Righini Linear Programming (LP) A linear program is defined by linear constraints, a linear objective function. Its variables
More informationBCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.
Linear Programming Module Outline Introduction The Linear Programming Model Examples of Linear Programming Problems Developing Linear Programming Models Graphical Solution to LP Problems The Simplex Method
More informationDM515 Spring 2011 Weekly Note 7
Institut for Matematik og Datalogi Syddansk Universitet May 18, 2011 JBJ DM515 Spring 2011 Weekly Note 7 Stuff covered in Week 20: MG sections 8.2-8,3 Overview of the course Hints for the exam Note that
More informationACO Comprehensive Exam October 12 and 13, Computability, Complexity and Algorithms
1. Computability, Complexity and Algorithms Given a simple directed graph G = (V, E), a cycle cover is a set of vertex-disjoint directed cycles that cover all vertices of the graph. 1. Show that there
More informationFor example, the system. 22 may be represented by the augmented matrix
Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural of matrix) may be
More informationNotes for Lecture 20
U.C. Berkeley CS170: Intro to CS Theory Handout N20 Professor Luca Trevisan November 13, 2001 Notes for Lecture 20 1 Duality As it turns out, the max-flow min-cut theorem is a special case of a more general
More information4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1
4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 Mathematical programming (optimization) problem: min f (x) s.t. x X R n set of feasible solutions with linear objective function
More 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 1.0 Introduction Linear programming
More informationApplication of a Dual Simplex method to Transportation Problem to minimize the cost
Application of a Dual Simplex method to Transportation Problem to minimize the cost Manisha.V. Sarode Assistant Professor, Dept. of Mathematics, Priyadarshini Indira Gandhi College of Engineering, Nagpur
More information4 Integer Linear Programming (ILP)
TDA6/DIT37 DISCRETE OPTIMIZATION 17 PERIOD 3 WEEK III 4 Integer Linear Programg (ILP) 14 An integer linear program, ILP for short, has the same form as a linear program (LP). The only difference is that
More informationNotes for Lecture 18
U.C. Berkeley CS17: Intro to CS Theory Handout N18 Professor Luca Trevisan November 6, 21 Notes for Lecture 18 1 Algorithms for Linear Programming Linear programming was first solved by the simplex method
More informationDense Matrix Algorithms
Dense Matrix Algorithms Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar To accompany the text Introduction to Parallel Computing, Addison Wesley, 2003. Topic Overview Matrix-Vector Multiplication
More informationDiscrete Optimization. Lecture Notes 2
Discrete Optimization. Lecture Notes 2 Disjunctive Constraints Defining variables and formulating linear constraints can be straightforward or more sophisticated, depending on the problem structure. The
More informationWorking Under Feasible Region Contraction Algorithm (FRCA) Solver Environment
Working Under Feasible Region Contraction Algorithm (FRCA) Solver Environment E. O. Effanga Department of Mathematics/Statistics and Comp. Science, University of Calabar P.M.B. 1115, Calabar, Cross River
More informationNATCOR Convex Optimization Linear Programming 1
NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 5 June 2018 What is linear programming (LP)? The most important model used in
More informationApproximation Algorithms Based on the Primal-Dual Method
CSE 594: Combinatorial and Graph Algorithms Lecturer: Hung Q. Ngo SUNY at Buffalo, Spring 2005 Last update: March 11, 2005 Approximation Algorithms Based on the Primal-Dual Method The primal-dual method
More informationORF 307: Lecture 14. Linear Programming: Chapter 14: Network Flows: Algorithms
ORF 307: Lecture 14 Linear Programming: Chapter 14: Network Flows: Algorithms Robert J. Vanderbei April 10, 2018 Slides last edited on April 10, 2018 http://www.princeton.edu/ rvdb Agenda Primal Network
More informationArtificial Intelligence
Artificial Intelligence Shortest Path Problem G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 3 GG A.I. 1/42 Outline 1 The Shortest Path Problem Introduction
More informationOutline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014
5/2/24 Outline CS38 Introduction to Algorithms Lecture 5 May 2, 24 Linear programming simplex algorithm LP duality ellipsoid algorithm * slides from Kevin Wayne May 2, 24 CS38 Lecture 5 May 2, 24 CS38
More informationCombinatorial Optimization
Combinatorial Optimization Frank de Zeeuw EPFL 2012 Today Introduction Graph problems - What combinatorial things will we be optimizing? Algorithms - What kind of solution are we looking for? Linear Programming
More informationOPPA European Social Fund Prague & EU: We invest in your future.
OPPA European Social Fund Prague & EU: We invest in your future. European Social Fund Prague & EU: We invests in your future. Combinatorial optimisation The shortest paths in a graph Přemysl Šůcha (suchap@fel.cvut.cz)
More informationCS420/520 Algorithm Analysis Spring 2009 Lecture 14
CS420/520 Algorithm Analysis Spring 2009 Lecture 14 "A Computational Analysis of Alternative Algorithms for Labeling Techniques for Finding Shortest Path Trees", Dial, Glover, Karney, and Klingman, Networks
More information4. Linear Programming
/9/08 Systems Analysis in Construction CB 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. Linear Programming Optimization Network Models -
More informationTHE simplex algorithm [1] has been popularly used
Proceedings of the International MultiConference of Engineers and Computer Scientists 207 Vol II, IMECS 207, March 5-7, 207, Hong Kong An Improvement in the Artificial-free Technique along the Objective
More information56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997
56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997 Answer #1 and any five of the remaining six problems! possible score 1. Multiple Choice 25 2. Traveling Salesman Problem 15 3.
More informationMath Models of OR: The Simplex Algorithm: Practical Considerations
Math Models of OR: The Simplex Algorithm: Practical Considerations John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA September 2018 Mitchell Simplex Algorithm: Practical Considerations
More informationWhat is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method
NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 14 June 2016 What is linear programming (LP)? The most important model used in
More informationPRIMAL-DUAL INTERIOR POINT METHOD FOR LINEAR PROGRAMMING. 1. Introduction
PRIMAL-DUAL INTERIOR POINT METHOD FOR LINEAR PROGRAMMING KELLER VANDEBOGERT AND CHARLES LANNING 1. Introduction Interior point methods are, put simply, a technique of optimization where, given a problem
More informationarxiv: v1 [math.co] 24 Aug 2009
SMOOTH FANO POLYTOPES ARISING FROM FINITE PARTIALLY ORDERED SETS arxiv:0908.3404v1 [math.co] 24 Aug 2009 TAKAYUKI HIBI AND AKIHIRO HIGASHITANI Abstract. Gorenstein Fano polytopes arising from finite partially
More informationInterpretation of Dual Model for Piecewise Linear. Programming Problem Robert Hlavatý
Interpretation of Dual Model for Piecewise Linear 1 Introduction Programming Problem Robert Hlavatý Abstract. Piecewise linear programming models are suitable tools for solving situations of non-linear
More informationInstituto Nacional de Pesquisas Espaciais - INPE/LAC Av. dos Astronautas, 1758 Jd. da Granja. CEP São José dos Campos S.P.
XXXIV THE MINIMIZATION OF TOOL SWITCHES PROBLEM AS A NETWORK FLOW PROBLEM WITH SIDE CONSTRAINTS Horacio Hideki Yanasse Instituto Nacional de Pesquisas Espaciais - INPE/LAC Av. dos Astronautas, 1758 Jd.
More informationWorst case examples of an exterior point algorithm for the assignment problem
Discrete Optimization 5 (2008 605 614 wwwelseviercom/locate/disopt Worst case examples of an exterior point algorithm for the assignment problem Charalampos Papamanthou a, Konstantinos Paparrizos b, Nikolaos
More informationMA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:
MA4254: Discrete Optimization Defeng Sun Department of Mathematics National University of Singapore Office: S14-04-25 Telephone: 6516 3343 Aims/Objectives: Discrete optimization deals with problems of
More informationA PRIMAL-DUAL EXTERIOR POINT ALGORITHM FOR LINEAR PROGRAMMING PROBLEMS
Yugoslav Journal of Operations Research Vol 19 (2009), Number 1, 123-132 DOI:10.2298/YUJOR0901123S A PRIMAL-DUAL EXTERIOR POINT ALGORITHM FOR LINEAR PROGRAMMING PROBLEMS Nikolaos SAMARAS Angelo SIFELARAS
More informationThe Shortest Path Problem. The Shortest Path Problem. Mathematical Model. Integer Programming Formulation
The Shortest Path Problem jla,jc@imm.dtu.dk Department of Management Engineering Technical University of Denmark The Shortest Path Problem Given a directed network G = (V,E,w) for which the underlying
More informationGraphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs
Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are
More informationThe Number of Fuzzy Subgroups of Cuboid Group
International Journal of Algebra, Vol. 9, 2015, no. 12, 521-526 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ija.2015.5958 The Number of Fuzzy Subgroups of Cuboid Group Raden Sulaiman Department
More informationMLR Institute of Technology
Course Name : Engineering Optimization Course Code : 56021 Class : III Year Branch : Aeronautical Engineering Year : 2014-15 Course Faculty : Mr Vamsi Krishna Chowduru, Assistant Professor Course Objective
More information