Application of Bounded Variable Simplex Algorithm in Solving Maximal Flow Model

Similar documents
A Comparative study on Algorithms for Shortest-Route Problem and Some Extensions

Parametric Maximum Flow Problem: Techniques and Algorithms. Deepika Sareen, Dr Deepak Garg. Thapar University, Patiala

Overview. H. R. Alvarez A., Ph. D.

Maximum flows & Maximum Matchings

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

Graphs and Network Flows IE411. Lecture 13. Dr. Ted Ralphs

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

Source. Sink. Chapter 10: Iterative Programming Maximum Flow Problem. CmSc250 Intro to Algorithms

Network optimization: An overview

Final Exam Spring 2003

On the Computational Behavior of a Dual Network Exterior Point Simplex Algorithm for the Minimum Cost Network Flow Problem

x ji = s i, i N, (1.1)

A COMPUTATIONAL STUDY OF THE CONSTRAINED MAXIMUM FLOW PROBLEM

COLUMN GENERATION IN LINEAR PROGRAMMING

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

Generalized Network Flow Programming

Lecture 3: Totally Unimodularity and Network Flows

A Parallel Genetic Algorithm for Maximum Flow Problem

Linear programming II João Carlos Lourenço

MAXIMAL FLOW THROUGH A NETWORK

Job Management & Network Flows

5.4 Pure Minimal Cost Flow

4.1 The original problem and the optimal tableau

Incremental Algorithms for the Minimum Cost Flow Problem

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

IV. Special Linear Programming Models

Module 10. Network Simplex Method:

An Introduction to Dual Ascent Heuristics

Robust time-varying shortest path with arbitrary waiting time at vertices

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

Chapter 15 Introduction to Linear Programming

An example of LP problem: Political Elections

Some Advanced Topics in Linear Programming

Chapter 10: Network Flow Programming

Solutions for Operations Research Final Exam

CSC 8301 Design & Analysis of Algorithms: Linear Programming

UNIT 2 LINEAR PROGRAMMING PROBLEMS

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

A Computer Oriented Method for Solving Transportation Problem

Discrete Optimization. Lecture Notes 2

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

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

Outline. Column Generation: Cutting Stock A very applied method. Introduction to Column Generation. Given an LP problem

Column Generation: Cutting Stock

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

Lecture 1. Introduction

5 The Theory of the Simplex Method

Lecture 11: Maximum flow and minimum cut

Network Models - Examples. Network Models. Definition and Terminology. The Minimum Spanning Tree (MST) Problem

Network Design and Optimization course

NATCOR Convex Optimization Linear Programming 1

OPERATIONS RESEARCH. Linear Programming Problem

Outline: Finish uncapacitated simplex method Negative cost cycle algorithm The max-flow problem Max-flow min-cut theorem

VARIANTS OF THE SIMPLEX METHOD

OPERATIONS RESEARCH. Transportation and Assignment Problems

Approximation Algorithms Based on the Primal-Dual Method

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

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

The minimum spanning tree and duality in graphs

3 INTEGER LINEAR PROGRAMMING

H. W. Kuhn. Bryn Mawr College

of optimization problems. In this chapter, it is explained that what network design

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

A Faster Algorithm for the Inverse Spanning Tree Problem

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

ME 391Q Network Flow Programming

The Join the Club Interpretation of Some. Graph Algorithms

Chalmers University of Technology. Network Models. April 11, Birgit Grohe

Lecture 18 Solving Shortest Path Problem: Dijkstra s Algorithm. October 23, 2009

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

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

Dynamic modelling and network optimization

The Paired Assignment Problem

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

Network Optimization Problems. Chapter 6: Hillier and Hillier

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

4 Integer Linear Programming (ILP)

NETWORK OPTIMIZATION MODELS

CS 157: Assignment 5

4. Linear Programming

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

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

Distributed minimum spanning tree problem

Primal Simplex Algorithm for the Pure Minimal Cost Flow Problem

Shortest Path Algorithm

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

A NEW SIMPLEX TYPE ALGORITHM FOR THE MINIMUM COST NETWORK FLOW PROBLEM

