11email: [email protected] 22institutetext: IEOR, Columbia University , New York, USA
22email: [email protected] 33institutetext: ORIE, Cornell University, Ithaca, USA
33email: [email protected]
On the Power of Static Assignment Policies for Robust Facility Location Problems
Abstract
We consider a two-stage robust facility location problem on a metric under an uncertain demand. The decision-maker needs to decide on the (integral) units of supply for each facility in the first stage to satisfy an uncertain second-stage demand, such that the sum of first stage supply cost and the worst-case cost of satisfying the second-stage demand over all scenarios is minimized. The second-stage decisions are only assignment decisions without the possibility of adding recourse supply capacity. This makes our model different from existing work on two-stage robust facility location and set covering problems. We consider an implicit model of uncertainty with an exponential number of demand scenarios specified by an upper bound on the number of second-stage clients. In an optimal solution, the second-stage assignment decisions depend on the scenario; surprisingly, we show that restricting to a fixed (static) fractional assignment for each potential client irrespective of the scenario gives us an -approximation for the problem. Moreover, the best such static assignment can be computed efficiently giving us the desired guarantee.
1 Introduction
We consider two-stage robust facility location problems under demand uncertainty where we are given a set of clients and a set of facilities in a common metric space. In the first stage, the decision-maker needs to select the (integral) units supply at each facility. The uncertain demand is then selected adversarially and needs to be satisfied by the existing supply with the minimum assignment cost in the second stage. The goal is to determine the first-stage supply such that the sum of first-stage supply cost and the worst-case assignment cost over all demand scenarios is minimized. Our problem is motivated by settings where the lead time to procure supply is large and obtaining additional units of supply in the second stage is not feasible. The uncertain second-stage demand must then be satisfied by supply units from the first stage, a common constraint in many applications. This is a departure from existing work on two-stage robust facility location, network design and, more generally, robust covering problems that have been studied extensively in the literature [6, 7, 1, 9] where the second-stage decisions allow for “adding more supply” (more specifically adding more sets/facilities to satisfy the requirement).
In this paper, we consider an implicit model of uncertainty with exponentially-many demand scenarios specified by an upper bound on the number of second-stage demand clients. Since the number of scenarios is exponentially-many (specified compactly), we can not efficiently solve even the LP relaxation for the problem. In contrast, if the set of second-stage scenarios are explicitly specified (for the explicit scenario model, see for instance [6, 1]), we can write a polynomially-sized LP relaxation with assignment decisions for each scenario. The main challenge then is related to obtaining an integral solution, which for the case of set covering and several network design problems can be reduced to deterministic versions (see, for instance, Dhamdhere et al. [6]).
In contrast, in an implicit model of uncertainty (with possibly exponentially-many scenarios), one of the fundamental challenges is to even approximately solve the linear relaxation of the problem efficiently. The implicit model of uncertainty with an upper bound on number of uncertain second-stage clients or elements has been studied extensively in the literature. Feige et al. [7] show under a reasonable complexity assumption that it is hard to solve the LP relaxation of a two-stage set covering problem within a factor better than under this implicit model of uncertainty. They also give an -approximation for the two-stage robust set-covering problem. Gupta et al. [9] give an improved -approximation for the set-covering problem, thereby matching the deterministic approximation guarantee. El Housni and Goyal [12] show that a static policy (that is, linear in the set of second-stage elements, also referred to as an affine policy) gives an -approximation for the two-stage LP, thereby matching the hardness lower bound for the fractional problem. Gupta et al. [10] and Khandekar et al. [14] present approximations for several network design problems under the implicit model of uncertainty. Although there is a large body of work in this direction, as we mentioned earlier, our problem is different from set covering, since there is no possibility of adding recourse capacity; prior results do not imply an approximation for our model.
Other related work. Many variants of facility location problems have been studied extensively in the literature, including both deterministic versions as well as variants that address demand uncertainty. We refer the reader to [17] for a review of the many variants of deterministic facility location problems. Among the models that address demand uncertainty in the facility location problems, in addition to robust [2, 4], there are also stochastic [11, 13, 20, 16] and distributionally robust [15, 3, 5] models that have been studied extensively in the literature. In a stochastic model, there is a distribution on the second-stage demand scenarios and the goal is to minimize the total expected cost. A distributionally robust model can be thought of as a hybrid between stochastic and robust where the second-stage distribution is selected adversarially from a pre-specified set and the goal is to minimize the worst-case expected cost. We refer the reader to the survey [19] for an extensive review of facility location problems under uncertainty.
1.1 Our Contributions
Let us begin with a formal problem definition. We are given a set of facilities and clients in a common metric where denotes the distance between and . For each facility , there is a cost per unit of supply at . The demand uncertainty is modeled by an implicit set of scenarios that includes all subsets of clients of size at most . The decision-maker needs to select an (integral) number of units of supply for each facility in the first-stage. An adversary observes the first stage decisions and selects a worst-case demand scenario that must be satisfied with the first-stage supply, where each client in the realized scenario needs one unit of supply. The goal is to minimize the sum of the first-stage supply cost and the worst-case assignment cost over all second-stage demand scenarios. We refer to this problem as soft-capacitated robust facility location (SCRFL). Typically in the literature, soft-capacitated refer to settings where violations of capacity upper bounds are allowed. The analogue here is that we can add any amount of supply in a facility without upper bounds ( but we pay a per unit cost of supply.
We consider a class of static assignment policies, where each of the clients has a static fractional assignment to facilities that is independent of the scenario, leading to a feasible second-stage solution for each demand scenario, while respecting supply capacities. Note this is a restriction, since the optimal second-stage assignment decisions are scenario-dependent in general. As a warm-up, we show that static assignment policies are optimal for the uncapacitated case with unlimited supply at each open facility (i.e., there is a cost to open facility with unlimited supply). We refer to this problem as uncapacitated robust facility location (URFL). This is based on the intuition that each client can be assigned to the closest open facilities in an optimal solution in any scenario; this leads to optimality of a static assignment policy for the LP relaxation (Theorem 1.1).
Theorem 1.1
A static assignment policy is optimal for the linear relaxation of (URFL).
The optimality of static assignment is not true in general when the supply at facilities is constrained (or equivalently, there is a cost per unit of supply). The main contribution in this paper is to show that static assignment policies give an -approximation for the LP relaxation of (SCRFL) (Theorem 1.2). We show this by constructing such a solution, starting from an optimal first-stage supply. The optimal static assignment policies can be computed efficiently by solving a compact LP.
Theorem 1.2
A static assignment policy gives -approximation for the linear relaxation of (SCRFL).
Furthermore, the fractional supply in the first stage can be rounded to an integral supply using ideas similar to rounding algorithms for the deterministic facility location [18]. In particular, the static assignment solution for the uncapacitated case can be rounded to give a -approximation algorithm for (URFL). The static assignment solution for the soft-capacitated case can be rounded within a constant factor, which results in an -approximation algorithm for (SCRFL). We would like to note that while the fractional assignment is static in our approximate LP solution, our integral assignment for any client in the second-stage depends on the other demand clients in the scenario; thereby, making our static assignment policy adaptive in implementation.
2 Warm-up: uncapacitated robust facility location
2.1 Problem formulation
In this section, we consider the uncapacitated robust facility location problem (URFL) where for each , there is a cost to open facility with unlimited supply. The problem can be stated as the following integer program, where each binary variable indicates if facility is opened and each indicates the assignment of client to facility in scenario .
(URFL) | |||||
s.t. | |||||
Note that the second-stage problem is a transportation problem and since the demand of a client is integral (0 or 1), the optimal solution is integral as well. The special case of (URFL) where the uncertainty set contains only a single scenario corresponds to the NP-hard classical and well-studied uncapacitated facility location problem, which is hard to approximate within a constant better than 1.463 unless NP has an -time algorithm [8]. We let (LP-URFL) denote the linear relaxation of (URFL), where we replace by for each . We would like to note that, in our model, the number of scenarios could be exponential in the dimension of the problem. Hence, in general, even the linear relaxation of such a problem could be challenging. However, we show that (LP-URFL) can be solved in polynomial time using a Static Assignment Policy for the second-stage variables. Moreover, we can round the fractional solution losing only a constant factor, thereby getting a constant approximation for (URFL). This section serves as a warm-up for introducing and motivating static assignment policies before addressing the class of capacitated robust facility location problems.
2.2 Static assignment policy
Consider an optimal solution of (URFL). Since each open facility can have an unlimited amount of supply, each client in the realized scenario is assigned to the closest facility among the opened ones. Therefore, a client is always assigned to the same open facility in all scenarios where . The same observation holds as well for (LP-URFL) where each client is assigned to the same fractionally opened facilities independent of the realized scenario. Thus, the assignment of a client is static. This can be captured by the following policy.
Static assignment policy. There exists for each such that
(1) |
Proof of Theorem 1.1. Let be an optimal solution to (LP-URFL). Since there are no capacities on facilities, each client is assigned to the closest fractionally opened facilities. In particular, for each , let be a permutation of such that , and let . Denote The optimal solution can be written in the form (1) as follows: for and ; for , for , and , otherwise. ∎
Let (Static-URFL) denote the problem after restricting the second-stage variables in (LP-URFL) to a policy (1), which can then be reformulated as follows:
(Static-URFL) | |||||
s.t. | |||||
From Theorem 1.1, (Static-URFL) is equivalent to (LP-URFL). The number of variables in (Static-URFL) is reduced to a polynomial number since the no longer depend on the scenario . The inner maximization problem is still taken over an exponential number of scenarios; however we can separate efficiently over these scenarios and write an efficient compact LP formulation for (Static-URFL):
(2) | |||
where the first equality holds because the optimal solution of the right maximization problem occurs at the extreme points of the -ones polytope, which corresponds to the worst-case scenarios of and the second equality follows from strong duality. Therefore, by dropping the min and introducing and all as variables, we reformulate (Static-URFL) as the following linear program:
(3) | |||||
s.t. | |||||
Finally, we round the solution of (Static-URFL) to an integral solution for (URFL) while losing only a constant factor. This can be done using prior work on rounding techniques from the literature of deterministic facility location problems. In fact, the LP rounding technique in Shmoys et al. [18], which gives a -approximation algorithm to the deterministic uncapacitated problem also gives a -approximation algorithm for (Static-URFL). The idea is to define a ball around each client of radius equal to the fractional assignment cost of the client (which is independent of any scenario for our static policy). Then, we open facilities in non-intersecting balls of ascending radius. The result is given in the following theorem and for completeness, the details of the rounding are in Appendix 0.A.
Theorem 2.1
(Static-URFL) can be rounded to give a 4-approximation to (URFL).
We would like to note that the focus in this section is not about finding the best constant approximation for (URFL), but we introduce it as a warm-up for motivating the static assignment policy before presenting our main result in the next section.
3 Soft-capacitated robust facility location
3.1 Problem formulation
In this section, we consider the soft-capacitated robust facility location (SCRFL) which is similar to (URFL) except that each facility incurs a linear supply cost, where is the cost per unit of supply. We refer to as the supply (or capacity) in facility . Each client in the realized scenario needs to be satisfied by one unit of supply. The problem is called soft-capacitated since there is no upper bound on , (. The problem is given by the following integer program:
(SCRFL) | |||||
s.t. | |||||
We let (LP-SCRFL) denote the linear relaxation of (SCRFL), where we replace by , for each . We would like to note that even the linear relaxation (LP-SCRFL) is challenging to solve since it has exponentially-many variables (scenarios). Unlike the uncapacitated case, the static assignment policy (1) is not optimal for (LP-SCRFL) and the optimal assignment for each client depends, in general, on the realized scenario. In particular, the same client could be assigned to different facilities in different scenarios. In contrast, we show the surprising result that a static assignment policy gives -approximation to (LP-SCRFL). Moreover, we can round the solution of the static assignment policy to an integral solution for (SCRFL) and only lose an additional constant factor. We let (Static-SCRFL) denote the problem when we restrict the second-stage variables in (LP-SCRFL) to static assignment policies (1). The problem can then be reformulated as follows:
(Static-SCRFL) | |||||
s.t. | |||||
3.2 An -approximation algorithm
Our main contribution in this section is to show that a static assignment policy (1) gives -approximation for (LP-SCRFL) (Theorem 1.2). To prove this theorem, we consider an optimal solution of (LP-SCRFL) and massage it to construct a solution of the form (1) while losing factor. We first present our construction and several structural lemmas and then give the proof of Theorem 1.2.
Our construction. Let be an optimal first-stage solution of (LP-SCRFL), let be the corresponding optimal first-stage cost and let be the corresponding optimal second-stage cost. We will classify the clients into three subsets using Procedure 1 (below) and then specify a static assignment policy for each subset. We use the following notation in the procedure. Let and . For and , we let denote the ball centered at client of radius . We initialize the sets and and update them at iteration, as explained in the procedure, until becomes empty. We let denote the set of clients in that are inside the ball and let denote the total optimal supply of facilities that are inside the ball , i.e.,
Note that both and depend on the current sets of facilities and clients , which we update at each iteration of the while loop in the procedure. But for the ease of notation, we do not refer to them with the indices and .
In the procedure, while the set is not empty, we pick a client and grow three balls around it: (internal ball), (medium ball) and (external ball) starting with . For each , we check if the number of clients in the internal ball is greater than (line 4); if this is the case, we remove them from , put them in and restart in line 2. If not, we check if the supply in the medium ball is sufficient to satisfy half of the clients in the internal ball (line 7); if that is not the case, we remove those clients from , put them in , and restart in line 2. Otherwise, we finally check if the supply in the the medium ball is sufficient to satisfy a fraction of the clients in the external ball (line 10); if that is the case we remove all the clients in and put them in , we also remove all the facilities in and restart in line 2. If none of these three conditions holds, we increase to . First, we show that after at most increments (i.e., ), one of three conditions must hold and therefore we will remove some clients from and restart in line 2. Which implies that after a finite number of iterations, the set becomes empty. In particular, We have the following lemma.
Lemma 1
In Procedure 1, after a finite number of iterations, the set becomes empty and is equal to . Moreover, is always less than .
Proof
Fix a client and let . If none of the three conditions (“if” statements) holds then
Therefore, the number of clients grows geometrically when we increase the radius of the balls and by induction, we have that
where , since contains at least the client . Hence, after at most increments, we will reach clients, and must stop by the first condition, and return to line 2. Hence, we always have . Finally since, we remove at least one client at each iteration of the while loop, the set becomes empty after at most iterations, and finally . ∎
Now we are ready to present our static assignment policy for (LP-SCRFL). The following three lemmas show our constructed static assignment for each client in the three subsets . Moreover, we specify the supply used to satisfy each subset of these clients and present the analysis for the assignment cost.
For each client in the set , we know that it belongs to a ball with at least clients. By the feasibility of the optimal solution, this implies that there exists units of supply in “close” to this ball. Hence, we satisfy this client by using the same fraction of (static assignment) while paying a small assignment cost (roughly a constant times the radius of the ball). Since, there are at most clients in each scenario, and each one is using at most , we need to dedicate only one for all clients in . Formally, we have the following lemma.
Lemma 2
There exists a static assignment policy for such that each client in is using at most the supply and has an assignment cost less than , i.e., there exists such that for each :
Proof
Let be a client of . It is sufficient to show that the following minimization problem is feasible and its optimal cost is . Consider
(4) |
Problem (4) must be feasible since the total supply in is greater than the total demand in any scenario, i.e., . Recall that a client in belongs to one of the sets for some and (Lemma 1) such that . Consider a scenario formed by clients from . Let denote the assignment of scenario in the optimal solution. Consider the following candidate solution for (4):
We have, by the feasibility of the optimal solution, for each , and
Therefore, our solution is feasible for (4). Moreover, we have
where the first inequality follows from the triangle inequality and the fact that for all in the optimal solution. For the second inequality, we use the definition of to bound the first term, the second term is bounded by the diameter of the ball which contains client and all clients . ∎
Now, consider the set . By construction, these are clients such that there is not enough supply within a distance to satisfy half of them. Therefore, intuitively they need to pay “large” distances in the optimal assignment cost if they show up all together in the same scenario. In the following lemma, we show that we can have no more than of these clients. As we would show later, this would imply that we can dedicate a supply to and make a static assignment of all the clients to this .
Lemma 3
The set has at most clients.
Proof
Suppose, for the sake of contradiction, that . Let be the disjoint subsets of clients added at each iteration in the construction of in Procedure 1. In particular, for some where:
-
(i)
for for some client and .
-
(ii)
the supply is less than half of the clients in .
-
(iii)
each set has strictly less than clients, since the procedure has to fail the first “if” statement before adding into .
Recall that
where is the current set of facilities in the procedure (and is not all since some facilities have been removed in line 12 of the procedure). However, we would like to emphasize that when a facility has been removed (in line 12 of the procedure), all clients within distance from this facility were removed as well (line 11). This is true, since when we remove the facilities in a medium ball, say , (line 12), we remove all clients in the corresponding external ball (line 11). Hence, the remaining clients in are at least away from the removed facilities. In particular, for the clients , the supply that has been removed before they were added to is at least away from them. Therefore, all the facility in that are within a distance from a client in belong to the set that verifies . This implies that the supply of all facilities within a distance from in the optimal solution, is less than half of the clients . Hence, if all of the clients show up in a scenario, the optimal second-stage solution needs to pay an assignment cost of at least .
Order the sets according to their cardinalities: wlog assume that . We construct a scenario by taking clients from the sets , until we hit . This is possible since by assumption . Assume that
for some , where . Note that is a subset of , since we can reach before taking all the clients of the last set . For each , the optimal second-stage decision needs to pay at least . Therefore,
We did not include , since not all these clients are necessary in the scenario , but only of them. Since has the smallest cardinality
Therefore,
which is a contradiction. Therefore, . ∎
Finally, for clients , we show that there exists units of supply “close” to them. In particular, we can multiply these units by , dedicate them to and make a static assignment for . We have the following lemma.
Lemma 4
There exists a supply that has a cost at most and there exists a static assignment policy such that all clients in are assigned to supply and each client in has an assignment cost that is , i.e., there exists and such that for all :
Proof
Let be the disjoint subsets of clients added at each iteration to construct in Procedure 1. In particular, for some such that: for all for some client and some integer with . Moreover, the supply is greater than a fraction of the clients in . Hence, for each ball , we multiply the supply by , move it to the cheapest facility in this ball and make a static assignment of all clients to this cheapest facility. Since the supply in is removed along with clients , it will not be used by the other clients in .
Formally, let be the cheapest facility in the ball . We define, for each facility in , if and otherwise. For each client , we let for and , and let , otherwise. Therefore, the first desired constraints in the lemma are verified. Let us check the last one. The distance between a client and its assigned facility in our solution is at most plus the diameter of the ball , i.e.,
∎
Proof of Theorem 1.2. Let be the solution given in Lemma 2 for satisfying the clients in . We dedicate a supply to clients . Let and be the solution given in Lemma 4 for satisfying the clients in . Finally, we know from Lemma 3 that has at most clients, and therefore is a scenario. So we dedicate a supply to and let the optimal assignment be our static assignment solution for . In particular, we give the following solution to (LP-SCRFL), where the first stage solution is and the static assignment policy is for all : for , for , and for . It is clear that , for each in . Moreover, for any scenario and ,
Therefore, our solution is feasible for (LP-SCRFL). Let us evaluate its cost. The cost of the first stage is at most . For the second-stage cost, consider any scenario , We have
By balancing the terms and , we choose which gives -approximation to (LP-SCRFL). ∎
Similar to the uncapacitated problem, we can solve (Static-SCRFL) efficiently using a compact linear program. In fact, we dualize the inner maximization problem in the objective function of (Static-SCRFL) in the same way as (2). In addition to that, we reformulate the second constraint in (Static-SCRFL) using the same dualization technique as follows: for each ,
The linear program is given by
(5) | |||||
s.t. | |||||
which can be reduced, after removing the variables , to
(6) | |||||
s.t. | |||||
Finally, we round the optimal solution of (Static-SCRFL) to an integral solution using the filtering and rounding techniques from Shmoys et al. [18] while losing only a factor of 12. Again, this rounding technique was designed for the deterministic facility location problem, but the same argument works as well for (Static-SCRFL). Finally, since (Static-SCRFL) gives -approximation to (LP-SCRFL) and we only loose a constant factor in the rounding, this results in - approximation algorithm for (SCRFL). We state the result in the following theorem and, for completeness, we present the details of the rounding in Appendix 0.B.
Theorem 3.1
(Static-SCRFL) can be rounded to give -approximation algorithm to (SCRFL).
Note that after rounding the supply in our solution of (Static-SCRFL), the integral second-stage assignment for each realized scenario is a transportation problem and therefore its optimal solution is integral. We would like to emphasize that while the fractional assignment in our solution is static, our integral assignment is not necessarily static. In fact, a policy with an integral static assignment could even be bad our model.
4 Conclusion.
In this paper, we give a -approximation for soft-capacitated robust facility location problems with an implicit model of demand uncertainty. It is an interesting open question to study whether there exists a constant approximation algorithm for the problem, even in special cases such as the Euclidean metric. Our solution approach relies on static fractional assignment policies, which we show are optimal for the uncapacitated problem and give a strong theoretical guarantee for soft-capacitated case. Static assignment policies, while reasonable for the case of soft-capacities can be shown to be arbitrarily bad for the case of hard-capacities, where in addition to cost per unit, there is also an upper bound on supply at each facility. It is another interesting open direction to study any non-trivial approximation in this setting.
References
- [1] B. Anthony, V. Goyal, A. Gupta, and V. Nagarajan. A plant location guide for the unsure: Approximation algorithms for min-max location problems. Mathematics of Operations Research, 35(1):79–101, 2010.
- [2] A. Atamtürk and M. Zhang. Two-stage robust network flow and design under demand uncertainty. Operations Research, 55(4):662–673, 2007.
- [3] B. Basciftci, S. Ahmed, and S. Shen. Distributionally robust facility location problem under decision-dependent stochastic demand. arXiv preprint arXiv:1912.05577, 2019.
- [4] M. Charikar, S. Khuller, D. M. Mount, and G. Narasimhan. Algorithms for facility location problems with outliers. In Proceedings of the Twelfth annual ACM-SIAM symposium on Discrete algorithms, pages 642–651, 2001.
- [5] E. Delage and Y. Ye. Distributionally robust optimization under moment uncertainty with application to data-driven problems. Operations research, 58(3):595–612, 2010.
- [6] K. Dhamdhere, V. Goyal, R. Ravi, and M. Singh. How to pay, come what may: approximation algorithms for demand-robust covering problems. In 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS’05), pages 367–376, 2005.
- [7] U. Feige, K. Jain, M. Mahdian, and V. Mirrokni. Robust combinatorial optimization with exponential scenarios. In International Conference on Integer Programming and Combinatorial Optimization, pages 439–453. Springer, 2007.
- [8] S. Guha and S. Khuller. Greedy strikes back: Improved facility location algorithms. Journal of Algorithms, 31(1):228–248, 1999.
- [9] A. Gupta, V. Nagarajan, and R. Ravi. Thresholded covering algorithms for robust and max–min optimization. Mathematical Programming, 146(1-2):583–615, 2014.
- [10] A. Gupta, V. Nagarajan, and R. Ravi. Robust and maxmin optimization under matroid and knapsack uncertainty sets. ACM Transactions on Algorithms (TALG), 12(1):10, 2016.
- [11] A. Gupta, M. Pál, R. Ravi, and A. Sinha. Boosted sampling: approximation algorithms for stochastic optimization. In Proceedings of the Thirty-Sixth annual ACM Symposium on Theory of Computing, pages 417–426, 2004.
- [12] O. E. Housni and V. Goyal. On the optimality of affine policies for budgeted uncertainty sets. arXiv preprint arXiv:1807.00163, 2018.
- [13] N. Immorlica, D. Karger, M. Minkoff, and V. S. Mirrokni. On the costs and benefits of procrastination: Approximation algorithms for stochastic combinatorial optimization problems. In Proceedings of the Fifteenth annual ACM-SIAM symposium on Discrete algorithms, pages 691–700, 2004.
- [14] R. Khandekar, G. Kortsarz, V. Mirrokni, and M. R. Salavatipour. Two-stage robust network design with exponential scenarios. In Proceedings of the 16th annual European Symposium on Algorithms, pages 589–600, 2008.
- [15] A. Linhares and C. Swamy. Approximation algorithms for distributionally-robust stochastic optimization with black-box distributions. In Proceedings of the 51st Annual ACM Symposium on Theory of Computing, pages 768–779, 2019.
- [16] R. Ravi and A. Sinha. Hedging uncertainty: Approximation algorithms for stochastic optimization problems. In International Conference on Integer Programming and Combinatorial Optimization, pages 101–115. Springer, 2004.
- [17] D. B. Shmoys. Approximation algorithms for facility location problems. In Proceedings of the Third International Workshop on Approximation Algorithms for Combinatorial Optimization, pages 27–33, 2000.
- [18] D. B. Shmoys, É. Tardos, and K. Aardal. Approximation algorithms for facility location problems. In Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing, pages 265–274, 1997.
- [19] L. V. Snyder. Facility location under uncertainty: a review. IIE Transactions, 38(7):547–564, 2006.
- [20] C. Swamy and D. B. Shmoys. Approximation algorithms for 2-stage stochastic optimization problems. ACM SIGACT News, 37(1):33–46, 2006.
Appendix 0.A Rounding and proof of Theorem 2.1
Rounding (Shmoys et al.[18]). Recall that is the number of facilities and is the number of clients. Let be an optimal solution for (Static-SCRFL). Let and respectively be the corresponding optimal first-stage and second-stage cost. In particular, . For each client , let
We sort in ascending order. Suppose without loss of generality, that . For each client , we consider the ball centered at the client with radius (where will be defined later). We choose greedily the non-intersecting balls in ascending order of and open the cheapest facility in each selected ball. That is, we consider every client in this sorted order, and only include its ball if it does not intersect any previously selected ball. Each client is assigned to its closest opened facility. For each client ,
Hence,
which implies
Therefore,
By summing over the non-intersecting balls, the cost of our opened facilities is less than . Now let us consider the assignment cost. For client , if its ball is chosen by the greedy procedure above, then the client is assigned to the opened facility in and . If not, the client is assigned to a facility no further away than the one chosen in the ball that intersected . By the triangle inequality:
where and . Hence, for any scenario , the second-stage cost is at most , which is at most . By optimizing over , we take , which results in the 4-approximation with respect to . Moreover, since (Static-URFL) is equivalent to (LP-URFL) and (LP-URFL) is a relaxation of (URFL), the rounding above gives 4-approximation algorithm for (URFL).
Appendix 0.B Rounding and proof of Theorem 3.1
Rounding (Shmoys et al.[18]). Let be an optimal solution of (Static-SCRFL). Let and set . For each client , let be a permutation of facilities that serve in the optimal solution of (Static-SCRFL) such that . Define the radius where . Following the same definitions in Shmoys el al. [18], we say that a solution is -close if for any , implies that .
Claim. Given a feasible solution , we can construct a -close feasible solution such that , and where .
Proof
In fact, for each , we set for and otherwise. We have
The second constraint in (Static-SCRFL) is trivially verified since is multiplied by and are either multiplied by or set to . Moreover, all edges in our solution with a positive flow have a cost at most . Hence, is -close with for all . ∎
Let be the -close solution corresponding to the optimal solution . For the ease of notation, we just use the notation instead of in the rest of the proof. We round-up all to . We pay at most a factor in the first-stage cost. Let us focus on the remaining fractional facilities, say , i.e.,
We let denote the set of clients such that half of their supply is coming from , i.e.,
We sort the clients in in ascending order of and do the following until becomes empty. We take the client with the smallest in , let say . Let
and
We put the units of supply in the cheapest facility in which we denote . We set each in to 0. The clients in are the ones affected by this change. We will route all of their demand from to and make this assignment static. Note that, at this step, we have routed only their demand from and not their entire demand. This is feasible because
for any scenario . Since we choose the clients in in ascending order of , the triangle inequality ensures that the solution is -close. We keep doing this until becomes empty.
Let us analyze the final cost. We lost a factor in both first-stage and second-stage cost. Then, we lost a factor in the first-stage cost by rounding up the solution and moving the supply to the cheapest facilities after each rounding. We lost another factor in the first stage to satisfy . For the second stage, we have a solution that is -close with . Note that
In particular, for any scenario ,
Hence, we loose in the second stage. Overall, the factor is
We set , which gives 12 approximation to (LP-SCRFL). Finally, since (Static-SCRFL) gives -approximation to (LP-SCRFL) and (LP-SCRFL) is a relaxation of (SCRFL), this results in -approximation algorithm for (SCRFL).