Abstract

The multicommodity flow problem deals with the transshipment of more than one commodity from respective sources to corresponding sinks without violating the capacity constraints. Due to the capacity constraints, flows out from the sources may not reach their sinks, and so, the storage of excess flows at intermediate nodes plays an important role in the maximization of flow values. In this paper, we introduce the maximum static as well as maximum dynamic multicommodity flow problems with intermediate storage. We present polynomial and pseudopolynomial time algorithms for the former and latter problems, respectively. We also present the solution procedures to these problems in contraflow network having symmetric as well as asymmetric arc transit times. We transform the solutions in continuous-time settings by using natural transformation.

1. Introduction

Network is a topological structure with links (arcs), with its crossings (nodes) being its components. The transportation network is one of the relevant examples of a network topology, in which road segments are considered as the arcs and their crossings as nodes. Any kinds of entities moving on the road are considered as flows, and their initial and final destinations are considered as the source and sink, respectively. Each arc has nonnegative capacity, which limits the flow on arc. Dynamic network has one more attribute on arc, i.e., transit time, which represents the time to send the flow from one node to another one. Ford and Fulkerson are the pioneers of the network flow over time (so-called dynamic flow) problems [1, 2].

The transshipment of several different commodities from respective sources to corresponding sinks through a network without violating the capacity constraints on the arcs is known as multicommodity flow problem. Vehicle routine in transportation, production planning, supply chains for essential goods, and massage routing in telecommunication are some examples of multicommodity flow problem. On the basis of temporal dimension, multicommodity flow problem can be classified as static multicommodity flow problem and dynamic multicommodity flow problem [36]. If we maximize the supply-demand in a fixed time horizon, then the problem becomes a maximum dynamic multicommodity flow problem. The static multicommodity flow problem is polynomial time solvable by using the ellipsoid or interior point method, whereas dynamic multicommodity flow problem is -hard [7]. By using time expanded network, Kappmeier [8] provided the solution of maximum dynamic multicommodity flow problem and multisource single sink multicommodity earliest arrival transshipment problem in pseudopolynomial time complexity. Priority-based multicommodity flow problem and polynomial time solution strategy are presented in [9].

Maximum flow problem with intermediate storage is extremely relevant in large scale disaster management. In evacuation models, one wishes to shift maximum evacuees from danger zones (sources) to safety places (sinks) as quickly and efficiently as possible. Thus, at the time of evacuation, if the number of evacuees out from sources is greater than the minimum cut capacity, then the excess evacuees can be placed at intermediate shelters that are comparatively safer than the danger zone. The various applications of the network flow with intermediate storage are evacuation planning, demand-supply chain of goods, water supply system, etc. Pyakurel and Dempe [10] introduced the concept of maximum static and maximum dynamic flow problems with intermediate storage and presented polynomial time algorithms to solve them. They also presented polynomial time algorithm for dynamic contraflow problem with intermediate storage. In case of multisource multisink network, Pyakurel et al. [11] solved the prioritized maximum flow problem with intermediate storage and presented polynomial time algorithm to solve the problem, where priority is given to the farthest element from the source. Recently, Pyakurel and Dempe [12] presented efficient algorithms for universal maximum dynamic flow problem with intermediate storage in general as well as two-terminal series parallel networks.

In two-way network, contraflow (lane reversal) is one of the best techniques to increase the outbound capacities of arcs and minimize the overall time horizon, in which arcs are reversed towards the destination [13]. Rebennack et al. [14] provided the models and polynomial time algorithms for maximum and quickest flow problems in a two-terminal network by reverting the arcs at time zero and keeping them fixed afterward by using analytical approach for discrete-time settings. In continuous-time settings, Pyakurel and Dhamala [15] introduced the dynamic contraflow model. By using the natural transformation of Fleischer and Tardos [16], they have presented efficient algorithms to solve the maximum, quickest, and earliest arrival flow problems with lane reversals.