Minimum Cost Edge Disjoint Paths

Network Topology Control and Routing under Interface Constraints by Link Evaluation

NOTATION AND TERMINOLOGY

Linear Programming CISC4080, Computer Algorithms CIS, Fordham Univ. Linear Programming

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

The AMPL approach. # used in distributing starting periods

Instituto Nacional de Pesquisas Espaciais - INPE/LAC Av. dos Astronautas, 1758 Jd. da Granja. CEP São José dos Campos S.P.

II. Linear Programming

Problem Set 7 Solutions

Insensitive Traffic Splitting in Data Networks

Sequential and parallel deficit scaling algorithms for minimum flow in bipartite networks

Read: H&L chapters 1-6

Transcription:

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 of Dhaka,Dhaka-,Bangladesh Email:jahansohana@univdhaka.edu Received on.7.. Accepted for published on. 7.. Abstract In this paper, A comparative study is made on the determination of maximum flow in a network by Maximal Flow Algorithm and Bounded Variable Simplex Method. We have introduced a technique to find the route of a flow in any iteration of the bounded variable simplex algorithm. Keywords: Maximal Flow Model, Bounded Variable simplex method. I.Introduction Networking is one of the most important branch of Operation Research. Most of the real world problem can be formulated as network model. There are various type network models such as Minimal spanning tree, Shortest route algorithm, Maximal flow algorithm, Minimum cost capacitated network algorithm. Different type of network problem can be solved by different algorithms. In this paper we have worked on Maximal flow problem. We have formulated the Maximal flow problem as a linear programming problem and solved it using Bounded variable simplex algorithm which is very easy to solve. In a Maximal Flow Problem, we wish to send as much material as possible from a specified node s in a network, called the source, to another specified node t, called the sink. The maximum flow problem was first formulated in 9 by T. E. Harris as a simplified model of Soviet railway traffic flow. In 9, Lester R. Ford and Delbert R. Fulkerson [],[] created the first known algorithm, the Ford Fulkerson algorithm. Over the years, various improved solutions to the maximum flow problem [7],[8] were discovered. An example of a flow network is given by figure. The source node is denoted by and the sink node by. Nodes, 3,, are the intermediate nodes. There are nine arcs connecting the various nodes, denoted by (,), (,3), (,),(,3), (,), (3,), (3,), (,), (,). The intermediate nodes must satisfy the strict conservation requirement; that is,the net flow into these nodes must be zero. However, the source may have a net outflow and the sink a net inflow. As a consequence of the conservation at all intermediate nodes, the outflow f on the source will equal to the inflow of the sink.a set of arc flows satisfying these conditions is said to be a flow in the network of value f. The maximal flow problem is that of determining the maximal flow that can be established in such a network. 3 Fig. 8 II. Maximal Flow Algorithm The Maximum Flow Algorithm [9] is one of the most important methods to obtain maximum flow in a network. The algorithm [],[] is based on finding breakthrough paths with net positive flow between the source and sink nodes. Each paths commits part or all the capacities of its arcs to the total flow in the network. Consider arc ( i, j) with (initial) capacities ( C, C ji ). As portion of this capacities are committed to the flow in the arc, the residuals (or the remaining capacities) of the arc are updated. The network with the updated residuals is referred to as the residue network. We use the notation ( c, c ji ) to represent these residuals. For a node j receives flow from node i, we define a label [ a. i ], where a is the flow from node i to node j. The steps of the algorithm are summarized as follows. Step. For all arcs ( i, j), set the residual capacity equal to the initial capacity that ( c, c ji ) = ( C, C ji ). Let a = and label source node with [ ] and go to step. Step. Determine S i as the set of unlabeled nodes j that can be reached directly from node i by arcs with positive residuals (that is, c a > for all step 3. Otherwise, go to step. Step 3. Determine S i j S i ). If S i Ø then go to k, such that c max{ } ik c. js Set ak cik and label node k with [ a k, i]. If k = n, the sink node has been labeled, and a breakthrough path is found, go to step. Otherwise, set i = k and go to step. Step. (Backtracking) If i = l, no further breakthrough are possible, go to step. Otherwise, let r be the node that has been labeled immediately before the current node i and remove i from the set of nodes that are adjacent to r. Set i = r and go to step. Step. (Determination of Residue Network): Let N p = ( l, k, k,..n ) define the nodes of the p th breakthrough path from source node l to sink node n. The maximum flow along the path is computed as, f p = min { a, ak, ak..., an}.the residual capacity of each arc along the breakthrough path is decreased by f p in the direction of the flow and increased by f p in the reverse direction - that is,

