Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/338937037

Shortest Path in Single Commodity Flow Problem in Dynamic Networks Using


Modified Algorithm

Research · January 2018


DOI: 10.13140/RG.2.2.23308.26246

CITATIONS READS

0 183

2 authors, including:

Mohd. Rizwanullah
Manipal University Jaipur, India
28 PUBLICATIONS 25 CITATIONS

SEE PROFILE

All content following this page was uploaded by Mohd. Rizwanullah on 31 January 2020.

The user has requested enhancement of the downloaded file.


International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 8 (2018) pp. 1-4
© Research India Publications. http://www.ripublication.com

Shortest Path in Single Commodity Flow Problem in Dynamic Networks


Using Modified Algorithm

Ms. Nilofer
Research Scholar, Department of Mathematics and Statistics
Manipal University Jaipur, India

Dr. Mohd. Rizwanullah


Associate Professor, Department of Mathematics and Statistics
Manipal Ussniversity Jaipur, India

Abstract the commodity. While there is substantial literature on the


fixed single commodity flow problem, hardly any results on
The dynamic algorithm of the shortest path single
single commodity dynamic flows are known, although the
commodity flow problem that simplifies the shortest distance
single commodity flow problem is formulated in this paper. dynamic single commodity flows are much closer to reality
This problem is notice on directed networks with time- than the fixed ones. Dynamic models the flow needs a certain
expanded capacities, fixed delivery times on nodes, and a amount of time to travel through each arc, it can be delayed at
given time horizon. We consider the distance functions, nodes, flow values on arcs and the network parameters can
defined on edges, are nonlinear and depend on time and flow change with time.
and the demand function also confess on time. The
comparable algorithm, based on sinking the dynamic problem Shortest path
to a fixed problem on a time-expanded network, to solve the
shortest distance dynamic single commodity flow problem is The shortest path problem is the problem of finding
projected and some details is involve and its complexity a path between two vertices (or nodes) in a graph such that
discussed.
the sum of the weights of its constituent edges is minimized
Keywords: dynamic networks, single commodity flows, .This is the most important part of graph theory.
dynamic flows, integer programming, flows over time,
Dynamic network flow
shortest distance
Dynamic flows are generally used to typical different
Introduction
network-structured, decision-making problems terminated
In network a set of nodes linked by arcs (or branches). The time (see, for example, [2, 3]), but because of their
variable for describing a network is (N, A). In real life, there convolution, dynamic flow models have not been examined
are many every day system and phenomenon which can be as well as usually flow models. In this paper we study the
readily recognized as networks in their own right since they dynamic description of the shortest distance single
satisfy the definition of network. commodity flow problem on networks with time-varying
capabilities of edges. We agree to take that distance
Single commodity flow functions, defined one edges, are nonlinear and rest on time
and flow and the demand function also depends on time. The
Single commodity flows have many vital roles in network shortest distance single commodity dynamic flow problem
optimization, which is the outsized of these models in real observes for a likely flow over time with given time horizon,
world problems. There are many products which can be satisfying all supplies and demands with least distance. We
solved by single commodity flow problem comparable suggest an algorithm for solving this problem, which is based
distribution, scheduling planning, telecommunication, on decreased the dynamic problem to the conventional fixed
transportation, communication, and management problems. problem on a time-expanded network.
(see, for example, [1]). Another commodity into ever
converts has no commodity. So that each one has its own Problem formulation
flow safeguarding constraints, but they ostentatious for the
resources of the mutual network. We can consider single A directed network N = (V,E,k,w,u,τ,d,ϕ) where V is the set
commodity network flow problem needs to find the shortest of vertices and E is the set of edges and k is the single
distance commodity through a network, where the arcs have a commodity. Every edges e belongs to set of edges which
specific capacity for commodity, and a common capacity for

1
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 8 (2018) pp. 1-4
© Research India Publications. http://www.ripublication.com

1 so that if one unit of flow leaves node u at time t on arc e =


have a non negative time-varying capacity w (t) which