Pyakurel et al. [17] introduced the concept of partial lane reversals, in which only necessary arc capacities are reversed to increase the flow value, and unused arc capacities are saved for other emergency proposes like logistic supports and facility locations. Dhamala et al. [18] presented approximation algorithms for quickest multicommodity flow over time problem with partial lane reversals using length bound flow and condensed time expanded network in discrete-time settings. Continuous-time solutions of these problems are found in [19]. Similarly, Pyakurel et al. [20] presented polynomial time algorithm for maximum static and pseudopolynomial algorithm for maximum dynamic multicommodity flow problems with partial lane reversals.

In this paper, we aim to find the solution of discrete-time maximum multicommodity flow problem with intermediate storage by integrating the concept of multicommodity flow problem and the maximum flow problem with intermediate storage. We present polynomial time algorithm for static multicommodity flow problem and pseudopolynomial time algorithm for dynamic multicommodity flow problem by allowing the storage of excess flow at intermediate nodes. We extend the results for contraflow configuration with symmetric as well as asymmetric transit times and also in continuous-time settings.

Our models are designed with the following limitations: at each intermediate node, inflow must be greater or equal to the outflow. At each arc, flow must not exceed the capacity. The storage capacity of intermediate nodes must be at least the sum of incoming arc capacities. Every commodity must transship from respective sources to their corresponding sinks. Objects within a commodity group are homogeneous and between the commodity groups are heterogeneous.

We organize the paper as follows. Section 2 provides the basic terminologies used in the paper and the mathematical formulation of flow models. In Section 3, we present a polynomial time algorithm to solve the maximum static multicommodity flow problem with intermediate storage, and in Section 4, we solve the maximum dynamic multicommodity flow problem with intermediate storage in pseudopolynomial time complexity. For two-way multicommodity network, we present a solution procedure of these problems in Section 5 within the same time complexity. Similarly, in Section 6, we extend the results of dynamic flow problems in continuous-time settings by using natural transformation. The paper is concluded in Section 7.

2. Basic Terminologies and Mathematical Models

Consider a dynamic network , where and represent the sets of nodes and arcs with and , respectively. Let and be the source and sink nodes with respect to commodity and the set of intermediate nodes. Here, represents the amount of supply from the source node for each commodity that is to be sent to the corresponding sink and the intermediate nodes . Each arc with and is equipped with a capacity function that restricts the flow of commodity and a nonnegative transit time function that measures the time to transship the flow from node to node . Similarly, represents the storage capacity function of nodes that is used to hold the flow at sources and sinks, together with the storage of excess flow leaving from the source but not reaching the sink at intermediate nodes. Capacity of arcs (roads) and the storage capacity of nodes (shelters) are the controlling parameters of our model, which control the flow at arcs and nodes, respectively. Let and be the set of outgoing arcs from node and incoming arcs to node , respectively. The time period given in advance is denoted by in discrete-time settings and in continuous-time settings. In static flow, the transit time is considered as the cost, and time parameter is absent.

Throughout the paper, we consider that the storage capacity of sources and sinks is sufficiently large, i.e., and that of intermediate nodes is finite. If the sum of incoming arc capacities of an intermediate node is more than the sum of outgoing arc capacities, then the excess flow is used to store at . Moreover, for the uniqueness of the solution, the storage capacity of should be .

2.1. Static Multicommodity Flow Model

The static multicommodity flow function on the given network is the sum of nonnegative arc flow functions and the excess flow functions , for each , satisfying conditions (1)–(5). The linear programming formulation of static multicommodity flow with intermediate storage is as follows:such that

Objective function in equation (1) is to maximize the total flow out from each source, for all , which is equal to the sum of inflow at the sink and the excess flow at intermediate nodes. Equation (2) represents the nonconservation of flow at intermediate nodes. The constraint in (3) represents the bundle constraint on each arc that is bounded by its capacity, and the constraints in (4) represent the excess flow at each intermediate node, which is bounded by the storage capacity. Similarly, the constraint in (5) represents that the storage capacity of intermediate node is at least the sum of incoming arc capacities to . The cost of static flow associated with arc and commodity with cost coefficient is defined as

