Manuscript Offprint
arXiv:2610.37065Polynomial-Time Solvability of the Mixed Evacuation Problem
Abstract
The mixed evacuation problem is a variant of the dynamic transshipment problem where there exist two modes of transportation and we allocate supplies to each mode of transportation in such a way that we can send all the supplies from sources to sinks within a given time limit. It is known that this problem can be solved in polynomial time when the number of sources and sinks is small. In this paper, we prove that the mixed evacuation problem can be solved in polynomial time with the ellipsoid method.
1 Introduction
A dynamic network flow, which was introduced by Ford and Fulkerson [2, 3], is a flow defined in a dynamic network, i.e., a directed graph with capacities and transit times on its arcs. The dynamic transshipment problem is a problem in a dynamic network with multiple sources and multiple sinks, and the goal of the dynamic transshipment problem is to determine whether we can send all the supplies from sources to sinks within a given time limit. It is known that the dynamic transshipment problem can be solved in polynomial time [6].
The mixed evacuation problem [5] is a variant of the dynamic transshipment problem where there exist two modes of transportation and we allocate supplies to each mode of transportation in such a way that we can send all the supplies from sources to sinks within a given time limit. It is known that this problem can be solved in polynomial time when the number of sources and sinks is small [5]. In this paper, we prove that the mixed evacuation problem can be solved in polynomial time with the ellipsoid method.
AI disclosure. The main idea of the proof was obtained by using GPT-5.6 Luna and GPT-6 Astra. More precisely, the idea that the dual problem (3) is used to prove Lemmas 3 and 4 was obtained by using ChatGPT. The author independently verified the mathematical correctness and reorganized the proof. In addition, ChatGPT was used for proofreading. The author takes full responsibility for the correctness and the content of this paper.
This work was supported by JSPS KAKENHI Grant Number JP24K14825.
The mixed evacuation problem is defined as follows. In this problem, we are given a finite directed graph and two disjoint subsets . The subset (resp. ) is the set of source vertices (resp. sink vertices) in . We assume that no arc in enters (resp. leaves) a vertex in (resp. ). In addition, in this problem, we are given an arc capacity vector , a supply vector , a sink capacity vector , transit time vectors , and coefficients . Finally, we are given a time limit . Define . All numerical input data are encoded in binary. Define as the encoding length of the instance of the mixed evacuation problem.
For each integer , each function , each vertex , and each integer , we define
where (resp. ) represents the set of arcs in A leaving (resp. entering) v. In other words, represents the difference between the total amount of flow leaving v by the time step and the total amount of flow entering v by the time step .
A vector is called an allocation if for every vertex and for every vertex . For each integer , each allocation , and each vector , is said to be -feasible if there exists a function satisfying the following conditions.
(D1) Let and be an arc in and an integer in , respectively.
• If , then .
• If , then .
(D2) Let v and be a vertex in V and an integer in , respectively.
• If , then .
• If (resp. ), then (resp. ).
(D3) Let v be a vertex in V.
• If , then .
• If , then .
For each integer and each vector , let be the set of -feasible allocations in . An assignment is a tuple such that are allocations in and . Furthermore, an assignment is said to be feasible if it satisfies the following conditions.
(F1) For every vertex (resp. ), (resp. ).
(F2) For every , we have .
(F3) and .
The goal of the mixed evacuation problem is to decide whether there exists a feasible assignment. It is not difficult to see that we can straightforwardly formulate the mixed evacuation problem as a linear program. However, the size of this linear program depends on . Since is encoded in binary, the size of this linear program may not be bounded by a polynomial in L.
3 Useful Facts
In this section, we introduce facts that are needed in Section 4.
Assume that we are given an integer , a vector , and a subset . We define as the set of functions satisfying (D1) and the following conditions (D4) and (D5).
(D4) Let v and be a vertex in V and an integer in , respectively.
• If , then .
• If , then .
(D5) For every vertex , we have .
Recall that no arc in enters (resp., leaves) a vertex in (resp., ). Thus, for every function and every vertex , holds. Intuitively speaking, an element in is a dynamic flow from to without supplies and demands. Furthermore, we define the function by
Intuitively speaking, is the maximum flow value of a dynamic flow from to . The following result was cited by Hoppe and Tardos [6] as personal communication.
Lemma 1 (Klinz [6, Theorem 5.1]). Assume that we are given an integer , an allocation , and a vector . Then if and only if for every subset .
In what follows, let be a new vertex that is not contained in . Define . For each vertex (resp. ), we define (resp. ) as an arc from to (resp. to ).
For each subset , we introduce the following definitions. Define
Define the directed graph as . Then for each integer , each vector , and each vector , is called a feasible static flow with respect to if it satisfies the following conditions (S1) and (S2).
(S1) For every , we have .
(S2) For every vertex , we have .
For each integer and each vector , we define as the set of feasible static flows with respect to . For each integer , we define the vector as follows. For each arc , we define . For each arc , if for some vertex , then we define . Furthermore, for each arc , if for some vertex , then we define .
Lemma 2 (Ford and Fulkerson [2, 3]). For every integer , every vector , and every subset , the value is equal to the optimal objective value of the problem of maximizing under the condition that .
4 Polynomial-Time Solvability
In this section, we prove that the mixed evacuation problem can be solved in polynomial time.
Define . In addition, we define as the set of tuples satisfying the following constraints.
The mixed evacuation problem is equivalent to the problem of determining whether .
It follows from [4, Theorem 6.4.9] that, in order to prove that the mixed evacuation problem can be solved in polynomial time, it is sufficient to prove the following two lemmas.
Lemma 3. There exists a finite system of inequalities with rational coefficients such that its solution set is equal to K and the encoding length of each inequality of the system is bounded by a polynomial in L.
Lemma 4. Assume that we are given a rational element . Then the separation problem for and can be solved in time bounded by a polynomial in and , where denotes the encoding length of .
The linear program in Lemma 2 can be described as follows.
Maximize
subject to
Thus, the dual problem of (2) can be described as follows.
Minimize
subject to
where (resp. ) represents the tail (resp. head) of for each arc . Notice that since the feasible region of (2) is bounded and has a trivial solution, (2) has an optimal solution. Thus, the duality theorem of linear programming (see, e.g., [1, Theorem 3.7]) implies that (3) has an optimal solution. It should be noted that the constraints of (3) do not depend on .
Define as the set of weakly connected components of . That is, is the family of maximal subsets such that is connected in the undirected graph obtained by ignoring the orientations of arcs in . Then for each element , we select an arbitrary vertex in as a special vertex .
It is not difficult to see that even if we add the constraint that for each element to (3), the optimal objective value does not change. (If , then we subtract from for each vertex .) Define as the set of feasible solutions to (3) with the constraint that for each element . (Recall that the set of feasible solutions of (3) does not depend on .) Notice that .
Lemma 5. is pointed, i.e., does not contain a line.
Proof. Let be an element in , and let be a vector in such that some component of is not zero. Assume that
for every real . Then we derive a contradiction. Define .
Assume that there exists an arc such that . Define
Then we have
This contradicts (4). Thus, we can assume that for every arc .
Claim 1. For every arc , .
Proof. Assume that there exists an arc such that . If , then we define . Otherwise, we define . Define
If , then we define . Otherwise, we define . Then we have
This contradicts (4).
Recall that some component of is not zero. Since for every arc , there exists a vertex such that . Let be the element in containing . Then Claim 1 implies that . Define . Then since ,
This contradicts (4).
Recall that . Thus, Lemma 5 implies that has an extreme point (see, e.g., [1, Theorem 3.33 and p.109]). Define as the set of extreme points of . Notice that is finite (see, e.g., [1, Theorem 3.34]).
4.1 Proof of Lemma 3
Let i be an integer in . Then we consider the following inequalities in (1).
Lemma 2 implies that (5) is equivalent to
By using (3) and the duality theorem of linear programming (see, e.g., [1, Theorem 3.7]), (6) is equivalent to
It is known that there exists an extreme-point optimal solution to a linear program when this linear program has an optimal solution and its feasible region is pointed (see, e.g., [4, p.15]). Thus, (7) is equivalent to
Clearly, (8) is equivalent to
The encoding lengths of the coefficients and the right-hand sides of the constraints of (3) are bounded by a polynomial in . Thus, for every element , the encoding length of is bounded by a polynomial in [1, Theorem 3.38]. This completes the proof.
4.2 Proof of Lemma 4
For the constraints of K except the last family of constraints, we can determine whether these constraints are satisfied in time bounded by a polynomial in L and B. If some constraint among these constraints is not satisfied, then we can straightforwardly obtain a desired separating hyperplane. For every integer , since is submodular [6], we can determine whether for every subset by using a submodular function minimization algorithm [7, 9] in time bounded by a polynomial in L and B. Notice that (2) implies that we can compute for each subset in time bounded by a polynomial in L and B.
In what follows, we assume that we have an integer and a subset such that . In order to obtain a desired separating hyperplane, we first compute an extreme-point optimal solution to the following problem.
Minimize
Since the encoding length of (9) is bounded by a polynomial in and , we can find such an optimal solution in time bounded by a polynomial in and [8]. The encoding length of is bounded by a polynomial in (see the last part of Section 4.1). Then we have
Let be an arbitrary element in . Since does not affect the constraints of (3), is also a feasible solution to (3) with respect to , Z. Thus,
This implies that since , we have
Thus, is a desired separating hyperplane. This completes the proof.
References
[1] Michele Conforti, Gérard Cornuéjols, and Giacomo Zambelli. Integer Programming. Springer, Cham, Switzerland, 2014.
[2] Lester R. Ford, Jr. and Delbert R. Fulkerson. Constructing maximal dynamic flows from static flows. Operations Research, 6(3):419–433, 1958.
[3] Lester R. Ford, Jr. and Delbert R. Fulkerson. Flows in Networks. Princeton University Press, Princeton, NJ, 1962.
[4] Martin Grötschel, László Lovász, and Alexander Schrijver. Geometric Algorithms and Combinatorial Optimization, volume 2 of Algorithms and Combinatorics. Springer, Berlin, Heidelberg, Germany, 2nd corrected edition, 1993.
[5] Yosuke Hanawa, Yuya Higashikawa, Naoyuki Kamiyama, Naoki Katoh, and Atsushi Takizawa. The mixed evacuation problem. Journal of Combinatorial Optimization, 36(4):1299–1314, 2018.
[6] Bruce Hoppe and Éva Tardos. The quickest transshipment problem. Mathematics of Operations Research, 25(1):36–62, 2000.
[7] Satoru Iwata, Lisa Fleischer, and Satoru Fujishige. A combinatorial strongly polynomial algorithm for minimizing submodular functions. Journal of the ACM, 48(4):761–777, 2001.
[8] Leonid G. Khachiyan. Polynomial algorithms in linear programming. USSR Computational Mathematics and Mathematical Physics, 20(1):53–72, 1980.
[9] Alexander Schrijver. A combinatorial algorithm minimizing submodular functions in strongly polynomial time. Journal of Combinatorial Theory, Series B, 80(2):346–355, 2000.