Sohana Jahan, Marzia Yesmin and Fatima Tuj Jahra for nodes i and j on the path, the residual flow is changed from the current c, c ) to ( ji (a) ( c f p, c f p ) if the flow is from i to j (b) ( c f p, c f p ) if the flow is from j to i (c) Reinstate any nodes that were removed in step. Set i = l, and return to step to attempt a new breakthrough path. Step. (Solution) (a) Given that m breakthrough paths have been determined, the maximal flow in the network is F = f + f +.. + f m (b) Given that the initial and final residuals of arc ( i, j) are given by ( C, C ji ) and ( c, c ji ), respectively the optimal flow in arc ( i, j) is computed as follows:let (α, β) = ( C c, C ji c ji ). If α >, the optimal flow from i to j is α. Otherwise, if β >, the optimal flow from j to i is β. ( It is impossible to have both α and β positive). Example: Consider the network in Figure. The maximal flow problem is to determine the maximum flow from the source node to the sink node. The maximum flow in the network can be determined by Maximal Flow Algorithm as follows: Iteration : Step: Set a and we label node with [, ]. Set i Step : S {,3,} Ø. Step 3: k 3 because c3 max{ c, c3, c} = max{,,}=. Set a 3 c3, and label node 3 with [,],Set i=3,and repeat step. Step : S 3 = {,} Ø. Step 3: k= because c 3 =. Set a c 3 and label node with [,3], breakthrough is achieved and go to step. Step : Breakthrough path is determined from the labels starting at node and ending at node that is, () [,3] (3) [,] (). Thus, N = {,3,} and f = min { a, a3, a} = {,, } =. The residual capacities along path N are (c 3,c 3 ) = (, + ) = (8,) (c 3,c 3 ) = (, + ) = (,) [, ] 3 [,] Iteration : Step: Set a and we label node with [, ]. Set i. Step : S {,3,}. Step 3: k because c max{ c, c3, c } = max{,8,}=. Set a c, and label node with [,],Set i=,and repeat step. Step : S = {3,} Ø. Step 3: k= because c =. Set a c and label node with [,], breakthrough is achieved and go to step. Step : Breakthrough path is determined from the labels starting at node and ending at node that is, () [,] () [,] (). Thus, N = {,,} and f = min { a, a, a} = {,, } =. The residual capacities along path N are (c,c ) = (, + ) = (,) (c,c ) = (, + ) = (,) [,] 8 [, ] 3 Fig:. Fig.. 8 8 [,3]

Application of Bounded Variable Simplex Algorithm in solving Maximal Flow Model Iteration 3: Step : Let a, and we label node with [, ]. Set i =. Step : S ={,3,} Ø. Step 3: k = 3 and a = c 3 3 = max {,8,} = 8. Label node 3 with [8,],Set i=3,and repeat step. Step : S 3 = {,} Ø.[node is already labeled hence it cannot be included in S 3 ]. Step 3: k = because a = c 3 =. Label node with [,3]. Set i =, and repeat step. Step : S = {} Ø. Step 3: k = because a = c = 8. Label node with [8,]. Breakthroughs is achieved, go to step. Step : N 3 ={,3,,} and f 3 = min{, 8,,8} = 8. The residual along the path of N 3 are (c 3,c 3 ) = (8 8, + 8) = (, ); (c 3,c 3 ) = ( 8, +8) = (7, 8); (c,c ) = (8 8, + 8) = (, 8) [, ] Fig:.3 [8,] 3 8 Iteration : Step : Let a =, and we label node with [, ]. Set i =. Step : S ={,} Ø. Step 3: k = and a = c = max {,} =. Set i = and label node with [,] and repeat step. Step : S = {3} Ø.[node is already labeled hence it cannot be included in S ]. Step 3: k = 3 because a 3 = c 3 =. Label node 3 with [,]. Set i = 3, and repeat step. Step : S 3 = {} Ø. Step 3: k = because a = c 3 = 7. Label node with [7,3]. Set i= and go to step. Step : S ={} Ø. Step 3: k = because a = c =. Label node with [,]. Breakthrough is achieved and go to step. Step : N 3 ={,,3,,} and f = min{,,,7,} =. The residual along the Path of N are (c,c ) = (, + ) = (, ) 8 [,3] [8,] (c 3,c 3 ) = (, + ) = (, ); (c 3,c 3 ) = (7, 8+) = (, 3); (c,c ) =(, 8+)=(, 3) Fig:. Iteration : Step : Let a a =, and we label node with [, ]. Set i = Step : S ={} Ø. Step 3: k = and a = c =. Set i = and label node with [,] and repeat step. Step : S = {} Ø Step 3: k = because a = c =. Label node with [,]. Set i =, and repeat step. Step : S = {} Ø. Step 3: k = because a = c =. Label node with [,]. Breakthrough is achieved, and go to step. Step : N 3 ={,,,} and f = min{,,,} =. The residual along the Path of N are (c,c ) =(, +)= (, ); (c,c ) =(, +)=(,); (c,c ) = (, 3 + ) = (, 8) Iteration : All the arcs out of node have zero residuals. Hence no further breakthrough is possible. We turn to step to determine the solution. [, ] Fig:. Fig:. [, ] [, ] 3 [,] 7 3 3 [,] Step : Maximal flow in the network is F = f + f + +f = ++8++= units. The flow in the different arc is computed by subtracting the last residuals ( in iteration from the initial capacities ( C, C ji ). as the following table shows. [,] [,] 3 8 8 [7,3] 3 [,] [,] 8 [,] 3

Sohana Jahan, Marzia Yesmin and Fatima Tuj Jahra Arc ( C, C ji ) - ( Flow Direction Amount (,) (,) (,) =(,-) (,3) (,) (,) = (,-) 3 (,) (,) (,) = (,-) (,3) (,) (,) = (,- ) 3 (,) (,) (,) = (,-) (3,) (,) (,) = (,-) 3 (3,) (,) (,3) = (3,-3) 3 3 (,) (,) (,) = (,-) (,) (8,)-(,8)=(8,-8) 8 III. Bounded Variable Simplex Algorithm: In LP models, variables may have explicit positive upper and lower bounds. For example, in production facilities, lower and upper bound can represent the minimum maximum demands for certain products. Bounded variable also arise prominently in the course of solving integer programming problems by the branch and bound algorithm. The bounded algorithm is efficient computationally because it accounts for the bounds implicitly. We consider the lower bounds first because it is simpler. Given X L, we can use the substitution X = L + X', X'. Throughout and solve the problem in terms of X' (whose lower bound now equals zero). The original X is determined by back substitution, which is legitimate because it guarantees that X = L + X' will remain nonnegative for all X'. Next, consider the upper bounding constraints, X U. The idea of direct substitution (i.e, X = U - X'', X'' ) is not correct because back substitution, X= U - X', does not ensure that X will remain nonnegative. A different procedure is thus needed. Define the upper bounded LP model as Maximize z= {CX (A,I)X = b, X U} The bounded algorithm uses only the constraints (A,I)X = b, X, while accounting for X U implicitly by modifying the simplex feasibility condition. Let X B = B - b be a current basic feasible solution of (A,I)X = b, X and suppose that, according to the optimality condition, P j is the entering vector. Then given that all the nonbasic variables are zero, the constraints equation of the ith basic variable can be written as (X B ) i = (B - b) i (B - P j ) i x j. When the entering variable x j increases above zero level, (X B ) i will increase or decrease depending on whether (B - P j ) i is negative or positive, respectively. Thus in determining the value of the entering variable x j, three conditions must be satisfied:. The basic variable (X B ) i remains nonnegative that is (X B ) i.. The basic variable (X B ) i does not exceed its upper bound - that is (X B ) i (U B ) i, where U B comprises the ordered elements of U corresponding to X B. 3. The entering variable x j cannot assume a value larger than its upper bound that is x j u j, where u j is the jth element of U.The first condition (X B ) i requires that (B - b) i (B - P j ) i x j. It is satisfied if x j Έ =min{(b - b) i / (B - P j ) i (B - P j ) i > }.This condition is the same as the feasibility condition of the regular singular method. Next, the condition (X B ) i (U B ) i specifies that (B - b) i (B - P j ) i x j (U B ) i. It is satisfied if x j = min{[(b - b) i - (U B ) i ] / (B - P j ) i (B - P j ) i < }. Combining the three restrictions, x j enters the solution at the level that satisfies all three conditions that is, x j = min {,, u j }. The change of basis for the next iteration depends on whether x j enters the solution at level, or u j. Assuming that (X B ) r is the leaving variable, then we have the following rules :. x j = : (X B ) r leaves the basic solution (becomes non basic) at level zero. The new iteration is generated using the normal simplex method with x j and (X B ) r as the entering and the leaving variables, respectively.. x j = : (X B ) r becomes nonbasic at its upper bound. The new iteration is generated in the case of x j =, with one modification that accounts for the fact that (X B ) r will be nonbasic at upper bound. Because the values of, require all nonbasic variables to be at zero level. Convert the new nonbasic (X B ) r at upper bound to a nonbasic variable at zero level. This is achieved by using the substitution (X B ) r = (U B ) r - (X' B ) r, where (X' B ) r. It is immaterial whether the substitution is made before or after the new basis is computed. 3. x j = u j : The basic vector X B remains unchanged because x j = u j stops short of forcing any of the current basic variables to reach its lower (=) or upper bound. This means that x j will remain non basic but at upper bound. Following the argument just presented, the new iteration is generated by using the substitution x j = u j - x' j. A tie among, and u j may be broken arbitrarily. However, it is preferable, where possible, to implement the rule for x j = u j because it entails less computation. The substitution x j = u j - x' j will change the original, P j and b to c' j = -, P' j = P j and b to b' = b u j P j. This means that if the revised simplex method is used, all the computations (e.g., B -,X B and z j ), should be based on the updated values of C, A and b at each iteration.

Application of Bounded Variable Simplex Algorithm in solving Maximal Flow Model 3 IV. LP Formulation of Maximal Flow Model: If v denotes the amount of material sent from nodes s to node t and x denotes the flow from node i to node j over arc i j the formulation is: Maximize v, subject to: v if i s (source ), x xki v if i t (sink ), j k otherwise, x u ( i,,, n; j,,, n). As usual, the summations are taken only over the arcs in the network. Also, the upper bound u for the flow on arc i j is taken to be if arc i j has unlimited capacity. The interpretation is that v units are supplied at s and consumed at t. Let us introduce a fictitious arc t s with unlimited capacity; that is, u ts. Now x ts represents the variable v, since x ts simply returns the v units of flow from node t back to node s, and no formal external supply of material occurs. With the introduction of the arc t s, the problem assumes the following special form of the general network problem: Maximize x ts, subject to: j x x k ki ( i,,, n). Thus if x as the amount of flow in arc (i,j) with capacity C. The objective is to determine x for all i and j that will maximize the flow between start nodes s and terminate node t subjective to flow restriction (input flow = outflow flow) at all but nodes s and t. Now we are going to obtain the maximum flow in the network given in Figure using Bounded Variable Simplex method. The following table summarizes the associated LP with two different, but equivalent, objective functions depending on whether maximize the output from start node (= z ) or the input to terminal node (= z ). Max z = x x 3 x x 3 x x 3 x 3 x x Max z = Node - - = Node 3 - - = Node - = Node - = Capacity 8 Writing this as an Linear Programming Problem (LPP) Maximize z = x +x 3 +x s/t x -x 3 - x = x 3 +x 3 -x 3 -x 3 = x -x = x 3 +x -x = x, x 3, x, x 3, x, x 3, x 3, x, x 8 If we try to solve this LPP by simplex method, we can write the bounded variables as constraints by inserting slack variables. Then we obtain a large set of constraints. Using Bounded Variable Algorithm this problem can be solved easily. The initial table is: Table x x 3 x x 3 x x 3 x 3 x x Soluti on x - - x 3 - - x - x - - Z - - - - Iteration : We have B= B - =I and X B =( x, x 3, x,x ) T = B - b=(,,,) T. Here x is the entering variable, we get B - P =(,,-, -) T which yields ; = min {-, -, ( )/(-),(- 8)/(-), -, }=, corresponding to x. Next, given the upper bound on the entering variable x, it follows that Table. - x x x' x 3 x x 3 x 3 x x Sol 3 utio n x - - x 3 - - - x' - - - x - - x = min {,,} = (= ) Because x becomes nonbasic at its upper bound,we apply the substitution x = - x' to obtain

Sohana Jahan, Marzia Yesmin and Fatima Tuj Jahra Next, the entering variable x becomes basic and the leaving variable x' becomes nonbasic at zero level, which yields: Table. - x x 3 x' x 3 x x 3 x 3 x x So lut ion x - - x 3 - - x x - Z - The flow in this iteration is the minimum of the values of the variable that have changed their values in this iteration. For, x =, x =, x =, min{,,} =. So flow f = in the route. Fig.. Iteration : Here x is the entering variable, we get B - P =(-,,,) T which yields, = min {(-)/(-), -, -, - }=, corresponding to x. Next, given the upper bound on the entering variable x, it follows that x = min {,, } = = u. Because x enters at its upper bound, X B remains unchanged and x becomes nonbasic at its upper bound. We use the substitution x = - x' to obtain Table. Table - x x 3 x' x 3 x' x 3 x 3 x x So lut io n x - x 3 - - x x - Z - 3 - - - x =, x =, x =, x =.From the last table. of the iteration and from the table we see that the values of x and x remained unchanged. the value of x and x changed. Thus min{,} =. So flow f = in the rout Fig:. Iteration 3: Here x 3 is the entering variable, we get B - P 3 =(, -,,- ) T which yields ; = min {-,( - )/(-), -,( 8)/(-) }= 3, corresponding to x. Next, given the upper bound on the entering variable x 3, it follows that x 3 = min {,3,} =3 (= ) Because x becomes nonbasic at its upper bound, we apply the substitution x =8 - x' to obtain the following table: Table 3. - x x 3 x' x 3 x' x 3 x 3 x x' Sol uti on x - x 3 - - x x' - - -3 Next, the entering variable x 3 becomes basic and the leaving variable x' becomes nonbasic at zero level, which yields: Table 3. 3 - x x 3 x' x 3 x' x 3 x 3 x x' So lut io n x - x 3 - - 3 x x 3-3 Z - x 3 =3, x 3 =3, x = 8, min{3,3,8} = 3. So flow f 3 = 3 in the route 3.

Application of Bounded Variable Simplex Algorithm in solving Maximal Flow Model Fig:.3 3 Iteration : Here x 3 is the entering variable, we get B - P 3 =(, -,,) T which yields, = min {-,(3 - )/(-), -, }= 7, corresponding to x 3 Next, given the upper bound on the entering variable x 3, it follows that x 3 = min {,7,} =7 (= ) Because x 3 becomes nonbasic at its upper bound, we apply the substitution x 3 = - x' 3 and obtain Table.. Table. - - x x' x' x 3 x' x 3 x 3 x x' So 3 lut io n x - - x' 3 - - - -7 x x 3-3 Next, the entering variable x 3 becomes basic and the leaving variable x' 3 becomes nonbasic at zero level, which yields: Table. - - x x' 3 x' x 3 x' x 3 =, x 3 =7, min{,7} = 7 So flow f = 7 in the route 3 x 3 x 3 x x' x - x 3 - - 7 x x 3-3 Z - Solu tion Fig:. 3 Iteration : Here x 3 is the entering variable, we get Table. B - P 3 =(-, -,,) T which yields ; = min {( )/(-),(7 - )/(-),-,- }=, corresponding to x 3. Next, given the upper bound on the entering variable x 3, it follows that x 3 = min {,,} = (= ) Because x 3 becomes nonbasic at its upper bound, we apply the substitution x 3 = - x' 3 to obtain Table.. Next, the entering variable x 3 becomes basic and the leaving variable x' 3 becomes nonbasic at zero level, which yields Table. - - x x' x' x 3 x' x 3 x' 3 x x' Sol 3 uti on x - x' 3 - - - - x x 3-3 - - x x' x' x x' x 3 x' 3 x x' Sol 3 3 uti on x - - x 3 - - x x 3-3 Z x =, x 3 =, x 3 =, min{,,} =. So flow f = in the route 3

Sohana Jahan, Marzia Yesmin and Fatima Tuj Jahra Fig:. 3 The last table is feasible and optimal. The optimal values are obtained by back substitution. x' 3 = gives x 3 = x' 3 = - = ; x' = gives x = x' = - = ; x' = gives x = x' = - = ; x' 3 = gives x 3 = x' 3 = - = ; x' = gives x = 8 x' = 8 - = 8 ; The optimal solution is: x =, x 3 =, x =, x 3 =, x =, x 3 =3, x 3 =, x =, x = 8. So, the associated maximum flow is z = x + x 3 + x = + + =. Remark: In the first iteration since all the non basic variables that can enter the basis has relative cost factor - so any variable can be chosen arbitrarily. We choose the variable x because only one arch x is from node and node is directly linked with the source node and no other node is linked with node, so the route must be used for any flow to pass through the node. Remark : The flow in iteration is the value of the variable that has been is chosen to enter the basis. Note that in iteration, x is chosen to enter the basis and thus the flow in that iteration is f = x =; in the second iteration x has chosen which remained nonbasic at its upper bound. So the flow in that iteration is f = u =.Similarly for other iterations the flow can be determined. Now, the route in any iteration can be determined from the value of the variables that have changed in that iteration. For, in the second iteration x =, x =, the values of x 3, x, x remained unchanged. So the route is the. Again in the comparing the values of the variables in the fifth iteration with their values in previous iteration we see that, In fourth iteration: x =, x 3 = 7, x =, x 3 = 3 In Fifth iteration: x 3 = x =, x 3 =, x =, x 3 = 3. Thus x 3 entered the basis and the variables whose values have changed are x, x 3 and x 3. Thus the route in fifth iteration is 3 with a flow f = x 3 =. In general to determine a route in any we set the variables with changed value in a sequence such that x si, x, x jk,.x pt where s denotes the source node and t denotes the terminal node. V. Conclusion Bounded variable simplex method is very useful technique. It makes a large system of constraint set a small one. If there are upper bounds for the decision variables, Bounded variable simplex method takes less time to solve a problem then the simplex method. Using Bounded Variable simplex method we have solved a maximum flow problem and determine a technique to obtain the maximum flow in each iteration from the simplex table of that iteration. The route thorough which the maximum flow has passed is also determined..... Ford,L.R.,Jr.; Fulkerson, D.R.,"Maximal Flow through a Network",Canadian Journal of Mathematics (9),pp.399-.. Ford, L.R., Jr.; Fulkerson, D.R., Flows in Networks, Princeton University Press (9). 3. G. B. Dantzig. Linear programming and extensions. Princeton University Press, Princeton, NJ, 93.. Hamdy A. Taha,Operation Research- An Introduction, 7 th Edition.. Kambo N.S., Introduction to Operation Research.. Ralph P. Grimaldi Discrete and Combinatorial Mathematics- An Applied Introduction, th Edition. 7. R. K. Ahuja, T. L. Magnanti, and J. B. Orlin. Network Flows: Theory, Algorithms, and Applications. Prentice Hall, Englewood Cliffs, NJ, 993. 8. 8. Schrver, Alexander, "On the history of the transportation and maximum flow problems", Mathematical Programming 9() 37-. 9. Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein (). ". Maximum Flow". Introduction to Algorithms, Second Edition. MIT Press and McGraw-Hill. pp. 3 8. ISBN -- 393-7.

Application of Bounded Variable Simplex Algorithm in solving Maximal Flow Model