2.2. Dynamic Multicommodity Flow Model

For a given dynamic network with constant transit time on each arc , the multicommodity flow over time function is the sum of nonnegative arc flow functions and the storage flow functions for each , satisfying constraints (7)–(11). The linear programming formulation of dynamic multicommodity flow with intermediate storage is as follows:such that

Equation (7) is an objective function that maximizes the total flow out from the source in time horizon , for each , which is equal to the sum of inflow at sink and the excess flow at intermediate nodes. Equation (8) represents the nonconservation of flow at intermediate nodes for each time step . In any instance of time , the bundle constraint in (9) is bounded by arc capacity, and the constraint in (10) represents that the excess flow at each intermediate node is bounded by the storage capacity. Similarly, the constraint in (11) represents the lower and upper bounds of the storage capacity of intermediate node . The cost of discrete dynamic flow associated with arc and commodity with cost coefficient is defined as

3. Maximum Static Multicommodity Flow

In this section, we introduce the maximum static multicommodity flow problem with intermediate storage and present a polynomial time algorithm to solve it.

Problem 1. For a given static network , the maximum static multicommodity flow problem with intermediate storage finds the maximization of flow leaving from each source , for all , which is to be sent to the corresponding sink via paths by allowing the storage of maximum excess flow at intermediate nodes with storage capacity .

As the solution strategy, we first reduce the multicommodity flow problem into independent single commodity flow problems by reallocating the capacity of bundle arcs using the resource directive decomposition method. It reallocates the capacity of bundle arc for each commodity in such a way that the objective is optimal. The decomposition algorithm to minimal-cost multicommodity flow problem can be used for minimum cost flow problem, which was the motivation for the development of the original Dantzig–Wolfe decomposition method [21] (see Bazaraa et al. [22]). For each , we used to store the maximum flow at sink and the excess flow at intermediate nodes with priority order. As in Pyakurel and Dempe [10], we have a single sink for each commodity , which is considered as the most appropriate place to store the flow. So, the first priority is given to the sink to transship as much flow as possible. To store the excess flow at intermediate nodes, we set the priority order as follows: for each with storage capacity , calculate the shortest distance , for each , by using algorithm of Dijkstra [23]. We consider the path with the minimum cost as the shortest path, and the priority is given to the farthest node among the nodes with shortest distance. That is, if , then is higher in priority than and it is denoted by . It is to be noted that the nodes lying in the bundle arcs may have different priority ordering with respect to the commodity.

For each prioritized node , we create dummy port (since the node lying in the bundle arc contains the flow of more than one commodity, so dummy ports are represented commodity-wise, i.e., ) with cost and capacity , where and are the arc capacity and cost of dummy arc , respectively. Every dummy port with respect to commodity has the same priority order as has. Associated with each commodity , the collection of dummy ports together with the sink forms a modified network with single source and multiple sink . For an instance, if is priority order of nodes with respect to commodity , then .

Now, we present a polynomial time algorithm to solve Problem 1 by using the algorithm of Pyakurel and Dempe [10] for single source multisink network , .

Theorem 1. Algorithm 1 solves the maximum static multicommodity flow problem with intermediate storage optimally.

Input: given static network .
Output: maximum static multicommodity flow with intermediate storage in .
(1)Reconfigure the multicommodity flow problem into independent single commodity flow problems by reallocating the capacity of bundle arcs using the resource directive decomposition.
(2)For each with , compute commodity-wise shortest distance by using Dijkstra’s algorithm.
(3)Fix the priority order as with respect to commodity with first priority to the sink and priority for intermediate elements as , for .
(4)For each , construct the modified network with single source and multiple sinks with dummy ports .
(5)For :
 Compute the lexicographic maximum static flow in with priority order of Step 3 according to [10].
