Research Article | Open Access
Phanindra Prasad Bhandari, Shree Ram Khadka, "Lexicographically Maximum Contraflow Problem with Vertex Capacities", International Journal of Mathematics and Mathematical Sciences, vol. 2021, Article ID 6651135, 7 pages, 2021. https://doi.org/10.1155/2021/6651135
Lexicographically Maximum Contraflow Problem with Vertex Capacities
The contraflow approach has been extensively considered in the literature for modeling evacuations and has been claimed, due to its lane-direction-reversal capability, as an efficient idea to speed up the evacuation process. This paper considers the contraflow evacuation model on network with prioritized capacitated vertices that allows evacuees to be held at intermediate spots too, respecting their capacities and priority order. In particular, it studies the maximum flow evacuation planning problem and proposes polynomial and pseudo-polynomial time solution algorithms for static network and dynamic multinetwork, respectively. A real dataset of Kathmandu road network with evacuation spaces is considered to implement the algorithm designed for dynamic multinetwork and to observe its computational performance.
The contraflow approach, which refers to the reversibility of direction of traffic flow in one or more lanes of roadways for fixed time period, re-configures the road network, identifying ideal direction and reallocating available capacity for each arc. The approach, due to its lane-direction-reversal capability, can be taken as a potential remedy to mitigate congestion during emergencies. It significantly reduces the total evacuation time and/or increases the number of evacuees sent from the risk zone to safety. Studies show that reversing one lane of a four-lane dual highway increases the evacuation road capacity by approximately 30%, and by reversing all the inbound lanes, it increases by 67% . The contraflow approach is primarily important for emergency evacuations; nonetheless, its applications are not limited to these. This is commonly used for accommodating directionally imbalanced traffic associated with daily commuter in big cities as well as consequences due to religious gathering, arrangement of concerts or tournaments, etc. However, there is limited implementation of it in real emergency evacuations due to difficulty in using commonly employed methods to duplicate traffic conditions of real contraflow lane during an emergency .
The first mathematical optimization model for the contraflow problem was proposed by Rebennack et al.  that relies on the basis of the network flow model in . They have investigated analytical solutions for the maximum static contraflow (MSCF) problem and maximum dynamic contraflow (MDCF) problem with polynomial time complexities. The solution idea is based on transformation of input network into a new network for which existing network flow algorithms are applicable. The authors in  studied the continuous time maximum dynamic contraflow evacuation problem and proposed a polynomial time solution using the notion of natural transformation of flows suggested in .
Other variants that are closely related to the MDCF problem are the quickest contraflow (QCF) problem and earliest arrival contraflow (EACF) problem. The QCF problem on single-source-single-sink network has been solved polynomially in . The EACF problem for the two-terminal series-parallel (TTSP) network has been studied and a polynomial time solution for this has been proposed in . Maximum as well as earliest version of evacuation contraflow problems in network with not necessarily equal transit time on anti-parallel lanes have been studied in . Network reconstruction-based solution procedures have also been proposed for these problems modeled with discrete as well as continuous time setting. The authors in  studied these problems for multinetwork setup and proposed polynomial time solutions for both discrete as well as continuous time models. However, the solution procedures for earliest version of the problems work only for TTSP network. The contraflow approach has been incorporated in the network flow model to study facility location problem in , and the notion of abstract flow has been applied to network contraflow problems in . The partial contraflow approach over the abstract network setting has been introduced in . We refer to the survey articles [12, 13] for broader insight into dynamic network flow problems and evacuation planning problems.
This paper introduces a new aspect of the evacuation model designed on network with capacitated vertices by imposing the contraflow approach on it. The new model has arc reversal capability and is capable of holding evacuees at temporary shelters at intermediate vertices of given priority. The flow model adopted here is based on weak-conservation constraints given in  (cf. ). Based on this aspect, the maximum static contraflow problem on ordinary network and maximum dynamic contraflow problem on multinetwork are studied, and solution algorithms for them are proposed. It is crucial, in case of uneven road architecture, for example, to take contraflow models on multinetwork into account for preparing evacuation tasks . Multinetworks capture the situation of road topology with parallel lanes of different transit time and anti-parallel lanes of unequal to and fro transit time. It is considered that the transit time parameter behaves symmetrically during the reversal of arc direction in the case of the dynamic contraflow problem.
The evacuation flow model introduced in  is revisited and the lexicographically maximum contraflow problem on network with capacitated vertices is introduced in Section 2. The solution procedures to the problems for static and dynamic cases are proposed in Sections 3.1 and 3.2, respectively. A case illustration with a real dataset is made in Section 4. Section 5 concludes the paper.
2. Model Description
Consider a directed multigraph with vertex set and arc set , both to be finite, such that and . Represent the source and the sink by and , respectively, and assume a terminal set with prioritized from higher to lower priority, i.e., , to be given. Then, the corresponding two-terminal evacuation network for time horizon is represented as . Here, and represent the lower and upper arc capacity functions which bound the number of flow units on each arc at each time step from below and from above, respectively. Similarly, the vertex capacity function delimits the total number of flow units, which may be held in each of the vertices . Moreover, the transit time function specifies the time needed by a flow unit to traverse an arc. Treat time parameter in a discrete manner, i.e., .
The non-negative flow variables defined by that specify the flow over time in the network are the number of flow units entering arc at time step . The number of flow units entering arc at time step is assumed to be bounded by the capacity of an arc, i.e., satisfies the capacity constraints for all and for all . That is,
Moreover, has to be equal to zero for all and for all . The excess flow at vertex at time , denoted by , is defined aswhere and denote the set of arcs entering and leaving vertex , respectively.
Further, we need to ensure that the excess flow at each vertex over time horizon is to be bounded by the capacity , i.e.,
Consequently, the total flow of evacuees leaving the source is equal to the total flow of the evacuees held at vertices over the time horizon , i.e.,
An arc in which the flow could travel from vertex to vertex is replaced by the arc for contraflow purpose. The important feature of the considered dynamic network is that the capacities and the transit time on anti-parallel arcs could be unequal, and it is allowed to have parallel arcs with different transit time only. Thus, the static network , we consider here, is not a multinetwork. To this end, the objective of maximum contraflow evacuation planning problem is to lexicographically maximize the vector such that for , if the direction of arcs on is allowed to reverse. The network flow problem with this objective is termed as lexicographically maximum dynamic contraflow problem and abbreviated as LexMDCF problem. The maximum contraflow problem with above objective for static network is termed as lexicographically maximum static contraflow problem and is abbreviated as LexMSCF problem.
3. Solution Discussion
Rebennack et al.  proposed polynomial time analytical solutions to the MSCF problem and the MDCF problem for the first time. They considered the problems in ordinary network that do not have capability of holding flows at intermediate vertices. Their solution idea is based on the reconstruction of input network into a new one, in which the existing network flow algorithms are applicable. This section discusses the solution procedures to LexMSCF problem for ordinary network and LexMDCF problem for multinetwork based on network reconstruction idea.
3.1. Lexicographically Maximum Static Contraflow Problem
Consider a static network with terminal set as described in Section 2. Moreover, consider that , and consider to be finite for all . The lexicographically maximum static flow (LexMSF) problem that lexicographically maximizes the amount of flow entering a set of terminals in with respect to a given prioritization and given vertex capacities has been solved polynomially in . Here, the objective of the LexMSCF problem is to solve the LexMSF problem on , if direction of arcs on can be reversed.
We modify the solution idea of Rebennack et al.  that solves MSCF problem to solve the LexMSCF problem. Their idea is based on modification of input network into a new network by summing the capacities on arcs and such that MSCF problem reduces to MSF problem on it. In particular, the procedure has following steps. At first, given static network is transformed into its auxiliary network where the arc set contains undirected arc , if and/or belong to original arc set with capacity . Secondly, a maximum static flow is computed on so-formed undirected network by using any known algorithm. In our case, to ensure the intermediate holding capability in the solution and to respect the vertex capacities, the lexicographically maximum flow is computed by using LexMSF flow computation idea given in  instead of computing ordinary maximum flow. The modified procedure that solves LexMSCF problem is given in Algorithm 1.
We state the following lemma that shows equivalence between the optimal flow on and the optimal contraflow on input network , which turns out to be useful in optimality proof of algorithms designed for contraflow problems in this paper.
Lemma 1 (see ). The maximum static contraflow on a static network is equivalent to the maximum static flow on the corresponding transformed network .
Theorem 1. Given a static network , source and terminal set with , and for all . Then, Algorithm 1 computes a lexicographically maximum static contraflow on optimally in strongly polynomial time.
Proof. The LexMSF Algorithm optimally computes a static flow for each terminals as sinks on reduced network (see ). Moreover, Lemma 1 shows that these flows are equivalent to the maximum static contraflows on the input network .
The computational complexity of the algorithm depends on time complexity of the solution procedure on the reduced network . This is dominated by the time complexity of the solution procedure of LexMSF problem on since the flow decomposition in each iteration and network transformation can be done only in , see , and time, respectively. Note that the LexMSF problem can be solved in strongly polynomial time .
3.2. Lexicographically Maximum Dynamic Contraflow Problem for Multinetwork
Multinetworks capture the evacuation situation with anti-parallel lanes of unequal to and fro transit time as well as parallel lanes of unequal transit time. Maximum dynamic contraflow problems modeled on these class of network without capacitated vertices have been studied in . For given dynamic multinetwork and terminal set of capacitated vertices with , the aim is to solve the LexMDCF problem, if the arc reversibility is permitted only once at time zero. In the following, the solution procedure (Algorithm 2) that solves the MDCF problem for multinetwork is modified to solve LexMDCF problem.
Solving MDCF problem, the arc is reversed, if the flow along arc exceeds for , or . This can be viewed, alternatively, as follows: for such that , the flow value at arc greater than the capacity of the corresponding arc means there is flipping of the direction of arc . Similarly, in the case with unequal transit time, we can see the sense of flipping the direction of arc , if there is some positive flow on the corresponding arc . The minimum cost flow (MCF) algorithm applied to generate a dynamic temporally repeated flow ensures that there is flow along the arc with less or equal transit time in comparison to the transit time of corresponding anti-parallel arc , regardless of whether the arc is saturated. The parallel arcs have been labeled as such that , for , to avoid obstruction on the multinetwork while applying MCF algorithm.
Theorem 2. Given a dynamic multinetwork with integer inputs. Then, maximum dynamic flow on is equivalent to a maximum dynamic contraflow on .
Proof. The auxiliary network of the original network obtained in step 2 is an undirected multinetwork. The maximum dynamic contraflow problem on can be viewed as a maximum dynamic flow problem on . While solving the latter problem on , the network is to be further transformed by replacing each undirected arc by two oppositely directed arcs with capacities and transit times of both arcs equal to that of original arc. This allows us to send flow on either direction of the arc. However, the flow direction, once chosen, remains fixed throughout the procedure. That is, there is only a flow on one direction of any arc, and never in both directions at the same time as well as at different time periods. However, there could be a flow along arc and such that for at the same time or at different time periods. The latter situation does not make the flow on an infeasible since, in fact, arcs and are physically different arcs for , due to the labeling of arcs in step 3. Thus, the flow constructed by Algorithm 2 is feasible.
Since every feasible flow of the maximum dynamic flow problem on the transformed network is feasible to the maximum dynamic contraflow problem on network , the maximum dynamic flow on is not greater than the maximum dynamic contraflow on . On the other hand, since maximum dynamic flow on network does not exceed maximum flow for the corresponding time expanded network , the maximum dynamic contraflow on is not greater than the maximum static contraflow in time expanded network . This static contraflow is equivalent to the optimal static flow in due to the fact that any maximum static contraflow on network has equivalent maximum flow in the corresponding transformed network . Again, since there exists a temporally repeated flow which is maximal over the time horizon , the optimal static flow in is equivalent to the temporally repeated flow on . Thus, the optimal dynamic contraflow on is not greater than the optimal dynamic flow on .
Theorem 3. For dynamic multinetwork with integer inputs, Algorithm 2 runs in strongly polynomial time.
Proof. Construction of auxiliary network in step 2 and labeling parallel arcs in step 3 require only linear time on . The running time of Algorithm 2 is dominated by computation of a maximum dynamic flow in step 3. It is computed with the help of temporally repeated flow on . Finding a temporally repeated flow is equivalent to solving a minimum cost flow problem. The minimum mean cycle-canceling algorithm of , for instance, requires time for solving this problem. Next effort is to decompose the maximum static flow which requires time . Thus, Algorithm 2 runs in a strongly polynomial time for dynamic multinetwork .
For given dynamic network and terminal set as described in Section 2, a lexicographically maximum dynamic flow (LexMDF) problem that lexicographically maximizes the amount of flow entering a set of terminals in with respect to a given prioritization and given vertex capacities has been studied in . The solution procedure to solve this problem is based on the notion of time expanded network introduced in . Since the objective of LexMDCF problem is to respect the vertex capacities on the prioritized terminals, it is not sufficient to compute a maximum dynamic flow by the means of ordinary temporally repeated flows as in Algorithm 2. Instead, to solve the LexMDCF problem, a lexicographically maximum dynamic flow computation technique proposed in  can be applied. The solution procedure to solve LexMDCF problem for multinetwork has been summarized in Algorithm 3.
Theorem 4. Given a multinetwork , source , and terminal set with , and for all . Then, Algorithm 3 computes a lexicographically maximum dynamic contraflow on in pseudo-polynomial time.
Proof. The LexMDF algorithm of  is applied in Algorithm 3 that computes dynamic flows on transformed network iteratively for each vertex in priority order optimally. These flows have equivalent maximum dynamic contraflows on input network for each iteration due to Theorem 2. Also, the application of LexMDF algorithm is dominating step with run time depending upon parameter . Rest of the steps can be performed in strongly polynomial time. Thus, Algorithm 3 computes a lexicographically maximum dynamic contraflow on multinetwork in pseudo-polynomial time.
4. Case Illustration
A case illustration is made by considering Kathmandu road network within and on the Ring Road (see Figure 1). Two scenarios: Scenario I with 38 vertices, 118 arcs, and 13 intermediate shelters and Scenario II (including minor road segments) with 52 vertices, 180 arcs, and 14 intermediate shelters, are examined. New Road area, a highly congested business hub with narrow streets, is taken as the source. Evacuation spaces identified in  are taken as the sink (Tribhuvan University (TU) area and Bagmati Corridor near Balkhu) and other intermediate shelters. Standard area (population per 45 square meters sphere) has been considered for the holding capacity of each intermediate evacuation space. However, the sink is assumed to have sufficient capacity. Tables 1 and 2 show the name of evacuation spaces together with their corresponding holding capacities and priority order. For this case illustration, shelters (except sink) are prioritized in random selection (however, it can be done with respect to their capacities, distance from the source or available facilities, and so on). Being a discrete time auto-based evacuation planning model, it followed the “two second rule,” considering each minute as a unit of time. It is considered that the average speed of cars is 550 meters per minute that highly matches with the transit time to travel the segment provided by Google Maps data during normal traffic. Considering the time horizon of 60, 90, and 100 minutes and sufficient sink capacity, the results for Scenario I (Table 1) and Scenario II (Table 2) before and after the application of the contraflow approach are demonstrated.
The results show that the total maximum flow could be increased, while the contraflow approach is applied, by up to approximately 109%, justifying the importance of the approach in the evacuation planning problem. For the real-world problem, it is necessary to restrict the sink also by its actual evacuation space capacity (24090 evacuees ). In this case, evacuees that cannot reach sink due to its capacity are distributed among intermediate shelters respecting corresponding capacities, and more than 58 thousand (only nearly 4 thousand less) evacuees in total can be evacuated in 100 minutes for Scenario II, if contraflow is applied. Additional evacuees, about 34 thousand in number for Scenario II with actual sink capacity, can be saved due to consideration of intermediate holding of flows in the evacuation model. Detailed result discussion for this case has been omitted here.
The algorithm has been coded into Python with version 3.9.1 and was run on the computer having Windows 10 operating system with 64 GB RAM and 3.60 GHZ Intel Core i9-9900k processor. It took around 1.5, 6, and 9 minutes to run the program while computing lexicographically maximum flows for , , and , respectively, for Scenario I. Similarly, for Scenario II, it took around 4, 16, and 22 minutes for , , and , respectively. These significantly different running times for different values of parameter and network input size justify the assertion about time complexity (pseudo-polynomial) of Algorithm 3 made in Theorem 4. The finer discretization of time (controlling parameter in algorithm), instead of considering a minute as a unit of time, would minimize the errors associated with transit time of road segments. However, it leads to higher time complexity to run the program.
Importance and applicability of the idea of contraflow especially in the evacuation planning problem has been increasing. Existing network contraflow models fail to capture the situation where it is possible to send evacuees out from the risk zone to even an intermediate capacitated spot if they cannot reach the destination. This paper considered contraflow evacuation planning problems adopting the weak-conservation constraints that allow holding of flow units at prioritized intermediate vertices of given capacities. In particular, it proposed solution algorithms for lexicographically maximum static contraflow problem and lexicographically maximum (discrete) dynamic contraflow problem for multinetwork.
The continuous time dynamic flow model with weak-conservation constraint can also be defined in similar way as given in Section 2 by integrating the flow units at each time point instead of adding flow over time for each time step . Dynamic version of lexicographically contraflow problems studied in this paper can be extended to one with continuous time setting too. These problems can be solved with computational time complexity equal to that of discrete time setting by applying notion of natural transformation of flows suggested in .
The limitation of the solution algorithm proposed for dynamic version of the problem is that it leads to a pseudo-polynomial time complexity since the size of underlying network strongly depends on . Searching of polynomial time solution algorithm for this problem as well as studying the quickest and earliest versions of the problem would be future research areas. One could incorporate the idea of intermediate holding of flows in the multicommodity flow model that better reflects the real-world vehicle distribution scenario of most underdeveloped cities.
The data used for the case illustration are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Phanindra Prasad Bhandari would like to thank the University Grants Commission, Nepal, for providing partial financial support through a PhD Fellowship Award (2016) (Award No. PhD-72/73-S&T-01) to conduct this research.
- L. Wei, J. Xu, T. Lei, M. Li, X. Liu, and H. Li, “Simulation and experimental analyses of microscopic traffic characteristics under a contraflow strategy,” Applied Sciences, vol. 9, no. 13, p. 2651, 2019.
- S. Rebennack, A. Arulselvan, L. Elefteriadou, and P. M. Pardalos, “Complexity analysis for maximum flow problems with arc reversals,” Journal of Combinatorial Optimization, vol. 19, no. 2, pp. 200–216, 2010.
- L. R. Ford and D. R. Fulkerson, “Constructing maximal dynamic flows from static flows,” Operations Research, vol. 6, no. 3, pp. 419–433, 1958.
- S. R. Khadka and P. P. Bhandari, “Dynamic network contraflow evacuation planning problem with continuous time approach,” International Journal of Operations Research, vol. 14, no. 1, pp. 27–34, 2017.
- L. Fleischer and É. Tardos, “Efficient continuous-time dynamic network flow algorithms,” Operations Research Letters, vol. 23, no. 3-5, pp. 71–80, 1998.
- T. N. Dhamala and U. Pyakurel, “Earliest arrival contraflow problem on series-parallel graphs,” International Journal of Operations Research, vol. 10, no. 1, pp. 1–13, 2013.
- P. P. Bhandari and S. R. Khadka, “Evacuation contraflow problems with not necessarily equal transit time on anti-parallel arcs,” American Journal of Applied Mathematics, vol. 8, no. 4, pp. 230–235, 2020.
- P. P. Bhandari and S. R. Khadka, Maximum Contraflow Evacuation Planning Problems on Multi-Network, 2020, (Submitted).
- R. C. Dhungana and T. N. Dhamala, “Maximum flowloc problems with network reconfiguration,” International Journal of Operations Research, vol. 16, no. 1, pp. 13–26, 2019.
- R. C. Dhungana, U. Pyakurel, and T. N. Dhamala, “Abstract contraflow models and solution procedures for evacuation planning,” Journal of Mathematics Research, vol. 10, no. 4, pp. 89–100, 2018.
- U. Pyakurel, H. N. Nath, and T. N. Dhamala, “Partial contraflow with path reversals for evacuation planning,” Annals of Operations Research, vol. 283, no. 1-2, pp. 591–612, 2019.
- T. N. Dhamala, U. Pyakurel, and S. Dempe, “A critical survey on the network optimization algorithms for evacuation planning problems,” International Journal of Operations Research, vol. 15, no. 3, pp. 101–133, 2018.
- M. Skutella, “An introduction to network flows over time,” in Research Trends in Combinatorial Optimization, Springer, Berlin, Heidelberg, 2009.
- P. P. Bhandari, S. R. Khadka, S. Ruzika, and L. E. Schäfer, “Lexicographically maximum dynamic flow with vertex capacities,” Journal of Mathematics and Statistics, vol. 16, no. 1, pp. 142–147, 2020.
- P. P. Bhandari and S. R. Khadka, “Maximum flow evacuation planning problem with non-conservation flow constraints at the intermediate nodes,” in Proceedings of International Conference on Mathematical Optimization, Beijing, China, April 2019.
- R. K. Ahuja, T. L. Magnati, and J. B. Orlin, Network Flows: Theory, Algorithms, and Applications, Prentice Hall, Upper Saddle River, NJ, USA, 1993.
- A. V. Goldberg and R. E. Tarjan, “Finding minimum-cost circulations by canceling negative cycles,” Journal of the ACM, vol. 36, no. 4, pp. 873–886, 1989.
- International Organization for Migration, Report on Identification of Open Spaces for Humanitarian Purposes in Kathmandu Valley, International Organization for Migration, Grand-Saconnex, Switzerland, 2011, https://reliefweb.int/report/nepal/report-identification-open-spaces-humanitarian-purposes-kathmandu-valley.
Copyright © 2021 Phanindra Prasad Bhandari and Shree Ram Khadka. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.