e
(u,v), then one unit of flow arrives at node v at time t +
limits the cumulative on each arc e ∈E in every moment of e

time t ∈T. in this paper we study that every arc e ∈ E has a


nonnegative time varying capacity for single commodity, it’s
where  e
is the transit time of arc e. The time limit (finite
or infinite) is the time pending which the flow can travel in
also called the connected capacity ue(t). Moreover, each edge
the network and defines the make span T ={0,1,...,T} of time
e ∈ E has an linked positive shipment time τe which define
moments. We start with the definition of fixed single
the amount of time it takes for flow to travel from the tail to
commodity flows. A fixed single commodity flow x on N =
the head of that edge. The underlying network also consists
(V,E,k,w,u,d, ) gives to every arc e ∈ E for k ∈ 1, a non-
of demand function d: V ×T→R and cost function ϕ: E×R+
×T→R+, where T = {0,1,2,...,T}. negative flow value
1
, The following flow preservation
x e

The demand function dkv(t) satisfies the following conditions: limitations are followed.

x  x =d
k k k
a) v ∈V for
v
_ ,  v  V,k=1
d 1
< 0;
e

e
e

e v
E E
The demand function dkv(t) satisfies the following conditions: where E+(v) ={(u,v)|(u,v)∈E}, E−(v) ={(v,u)|(v,u)∈E}. x
satisfies in single commodity flow and the demands if single
v
a) v ∈V for d < 0; commodity flow x1, satisfies the demands
1
for all v ∈V. x
1 d v
is called feasible in Single commodity flow if it follows the
v 1
b) if d 1
(t) < 0 ,v ∈ V for commodity k=1 , d v
(t) = 0, t = common ability limits:
1,2,...,T;
x ≤
1
e
 e  E………………………….(1)
e
 d kK
1
In order for the flow to exist we require that v
(t) =
tT vV
and discrete capabilities of each arc for every commodity:
d
1
0, where k=1, Nodes v ∈ V with v
(t)<0, k =1 which is
tT 1
0≤ x e
≤ ∀ e ∈ E, ∀k ∈K…………… ……………(2)
known as sources for commodity k, nodes v ∈ V with

 d (t ) >0, k =1 which is known as sink for commodity k


1
Equation 1, 2 also called weak and strong imposing
v
tT constraints. The total distance of the fixed single commodity

d  = 0, k=1,which is known as flow x is defined as follows:


1
and nodes v ∈V with v
tT

 ( x )
1 1
1 d(x) =
transitional node for commodity k. We denote by V 
and
kK eE
e e

1 1
V 
and V 0
which is called of sources, sinks and
A feasible dynamic flow on N = (V,E,k,w,u,τ,d,ϕ) is a
transitional nodes for commodity k, respectively. The sources function x:
are nodes through which flow arrives the network and the
sinks are nodes concluded which flow prairies the network. E×K ×T→R+ that satisfies the following conditions:
The sources and sinks are occasionally called fatal nodes,
 x t  t   x t  = d
1 1
while the transitional nodes are called non-fatal nodes. _
1
(t) ∀ t∈T, ∀ v ∈V……(3)
e e e v
 
eE V  e E
Shipment costs in model, which can variation completed

 ( x (t ), t )
1 1
time, we define the cost function
 x t  ≤  t  ,
it means 1
e e
e
∀ t∈T, ∀ e ∈E……………..(4)
e
1 k 1
that flow of commodity k of value ξ = x e
(t) edge e entered

x t  ≤ w
1 1

 0≤ ∀ t∈T, ∀ e∈E, k=1……………..…..(5)


1
at time t will justify a shipment cost of (  , t). in this e e
e

x t  =0, e E, T  t
paper the isolated time model, in which all times are vital and
 1 ,T,
1
k=1……..……………(6)
limited by possibility T. Time is pompous in isolated steps, e e

2
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 8 (2018) pp. 1-4
© Research India Publications. http://www.ripublication.com