(6)Transform the solution to the original network by removing the dummy ports and the dummy arcs.

Proof. Before proving the optimality, we first prove the feasibility of the algorithm. Step 1 is the use of decomposition algorithm to reduce the multicommodity flow problem to single commodity flow problem, and Step 2 calculates the shortest distances by using Dijkstra’s algorithm, so both steps are feasible. Steps 3, 4, and 6 are prioritization of nodes, modification of network, and transformation of solution, which can be solved in linear time, and so they are feasible. Similarly, according to Pyakurel and Dempe [10], Step 5 provides feasible flow with intermediate storage for each commodity . Thus, the solution obtained from Algorithm 1 is feasible.
The optimality of algorithm is assured by Step 5. For each commodity , lexicographic maximum static flow in prioritized sink is obtained optimally as the single commodity flow problem solved by Pyakurel and Dempe [10]. So, the sum of optimal single commodity flows is optimal multicommodity flow with intermediate storage.

Theorem 2. Maximum static multicommodity flow problem with intermediate storage can be solved in polynomial time complexity by using Algorithm 1.

Proof. The decomposition algorithm in Step 1 is obtained in polynomial time complexity, and the shortest distance can be obtained in time by using Dijkstra’s algorithm. The prioritization of nodes and creating dummy ports can be obtained in linear time. For each single commodity , Step 5 can be solved in polynomial time complexity of for , [10]. Therefore, Algorithm 1 solves the maximum static multicommodity flow problem with intermediate storage in polynomial time with complexity , where .

Example 1. Consider a two-commodity network with capacity and cost on each arc as shown in Figure 1(a), where the numbers aside the nodes represent the node capacities. Using Dijkstra’s algorithm, we find the shortest distance of each intermediate node and fix the priority order with farther-in-distance-higher-in-priority. So, the priority orders are and for commodity 1 and commodity 2, respectively. After priority ordering, we denote and as the set of prioritized dummy ports for commodity 1 and commodity 2, respectively, which is presented in Figure 1(b).
While decomposing the flow on the bundle arc , flows of 3 and 2 units are assigned for commodity 1 and commodity 2, respectively. By using Algorithm 1, the maximum amount of flow leaving the source is 4 units out of which 2 units of flow are reached at sink and the intermediate nodes and hold 1 unit each. Similarly, 7 units of flow are transmitted from the source , out of which 6 units of flow are reached at the sink and the intermediate nodes and hold 1 and 0 units, respectively. At last, the solution is transformed to the original network by removing the dummy ports and dummy arcs and sending back the flow to its respective nodes. The amount of flow stored at sinks and the intermediate nodes is , and . If the intermediate storage is not permitted, then the flow of and units can only be transshipped.

4. Maximum Dynamic Multicommodity Flow

This section deals with the maximum dynamic multicommodity flow problem, where storage of the excess flow at intermediate nodes is allowed. We present a pseudopolynomial time algorithm based on the time expanded network of Kappmeier [8] to solve the problem.

Problem 2. For a given dynamic network , the maximum dynamic multicommodity flow problem with intermediate storage is to maximize the flow leaving each source , for all , which is to be sent to the corresponding sink via paths by allowing the storage of maximum excess flow at the intermediate nodes with storage capacity within time horizon .

As in Section 3, we first reduce the multicommodity flow problem into independent subproblems and fix the priority order of intermediate nodes. Static solution is obtained in the modified single source and multisink network for all , by using Algorithm 1. To obtain the dynamic solution, we use the static multicommodity flow on time expanded network as in Kappmeier [8].

For this, we construct a temporary sink with infinite capacity and join each dummy port with and , where is the static flow of commodity at at time . The choice of is taken to assure that the flow while sending back from the dummy ports must be on respective nodes. Now, for each , the new network is obtained by adding temporary sink and arcs in so that it becomes a single source single sink network with prioritized intermediate nodes. Let be the time expanded network of new network , where is obtained by including temporary sinks, supersource, and supersink in . The components in time expanded network are defined as follows:

Kappmeier [8] has shown that the static multicommodity flow on the time expanded network is equivalent to the dynamic multicommodity flow on the original network.

Theorem 3. (see [8]). For a given dynamic network with time horizon , a feasible static multicommodity flow in the time expanded network yields the feasible dynamic multicommodity flow in such that .

We now present an algorithm to solve problem 2 by using time expanded network.

Theorem 4. Algorithm 2 provides an optimal solution to the maximum dynamic multicommodity flow problem with intermediate storage in pseudopolynomial time complexity.

Input: given dynamic network .
Output: maximum dynamic multicommodity flow with intermediate storage in .
(1)Reconfigure the multicommodity flow problem into independent single commodity flow problems by reallocating the capacity of bundle arcs by using the resource directive decomposition and considering the transit times as cost.
(2)Construct a modified new network by including temporary sinks, supersource, and supersink in .
(3)Using new network , construct the time expanded network .
(4)Calculate the maximum static multicommodity flow with intermediate storage on the time expanded network by using Algorithm 1.
(5)Transform the solution to the original network by removing the dummy ports, temporary sinks, supersource, supersink, and dummy arcs.

Proof. At first, we prove the feasibility of Algorithm 2. As Step 1 is a reconfiguration of given network by using decomposition algorithm, and Step 2 is its modification including dummy ports and temporary sinks, so these steps provide the feasible solution. Due to Theorem 3, construction of time expanded network in Step 3 is feasible, and the feasibility of Step 4 is obtained by Algorithm 1. The transformation of solution in original network is also feasible. The optimality of algorithm is assured by the optimality of Step 4, which is as similar to [8].
Next, we prove the computational time of Algorithm 2, which is dominated by the complexity of Step 4. Here, the computational time complexity of Step 4 is , where is the complexity of maximum static multicommodity flow algorithm with intermediate storage. From Theorem 2, for . With Step 4 being polynomial in input size of the network, but not bounded in , Algorithm 2 solves the maximum dynamic multicommodity flow problem with intermediate storage in pseudopolynomial time.

Example 2. Consider a two-commodity network from Figure 1 by considering the cost on each arc as the transit time with time horizon . The prioritization of intermediate nodes and creating dummy ports are similar to Example 1. For each commodity , the problem is reduced to single source and multisink single commodity flow problem due to dummy ports (see Figure 1(b)). By adding temporary sink , it reduces to commodity-wise single source single sink (i.e., ) problem, which is shown in Figure 2. We calculate the maximum static multicommodity flow with intermediate storage using Algorithm 1 and then repeat the procedure with intermediate storage in time expanded network as similar to Kappmeier [8]. Here, the maximum static flow is calculated from minimum cost flow by considering the transit time as cost. Figure 3 represents the time expanded network of Figure 2 with time horizon . At last, we obtain the maximum dynamic flow with intermediate storage by removing the dummy arcs and replacing the flow of dummy ports to their respective nodes.
For commodity 1, total amount of flow leaving the source within the time horizon along the path is 20 units, out of which 4, 8, and 8 units are transshipped with priority order at , and , respectively. For commodity 2, flows are sent through two paths and with priority order . It is to be noted that while sending flow from the path , flow leaving at sends 2 units of flow at by storing 1 unit at . After next iteration onward, flow cannot reach the sink, and so it is to be stored at but not at because is higher in priority than . Similarly, path first sends 4 units of flow thrice at and then holds the flow at for next two times. Total amount of flow leaving the source through two paths within is 32 units, out of which 14, 10, and 8 units are transshipped at , and , respectively. The detailed information of the flow leaving from sources at different time steps , which are to be stored at sinks and the intermediate nodes, is presented in Table 1.
Here, the amount of flow reaching the sinks is the maximum multicommodity flow without intermediate storage. So, if intermediate storage is prohibited, then only 4 units of flow of commodity 1 and 14 units of flow of commodity 2 can be reached at their respective sinks within the time .