1
This function x defines the value x (t) of flow of
e 9
commodity k which is entered in edge e at time t. It is simple
to perceive that the flow does not enter in edge e at time t if it
will have to leave the edge after time T; it is sured done
condition (6). it means that a feasible dynamic flow in
1
Capability equation (5), w (t) units of flow of commodity k
e
can enter the arc e at time t. Common capability constraints
(4) it means that in a feasible dynamic flow, ue(t) units of
flow can enter the arc e at time t. Conditions (3) signify flow
preservation constraints. The total distance of the dynamic
single commodity flow x is defined as follows: Fig1.

 x t , t ……..…(7)
T 1 1
Shortest distance d(x) = e
The objective is to Minimize 10X12 + 6X13 + 5X23 + 6X24 +
e
t 0 K 1 eE 9X25 + 7X34 + 14X36 + 3X45 + 6X46 + 5X56
Subject to
In shortest-distance single commodity dynamic flow problem X12 + X13 = 1
if  e
= 0, ∀e ∈ E and T = 0 To find a feasible flow it is -X12 + X23 + X24 + X25 = 0
minimized to the impartial function (7) that it is very simple -X13 – X23 + X34 + X36 = 0
to perceive then the formulated problem becomes the fixed -X24 – X34 + X45 + X46 = 0
shortest-distance single commodity flow problem. -X25 – X45 + X56 = 0
X36 + X46 + X56 = 1
In a directed network the shortest distance single commodity Xij = 0, 1
flow problem we observe the path with shortest distance
between a specified source and a destination .Numerous The optimum solution to the binary IP is given by X13 = X34
forms of the shortest path problem occur and we will = X46 = 1 with Z = 19. From the solution we observe that we
formulated and solve little of them. travel from node 1 to node 3 and then to node 4 and then to
node 6. The path is shown in Figure 2.
We consider in a network with n nodes and m arcs where
every node is joint to every other node directly or through a
path, this problem is to find the path with shortest distance
between two given nodes which is called source (s) and
destination (T).Let dij is the distance between nodes i and
node j. Let Xij = 1 if the arc i-j is in the shortest distance. The
problem is formulated as follows:

Minimize ∑𝑖 ∑𝑗 𝑑𝑖𝑗 𝑋𝑖𝑗


Subject to
∑ 𝑋𝑆𝑗 = 1
𝑗

− ∑ 𝑋𝑖𝑗 + ∑ 𝑋𝑗𝑘 = 0 ∀𝑗 ≠ 𝑆, 𝑇
𝑗 𝑘
Shortest distance x13= x34 = x46 =19
∑ 𝑋𝑗𝑇 = 1
𝑗 Results:
Xij = 0,1
We propose an approach for solving the formulated problem,
Consider a network with 6 nodes and 10 arcs shown in fig this problem founded on its dropped to a fixed flow problem.
1.The arc weights are given in brackets: 1-2 (10), 1-3 (6), 2-3 We show that the shortest distance single commodity flow
(5), 2-4 (6), 2-5 (9), 3-4 (7), 3-6 (14), 4-5 (3), 4-6 (6) and 5-6 problem on dynamic network N can be compact to the
(5). Find the shortest path between nodes 1 and 6? shortest distance fixed flow problem on fixed network NT it

3
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 8 (2018) pp. 1-4
© Research India Publications. http://www.ripublication.com