5. Multicommodity Contraflow Problems

In this section, we investigate the multicommodity flow problem with contraflow configuration, where the storage of excess flow at intermediate nodes is allowed. In a two-way network, contraflow means the reversal of oppositely directed arcs towards the destination node to improve the flow and reduce the overall time horizon. We discuss two different aspects of transit times (or cost for static), symmetric and asymmetric, between the pair of nodes with oppositely directed arcs.

5.1. Contraflow with Symmetric Transit Times

Let be a dynamic multicommodity network having symmetric transit times on antiparallel arcs, i.e., , where is oppositely directed arc of . To solve the problem in contraflow network, we transform the given network to an auxiliary network as follows.

For a given two-way multicommodity network with symmetric transit times, the corresponding auxiliary network is denoted by with network topology , containing undirected edges . The capacity of an arc in an auxiliary network is the sum of capacities of arcs and such that , where if . The transit time of an arc in an auxiliary network is

All other parameters are the same as in . Contrary to the general network, incoming arcs to the sources and outgoing arcs from the sinks may be present in the contraflow network for all .

We now present the maximum dynamic contraflow problem with intermediate storage herein.

Problem 3. For a given dynamic network , the maximum dynamic multicommodity contraflow problem with intermediate storage is to find the maximum flow leaving from each source , which is to be sent to their respective sinks via paths by allowing the storage of maximum excess flow at intermediate nodes with storage capacity within the given time horizon by reverting the direction of arcs at time zero.

To solve the problem, we present an algorithm based on the time expanded network of an auxiliary network as follows.

We first transform the given two-way network into an auxiliary network . As in Section 3, we decompose the multicommodity flow problem to single commodity flow problems and then fix the priority order of each intermediate node. On each cycle free path of auxiliary network , we solve the maximum dynamic multicommodity flow problem, for each , as described in Section 4.

Here, Steps 1, 3, and 4 of Algorithm 3 can be computed in time. In Step 2, we can find a pseudopolynomial time solution for dynamic multicommodity contraflow problem with intermediate storage in (as in Theorem 4). So, the maximum dynamic multicommodity contraflow problem with intermediate storage can be solved in pseudopolynomial time by using Algorithm 3.

Input: given two-way dynamic multicommodity network .
Output: maximum dynamic multicommodity contraflow with intermediate storage.
(1)Construct an auxiliary network of .
(2)Compute the maximum dynamic multicommodity flow with intermediate storage in by using Algorithm 2.
(3)Decompose the flow along paths and cycles, and remove the flows in cycles .
(4)An arc is reversed if and only if the flow along arc is greater than its capacity, or if there is a nonnegative flow along arc .

Theorem 5. Algorithm 3 solves the maximum dynamic multicommodity contraflow problem with intermediate storage in pseudopolynomial time complexity.

Remark 1. If we consider the cost instead of transit time and apply Algorithm 1 in Step 2 of Algorithm 3, then the solution of maximum static multicommodity contraflow problem with intermediate storage can be obtained in polynomial time complexity.

5.2. Contraflow with Orientation-Dependent Transit Times

If the transit times on antiparallel arcs of a two-way network are not identical, then it is known as the network with asymmetric transit times. For a network with asymmetric transit times, if the transit times of arcs in an auxiliary network are taken as the orientation of the arcs, then it is known as orientation-dependent transit time. Nath et al. [24] considered the orientation-dependent asymmetric transit times of reversed lanes in general form and presented strongly polynomial time algorithms to solve the single source single sink maximum dynamic and quickest contraflow problems. Here, we discuss about the multicommodity contraflow problem with intermediate storage by taking orientation-dependent transit times.

Let be a two-way dynamic network with asymmetric nonzero transit times on arcs, so that . We construct an auxiliary network , where is obtained by reverting the direction of arcs at time zero. The arc capacity and transit time can be obtained as follows:where if and

By using Algorithm 3, the optimal solution for maximum static and maximum dynamic multicommodity contraflow problems with intermediate storage can be obtained for a given network with asymmetric transit times, where transit time is considered as a cost in static problem.

If, on the other hand, the transit time attributes on the evacuation network are antisymmetric, but one wishes to adopt contraflow approach with the same transit time on the reversed arcs as it was before its reversal, Algorithm 3 obviously works well as that can be interpreted as symmetric transit time solution. It can be applied if two nodes in a network have parallel connections with different transit times.

6. Continuous Dynamic Multicommodity Flow

We discussed the maximum dynamic flow and contraflow problems with intermediate storage in Section 4 and Section 5, respectively, where transit times are taken in discrete settings. Actually, discrete dynamic flow function assigns the flow from the source node at each time step satisfying the capacity constraints. In this section, we formulate the dynamic multicommodity flow with intermediate storage in continuous-time settings. A continuous dynamic flow function with intermediate storage is defined as the flow rate per unit time that leaves from the source at each moment of time by allowing the storage of excess flow at intermediate nodes without violating the capacity constraints.

By using natural transformation, Fleischer and Tardos [16] established the relation between discrete and continuous flow models. This natural transformation defines the continuous dynamic flow for time interval with , where is the amount of discrete dynamic flow entering arc at each time step . Here, we use this logic to transform the discrete-time multicommodity flow to continuous-time multicommodity flow with intermediate storage as follows: any discrete multicommodity flow over time with integral time horizon T is equivalent to the continuous multicommodity flow over time by incorporating the flow entering an arc at time step as a constant flow rate on arc during the unit time interval by allowing the storage of excess flow at intermediate nodes. Mathematically,

We formulate the dynamic multicommodity flow models with intermediate storage in continuous settings as follows:such that

Here, equation (18) represents an objective function, which is to maximize the total amount of flow out from the source in continuous-time settings, which is sent to the sink and the intermediate nodes. The nonconservation of the flow is represented by equation (19). Equations (20)–(22) have their usual meanings as in Section 2.

Dynamic flow problems defined in Section 4 and Section 5 can be solved in continuous-time settings by using this natural transformation with their respective algorithms within the same time complexity.

7. Conclusion

If the amount of flow out from the source node is more than the minimum cut capacity, then the excess flow cannot reach the sink. To deal with this problem, maximum static, maximum dynamic, and maximum dynamic contraflow problems with the storage of excess flow at intermediate nodes have been studied in two-terminal general network.

In this paper, we have investigated the multicommodity flow models with intermediate storage in static as well as dynamic networks. We have introduced the maximum static and maximum dynamic multicommodity flow problems. We have presented a polynomial time algorithm to solve the maximum static multicommodity flow problem and a pseudopolynomial time algorithm for the maximum dynamic multicommodity flow problem by allowing the storage of excess flow at intermediate nodes. Moreover, we have presented an algorithm to solve the maximum dynamic multicommodity contraflow problem with symmetric as well as asymmetric transit times. By using natural transformation in multicommodity network, we solved the maximum dynamic flow and maximum dynamic contraflow problems with intermediate storage in continuous-time settings. To the best of our knowledge, the maximum multicommodity flow problems with intermediate storage and their solution strategies for the static flow, dynamic flow, and contraflow problems are introduced for the first time.

The universally maximum multicommodity flow problem (the earliest arrival flow problem) with intermediate storage is harder problem, which is of interest for the further research. This problem is -hard even in case of two-terminal series parallel networks. Together with this, we are interested to work on maximum flow and earliest arrival flow problems with orientation-dependent transit times and flow-dependent transit times. We are also interested in implementing these techniques as a case study in Kathmandu road network.

Data Availability

The authors have not used any additional data in this article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this study.