the time-expanded network. In this paper we study in a is convex with regard to flow, then the distance function of
distance problem and solved by dynamic programming. And the time-expanded network will be convex. In this case we
discuss the integer programming and find the many routes but can apply methods from convex programming and the
results are very good. The dynamic flow problem in a given specialization of such methods for shortest distance flow
network with shipment times on the arcs can be converted problems.
into a corresponding fixed flow problem in the corresponding
time-expanded network. A discrete dynamic flow in the given References:
network can be interpreted as a fixed flow in the consistent
[1]. Assad, A. Multicommodity network flows: A survey.
time-expanded network. The improvement of problem is that
Networks 8, pp. 37–92,2004.
it opportunities the method of defining an optimal flow over
[2]. Johnnson, J. A survey of dynamic network flows. Ann.
time into a usual fixed network flow problem in the time-
Operation Research 20, pp. 1–66,1989.
expanded network. The time-expanded network is a fixed
[3]. Castro, J. A specialized interior-point algorithm for multi
demonstration of the dynamic network. Such a time-
commodity network flows. Siam J. Optimization. 10(3),
expanded network comprises replicas of the node set of the
pp. 852-877,2000.
fundamental network for each isolated break of time, building
[4]. McBride, R. Progress made in solving the multi
a time layer. Copies of an arc of the measured network link
commodity flow problems. Siam J. Optimization. 8(4),
copies of its end-nodes in time coats whose distances like the
pp. 947–955,1998.
shipment time of that arc. We define this network as obeyed:
[5]. Castro, J., Nabona, N. An implementation of linear and
1. V T: = {v (t)|v ∈V, t ∈T}; nonlinear multi-commodity network flows. European
Journal of Operational Research Theory and
2. ET: = {e(t) = (v(t),w( t+ τ e))|e = (v ,w)∈E, 0≤t≤T−τe}; Methodology 92, pp. 37–53,1996.
[6]. Goldberg, A. An efficient implementation of a scaling
: ue (t ) for e (t)∈ET;
T
minimum cost flow algorithm. J. Algorithms 22(1), pp.
3. u e (t )
1–29,1997.
[7]. Fonoberova, M., Lozovanu, D. The maximum flow in
T
: we (t ) (t ) for e (t)∈ET, k ∈K.
1 1
4. w e(t )
dynamic networks. Computer Science Journal of
Moldova 3(36), pp. 387–396,2004.
[8]. Fonoberova, M., Lozovanu, D. The optimal flow in
  ( x (t ), t ) for e(t)∈E , k ∈K;
1 1
( xe (t )) :
1
5 T dynamic networks with nonlinear cost functions on
e(t ) e e
edges. The Bulletin of Academy of Sciences of Moldova.
Mathematics 3(46), pp. 21–27,2004.
T
: d v (t ) for v(t)∈V T, k ∈K.
1 1
[9]. Powell, W., Jaillet, P., Odoni, A. Stochastic and dynamic
6. d v (t )
networks and routing. In M. O. Ball, T. L. Magnanti, C.
L. Monma, and G. L. Nemhauser, editors, Network
The spirit of the time-expanded network that is it encloses a
Routing, volume 8 of Handbooks in Operations Research
copy of the vertices of the dynamic network for each time t
and Management Science, chapter 3, North Holland,
∈ T, and the shipment times and flows are contained in the
Amsterdam, The Netherlands, pp. 141-295,1995.
edges relating those copies.
[10]. Fleisher, L. Approximating multi commodity flow
Conclusion: independent of the number Of commodities. Siam J.
Discrete Math. 13(4), pp. 505-520,2005.
The dynamic networks on the shortest distance single [11].Spieksma,F.M., van der Laan J.S.,Optimal Routing
commodity flow problem can be solved by fixed flow Algorithms A flow-based approach and speed-up
reckonings in the consistent time-expanded network on techniques for static networks, 2017.
dynamic network. If the dynamic network is direct with [12].Gamal Sallam, Gagan R. Gupta, Bin Li, and Bo Ji
respect to flow of the distance function, Time expanded Shortest Path and Maximum Flow Problems Under
network will be linear. we can apply well-known methods for Service Function Chaining Constraints,(2018).
shortest distance flow problems, with linear and the distance [13].Tran, Q. Chien and Ho Van H. Extended linear multi-
function of the dynamic network is concave with esteem to commodity multi cost network and maximal flow limited
flow, then the distance programming algorithms, cost problems, International Journal of Computer
combinatorial algorithms, as well as other progresses. If there Networks & Communications (IJCNSC) 10(1), pp.79-93,
exactly one source function of the time-expanded network 2018.
will be concave. If the distance function of dynamic network

View publication stats

You might also like