Online Primal-Dual Algorithms For Stochastic Resource Allocation Problems
Abstract
This paper studies the online stochastic resource allocation problem (RAP) with chance constraints and conditional expectation constraints. The online RAP is an integer linear programming problem where resource consumption coefficients are revealed column by column along with the corresponding revenue coefficients. When a column is revealed, the corresponding decision variables are determined instantaneously without future information. In online applications, the resource consumption coefficients are often obtained by prediction. An application for such scenario rises from the online order fulfilment task. When the timeliness constraints are considered, the coefficients are generated by the prediction for the transportation time from origin to destination. To model their uncertainties, we take the chance constraints and conditional expectation constraints into the consideration. Assuming that the uncertain variables have known Gaussian distributions, the stochastic RAP can be transformed into a deterministic but nonlinear problem with integer second-order cone constraints. Next, we linearize this nonlinear problem and theoretically analyze the performance of vanilla online primal-dual algorithm for solving the linearized stochastic RAP. Under mild technical assumptions, the optimality gap and constraint violation are both on the order of . Then, to further improve the performance of the algorithm, several modified online primal-dual algorithms with heuristic corrections are proposed. Finally, extensive numerical experiments demonstrate the applicability and effectiveness of our methods.
1 Introduction
1.1 Background
The resource allocation problem (RAP) [2] is to find the best allocation of a fixed amount of resources to various activities, in order to maximize the total revenue. The online RAP has a wide range of applications such as network routing [7], computer resource allocation [19], Internet advertising [24], portfolio selection [14] and so on. This paper studies a multi-dimensional online RAP with uncertainty. There are resources and resource consumption schemes for each request. The request for the resources arrives one by one. When the -th request is revealed, one or none of resource consumption schemes is chosen to satisfy this request. If -th resource consumption scheme is chosen, the revenue and the consumption of the -th resource are and respectively. The decision is irrevocable and has to be decided immediately according to the historical information , without future information. Our aim is to maximize the total revenue with limited resource capacities, given the total number of incoming requests and considering the uncertainty of .
This paper models the uncertainty with chance constraints and conditional expectation constraints. On one hand, a number of studies such as [23, 30, 29, 11] have applied the offline chance constrained resource allocation model into engineering fields. Some of these fields are better suited for applying online models. Taking [23] as an example, Lu et al. studied a offline planning model for selecting non-profit operations in a hospital considering the uncertainty of resource consumption. It is an online problem in practice since the decision must be made immediately when a operation request is arrived. On the other hand, the online chance constrained resource allocation model can be applied to the order fulfillment task, which is an important application in the field of the supply chain. In the order fulfillment problem, each order needs to be allocated to a transportation channel which will be delivered from the origin to the destination [27]. The goal is to maximize the total revenue while ensuring the average transportation time does not suppress the given threshold. We refer this average transportation time constraint as the timeliness constraint. A long delivery time highly impairs the customer’s experience. Consequently, timeliness constraint upper bound are often adopted to guarantee the relatively low average transportation time. Due to the complicacy of the transportation process, the transportation time of each channel is attained by prediction and has uncertainty. As far as we know, this is the first work to take both chance constraints and conditional expectation constraints into the consideration for the online RAP.
1.2 Related Works
The deterministic RAP can be modeled as an integer linear programming (ILP) problem. Many recent papers have studied the online ILP problems (see [25, 21, 1, 13, 10, 3, 12, 20] and references therein). Algorithms in [25, 21, 1, 13, 10, 3, 12, 20] are all dual-based which maintain dual prices in iterations and can achieve near-optimal solutions under mild conditions. When a new request arrives, the decision is made immediately based on the dual price vector. Among these studies, researchers [25, 21, 1, 13, 10] construct dual problems by using historical information and solving them to obtain the dual prices. To deal with the disadvantage that solving dual problems may be time-consuming, researchers [3, 12, 20] propose online primal-dual (OPD) algorithms that update the dual prices by utilizing the dual mirror descent or projected stochastic subgradient descent. It is worth to mention that these OPD algorithms are simple and efficient since the dual prices are updated through algebraic computation without solving optimization problems.
However, the optimization models studied in [25, 21, 1, 13, 10, 12, 18, 20, 3] are deterministic and may suffer from poor performance when the resource consumption is uncertain in practice. In the existing articles that study the uncertain online optimization, the uncertainty is modeled by the worst-case scenario value, expectation, regret, or a linear combination of the above (see [5, 4, 16, 22, 17]). These modeling methods are mainly aimed at the uncertainty in the objective function, while almost no chance constraint or conditional expectation constraint is considered in the existing studies.
Chance constrained programming [8] is a widely used stochastic programming technique to model the uncertainty in constraints. In stochastic programming [28], it is assumed that some parameters are uncertain and their distributions are known. If the uncertain parameters in an active inequality constraint are set to the medians, the probability of this constraint not holding is 50%. To avoid this issue in the online RAP, this paper adopts the chance constraints to model the uncertainty. The chance constraint is the constraint on the uncertain parameters whose holding probability is not lower than the prescribed level. The solution methods for chance constrained programming (CCP) have been studied by [8, 15, 9, 26]. If the uncertain parameters have a known multivariate Gaussian distribution, the chance constrained counterparts of linear constraints can be transformed into deterministic second-order cone (SOC) constraints.
The conditional expectation constraint [26] can be served as a supplement to chance constraints, since the chance constraint does not restrict the amount of the violation of inequality constraints directly. In some cases, the expected amount of violation can be large even if the chance constraints are satisfied. To address this concern, the conditional expectation constraint is also taken into consideration in this paper. Similar to chance constraints, the conditional expectation constraints can also be transformed into deterministic SOC constraints under the assumption of multivariate Gaussian distribution [26].
1.3 Main Contributions
This paper studies the online stochastic RAP considering the uncertainty of resource consumption coefficients. The chance constraint and conditional expectation constraint are used to model the uncertainty and both of them can be transformed into the SOC constraints equivalently. The non-linearity and indecomposability of the SOC constraints make the online problem challenging to handle. The main contributions of this paper are as follows.
-
(1)
To the best of our knowledge, this is the first time chance constraints and conditional expectation constraints are introduced in the online RAP. A linearization method is presented to transform the SOC constrained problem into a linear form suitable for the online solution.
-
(2)
We theoretically analyze the performance of the vanilla OPD algorithm when it is applied to solve the linearized stochastic RAP. Under mild technical assumptions, the expected optimality gap and constraint violation are both .
-
(3)
We propose modified versions of the OPD approach by leveraging the structure of the SOC constraints to effectively reduce the probability deviation of chance constraints and the constraint violation of conditional expectation constraints in practice.
-
(4)
Massive numerical experiments are conducted to demonstrate the applicability and effectiveness of the proposed algorithms.
The rest of this paper is organized as follows. Section 2 formulates the stochastic programming model of RAP and its linear relaxation. Section 3 introduces the proposed heuristic corrections and modified OPD algorithms for solving stochastic RAPs. Section 4 gives the numerical experiment results. Finally in Section 5, conclusions are drawn.
2 Model Description
This section first formulates the deterministic model of the RAP. Then, a stochastic counterpart with chance constraints and conditional expectation constraints is established. Finally, the stochastic programming problem is relaxed into an integer linear problem suitable for online solution.
2.1 Deterministic Problem
Consider the multi-dimensional RAP with requests and resources. For each request, there are always resource consumption schemes that can satisfy it. When a request is revealed, the decision maker chooses one scheme or none. Without loss of generality, a deterministic multi-dimensional RAP can be modeled as follows:
(1) | ||||
where the revenue coefficient vector , and the resource consumption vector . The decision variables are . means that -th request is satisfied by resource consumption scheme . is the capacity of resource . denotes all-one vector. In the online setting of ILP, the input data is revealed one by one and is determined instantaneously when is revealed.
Throughout this paper, we assume that the input data of deterministic problem and stochastic programming problem is drawn i.i.d. from some distributions. Moreover, and are assumed to be known and fixed.
2.2 Stochastic Programming Problem
In practice, the value of may be obtained by predicting that yields the uncertainty. Consequently, taken the uncertainty of into consideration, we formulate the following chance constraints:
(2) |
where means probability, is the given confidence level and is the distribution of .
The constraints (2) only restrict the probability of violating inequality and do not restrict the amount of violation directly. To address this issue, the conditional expectation constraints (3) are also considered in this paper which can limit the expected violation of these inequality constraints.
(3) |
where denotes expectation and is the given parameter. This paper assumes that the expectation in (3) always exists.
Replacing the deterministic constraints in (1) by the chance constraints (2) and conditional expectation constraints (3), we formulate the following stochastic programming problem:
(4) | ||||
For convenience, we refer to the problem (4) as a CCP problem throughout this paper, thought (3) are not standard chance constraints.
2.3 Equivalent Transformation
In the online setting of the CCP problem (4), the revenue vector and the distributions of the resource consumption vectors are revealed one by one. For any and , we assume that which means the true value of belongs to a known Gaussian distribution with mean and covariance matrix . In the following, we will reformulate (4) into a deterministic problem.
First is to reformulate the chance constraints (2). According to the properties of Gaussian distribution, we have that , . Thus, the constraints (2) are equivalent to the following constraints [15]:
(5) |
where represents the cumulative distribution function of the standard Gaussian distribution.
Next is to reformulate the conditional expectation constraints (3). The value of the conditional expectation is related to the variance , which makes the parameter difficult to quantify. As an alternative, we replace with the normalized value that equals to . Specifically, the constraint (3) is rewritten as
(6) |
According to [26], the constraints (6) are equivalent to
(7) |
where the function has the form111In [26], in is left out which is a typo.
(8) |
Under the assumption of Gaussian distribution, the constraints (5) and (7) have the same formulations and the only difference lies on the coefficient of . Consequently, when both (5) and (7) exist, we can merge them into the following constraint,
(9) |
where . When or , .
Substituting (9) into (4), the CCP problem (4) is equivalent to the following deterministic problem:
(10) | ||||
The problem (10) is an integer SOC programming (ISOCP) problem when . The offline version of (10) can be solved by commercial solvers such as Gurobi. However, in the online setting, it is difficult to solve problem (10) due to its indecomposability: with different subscripts are coupled with each other in . In other words, calculating the individual constraint consumption at each time step is challenging. Moreover, we make the following assumption throughout this paper.
Assumption 1.
We assume
-
(a)
The coefficient set ’s are i.i.d. sampled from an unknown distribution .
-
(b)
The coefficient set ’s are bounded.
-
(c)
The right-hand-side . is bounded and its upper and lower bounds are both positive.
2.4 Relaxed Linear Problem
To begin, we provide the following proposition.
Proposition 1.
For arbitrary and , the following equation holds.
where is formed by concatenating the square roots of the diagonal elements of the matrix .
Proof.
See A. ∎
To address the non-decomposable issue raised by the non-linearity of , we linearize this term to decouple different . Specifically, according to Cauchy-Schwarz inequality and Proposition 1, the nonlinear and non-decomposable problem (10) can be approximated by
(11) | ||||
It is worth to mention that the relaxed problem (11) is an integer LP (ILP) problem which is linear and decomposable, and can be solved in the online setting by existing algorithms. The vanilla OPD algorithm for solving this relaxed problem is the basis of our algorithms for solving the CCP problem (10) and we will detail it in the following section.
3 Solution Algorithms
In this section, we introduce several online primal-dual methods to handle the online SOC constrained problem (10). Firstly, we revisit the state-of-the-art OPD algorithm for solving the relaxed problem (11). Then, some heuristic correction methods based on the structure of (10) are proposed to improve the practical performance.
3.1 OPD Algorithm for online ILP
Recall that (11) is an ILP problem and Li et al. [20] have proposed an effective OPD algorithm to solve the online ILP problem. For simplicity, denote and we present the OPD method as shown in Algorithm 1.
In Algorithm 1, we denote , and . Algorithm 1 is a dual-based algorithm which maintains a dual vector . In each round , and are revealed. Then, is determined immediately by choosing that maximizes , where and is the unit vector with -th coordinate being . After determining , is updated by a projected stochastic subgradient descent method where is the subgradient corresponding to . Li et al. [20] have shown that Algorithm 1 provides a near-optimal solution of the problem (12) that is the linear relaxation of (11), as stated in Theorem 1.
(12) | ||||
Theorem 1 (Theorem 3 in [20]).
Theorem 1 states the upper bound of the expected optimality gap and the expected constraint violation, which are both . Then, we provide the lower bound of the expected optimality gap in the following theorem.
Theorem 2.
Proof.
See B. ∎
Next, we will analysis the performance of Algorithm 1 compared to the optimal solution of the ISOCP problem (10). The linear relaxation of the ISOCP problem (10) is
(16) | ||||
where the binary variables are relaxed into continuous variables on . The optimal objective values of the ISOCP problem (10) and SOCP problem (16) are referred to as and , respectively. Then, we establish the optimality gap between the LP problem (12) and SOCP problem (16), and the constraint violation in the following lemma.
Lemma 1.
Proof.
See C. ∎
As shown in Lemma 1, both the optimal gap and the constraint violation between the LP problem (12) and SOCP problem (16) are . Then, putting Theorem 1, Theorem 2, and Lemma 1 together, we can obtain that the expected optimality gap and constraint violation compared to the optimal solution of the SOCP problem (16) in Theorem 3.
Theorem 3.
Proof.
See D. ∎
Moreover, inequality holds due to the fact that the SOCP problem (16) is the linear relaxation of the ISOCP problem (10). Thus, Algorithm 1 achieves regret and constraint violation compared to the optimal solution of the ISOCP problem (10) as stated in Theorem 4.
Theorem 4.
3.2 Modified OPD Algorithms for Online CCP
Although Algorithm 1 has been able to obtain a near-optimal solution of the ISOCP problem (10) according to Theorem 4, its practical performance can be further improved by narrowing the gap between the solutions generated by Algorithm 1 and the offline ISOCP (10). To be specific, this gap mainly comes from the following two points:
- (a)
-
(b)
The error between the online solution and offline solution of the ILP problem (11).
To address these issues, we propose two modified OPD algorithms (Algorithms 2 and 3) to solve the online CCP problem (10). In Algorithm 2, a heuristic correction is applied to correct the error (a). For the -th constraint, we introduce scale factors
(23) |
to reduce the gap between and . Intuitively speaking, recalling that in section 2.4 we utilize Cauchy-Schwarz inequality to linearize the non-decomposable problem (10), equation (23) can be regarded as the empirical correction for the non-decomposable term with the linear term .
Define
(24) |
(25) |
As shown in Algorithm 2, is used in place of . That is, we use the expression to approximate . In round , is calculated according to (23) which is based on the historical decisions and will be used in the next iteration for correction. It is worth noting that is calculated in each round and can be computed incrementally with low computational cost.
In the numerical experiments section 4, it is illustrated that Algorithm 2 has better performance than Algorithm 1 in terms of the constraint violation. An intuitive explanation is that Algorithm 2 is more inclined to reject the orders with high uncertainty of resource consumption (i.e., ) than Algorithm 1 because .
Next, we will propose another algorithm to correct the error (b). The error (b) consists of two parts, the optimality gap and constraint violation. In most cases, compared with the optimality gap, the CCP problems have a lower tolerance for the constraint violation, since the constraint violation will cause the probability
(26) |
or the conditional expectations
(27) |
to deviate from their set values. For instance, if the confidence level of a chance constraint is set to 90% but the actual confidence level of the online solution is 60%, this online solution is unacceptable.
For the online LP problem, Li et al. [20] have proposed a variant of the OPD algorithm that can reduce the amount of the constraint violation in practice. It is a non-stationary algorithm in which the resource consumption is considered while doing the subgradient descent. Specifically, instead of using the static average consumption , the time-varying calculated by the formula (28) is utilized in Line 9 of Algorithm 1.
(28) |
Inspired by the above non-stationary method, we propose the following formula to dynamically adjust the right-hand-side capacity in each round:
(29) |
where
is an estimation of the resource assumption at period .
Then, we obtain Algorithm 3 by merging the correction formula (29) into Algorithm 2. The intuition behind the correction formula (29) is given as follows: if too many resources are spent in the early rounds, the remaining resources will diminish. Then Algorithm 3 will raise the dual price and be more likely to reject an order with high resource consumption as a result. On the other hand, if a large number of orders with high resource consumption are rejected at the start, resulting in an excess of remaining resources, Algorithm 3 will decrease the dual price in order to accept more orders in the future. This correction strategy makes Algorithm 3 perform better than Algorithms 1 and 2 in numerical experiments.
4 Numerical Experiments
In this section, we present extensive numerical experiments to verify our algorithms. Several metrics are used to measure the performance of algorithms. In one trial, the calculation formula of these metrics are given as follows. is the output of algorithms.
1) Probability deviation:
(30) |
where is the output of the algorithms.
2) Optimality gap:
(31) |
The exact optimality gap should be calculated with . For ease of calculation, the offline optimal objective value is approximated by . Noting that , the real optimality gap is upper bounded by the value of (31).
3) Competitive ratio:
(32) |
4) Normalized constraint violation of conditional expectation constraints:
(33) |
where
(34) |
5) Constraint violation of conditional expectation constraints:
(35) |
where
4.1 CCP Problem with Chance Constraints (2) Only
In the first subsection, we apply the proposed algorithms to the classic CCP problem which does not contain the conditional expectation constraints (3). Algorithm 1, Algorithm 2, Algorithm 3 and Algorithm 3 without correction (23) are compared in terms of optimality gap and probability deviation. These algorithms are implemented on two different models. Table 1 lists the distributions from which the elements in , or are i.i.d. sampled. denotes and . The uniform distribution is bounded while the chi-square distribution is unbounded. In other words, the CCP problems in Experiment I satisfy Assumption 1 but the CCP problems in Experiment II do not.
Experiment | ||||
I | U[0, 1] | U[0, 4] | 1 | |
II | 1 |
4.1.1 Bounded Setting
In Experiment I, we set and . The confidence levels of chance constraints are set to (0.65, 0.75, 0.85, 0.95). For each value of , we run 20 simulation trials. In each trial, coefficients , and are resampled. All metrics are averaged over all trials.
(a) optimality gap
(b) probability deviation
Figure 1 shows the average optimality gap and probability deviation over all the simulation trials. From Figure 1, we observe that the optimality gaps of these algorithms are very close, Algorithm 3 has the smallest probability deviation and Algorithm 1 has the largest probability deviation when . For all , Algorithm 3 has all probability deviations less than 1%. Figure 1 (a) also shows that the optimality gaps of these four algorithms are on the order of and verifies Theorem 3. Figure 2 presents the probability deviations of each chance constraint of these four algorithms. For each chance constraint, the probability deviation of Algorithm 3 is the smallest among the four algorithms when . Figure 1 (b) and Figure 2 both illustrate that the proposed two corrections (23) and (29) can effectively reduce the probability deviation with minor negative effects on the optimality gap.
4.1.2 Unbounded Setting
In Experiment II, and are still set to 5 and 4. The confidence levels are also the same as those in Experiment I. For each value of , we run 20 simulation trials. In each trial, coefficients , and are i.i.d. sampled from the chi-square distributions which are unbounded.
(a) optimality gap
(b) probability deviation
Figure 3 shows the average optimality gap and probability deviation, and Figure 4 shows the detailed probability deviations of each chance constraint. The results of Experiment II are similar to those of Experiment I: Algorithm 3 has the smallest probability deviation, whereas Algorithm 1 has the largest probability deviation. Experiment II again verifies that corrections (23) and (29) can effectively reduce the probability deviation. Despite the fact that Algorithm 3 produces slightly larger optimality gap, its optimality gap is still approximately on the order of . In this experiment with unbounded input, Algorithm 3 significantly reduces the probability deviations: the probability deviations of the algorithms except Algorithm 3 are larger than 10%, while the probability deviation of Algorithm 3 is less than 1%.
Experiment | Number of requests | |||||
2500 | 5000 | 7500 | 10000 | 12500 | 15000 | |
I | 95.90% | 97.13% | 97.69% | 97.94% | 98.14% | 98.38% |
II | 98.67% | 99.09% | 99.27% | 99.32% | 99.42% | 99.48% |
The competitive ratios of Algorithm 2 in Experiment I and II are larger than 95%, with details provided in Table 2.
4.2 CCP Problem with Conditional Expectation Constraints (3) Only
In this subsection, we apply the proposed algorithms to the CCP problem with only conditional expectation constraints and compare the performance in terms of the normalized constraint violation and the constraint violation. The input data are the same as these in Section 4.1. The parameters and are also set to 5 and 4, and in four conditional expectation constraints are set to 0.2, 0.3, 0.4 and 0.5, respectively. The scale of matches the standard normal distribution: 0.2, 0.3, 0.4 and 0.5 correspond to 0.2, 0.3, 0.4 and 0.5 times the standard deviation, respectively.
(a) normalized constraint violation
(b) constraint violation
(a) normalized constraint violation
(b) constraint violation
Figure 6 and Figure 6 show the normalized constraint violation and constraint violation of four algorithms in the cases with uniform and chi-square inputs. In both scenarios, Algorithm 3 has the smallest normalized constraint violation and constraint violation while Algorithm 1 has the largest violations. It is verified that the proposed corrections can effectively reduce the violation of conditional expectation constraints. Moreover, these experimental results show that the constraint violation of four algorithms in both cases is on the order of . This order is the same as stated in Theorem 3. Note that Theorem 3 only analyzes the performance of Algorithm 1 and its analysis relies on the boundedness assumption of the input. The theoretical analysis of conditional expectation constraints is still an open question.
5 Conclusion
In this paper, we study the online stochastic RAP with chance constraints and conditional expectation constraints under mild assumptions. First, we present a linearization method that decouples the non-linear term in second-order cone constraints and makes the online solution possible. Next, we theoretically analyze the performance of the vanilla OPD algorithm compared with the offline solution of the stochastic RAP. Assuming the input data is bounded and i.i.d. sampled, the expected optimality gap and constraint violation are both . After that, we propose modified OPD algorithms with several heuristic corrections to reduce the probability derivation and constraint violation. Numerical results verify the effectiveness of proposed heuristics and reveal that the probability derivation and constraint violation of the proposed Algorithm 3 is very small. Additionally, numerical results confirm that Algorithm 3 can output a near-optimal solution with small regret. In conclusion, the proposed Algorithm 3 is suitable for solving online CCP and can be applied to engineering applications such as online order fulfillment.
References
- [1] Shipra Agrawal, Zizhuo Wang, and Yinyu Ye. A dynamic near-optimal algorithm for online linear programming. Operations Research, 62(4):876–890, 2014.
- [2] Arash Asadpour, Xuan Wang, and Jiawei Zhang. Online resource allocation with limited flexibility. Management Science, 66(2):642–666, 2020.
- [3] Santiago Balseiro, Haihao Lu, and Vahab Mirrokni. The best of many worlds: Dual mirror descent for online allocation problems. arXiv preprint arXiv:2011.10124, 2020.
- [4] Russell Bent and Pascal Van Hentenryck. Online stochastic optimization without distributions. In Proceedings of the Fifteenth International Conference on International Conference on Automated Planning and Scheduling, pages 171–180. AAAI Press, 2005.
- [5] Russell Bent and Pascal Van Hentenryck. Online stochastic and robust optimization. In Annual Asian Computing Science Conference, pages 286–300. Springer, 2004.
- [6] Stephen Boyd and Lieven Vandenberghe. Convex Optimization, pages 237–238. Cambridge University Press, 2004.
- [7] Niv Buchbinder and Joseph Naor. Online primal-dual algorithms for covering and packing. Mathematics of Operations Research, 34(2):270–286, 2009.
- [8] Abraham Charnes and William W Cooper. Chance-constrained programming. Management Science, 6(1):73–79, 1959.
- [9] Abraham Charnes and William W Cooper. Deterministic equivalents for optimizing and satisficing under chance constraints. Operations Research, 11(1):18–39, 1963.
- [10] Xiao Alison Chen and Zizhuo Wang. A dynamic learning algorithm for online matching problems with concave returns. European Journal of Operational Research, 247(2):379–388, 2015.
- [11] William W Cooper, Honghui Deng, Zhimin Huang, and Susan X Li. Chance constrained programming approaches to congestion in stochastic data envelopment analysis. European Journal of Operational Research, 155(2):487–501, 2004.
- [12] Wenzhi Gao, Chunlin Sun, Yuyang Ye, and Yinyu Ye. Boosting method in approximately solving linear programming with fast online algorithm. arXiv preprint arXiv:2107.03570, 2021.
- [13] Anupam Gupta and Marco Molinaro. How experts can solve lps online. In European Symposium on Algorithms, pages 517–529. Springer, 2014.
- [14] Masaaki Ida. Portfolio selection problem with interval coefficients. Applied Mathematics Letters, 16(5):709–713, 2003.
- [15] Raj Jagannathan. Chance-constrained programming with joint constraints. Operations Research, 22(2):358–372, 1974.
- [16] Jiashuo Jiang, Xiaocheng Li, and Jiawei Zhang. Online stochastic optimization with wasserstein based non-stationarity. arXiv preprint arXiv:2012.06961, 2020.
- [17] Jiashuo Jiang and Jiawei Zhang. Online resource allocation with stochastic resource consumption. arXiv preprint arXiv:2012.07933, 2020.
- [18] Thomas Kesselheim, Andreas Tönnis, Klaus Radke, and Berthold Vöcking. Primal beats dual on online packing lps in the random-order model. In Proceedings of the forty-sixth annual ACM Symposium on Theory of Computing, pages 303–312, 2014.
- [19] James F. Kurose and Rahul Simha. A microeconomic approach to optimal resource allocation in distributed computer systems. IEEE Transactions on Computers, 38(5):705–717, 1989.
- [20] Xiaocheng Li, Chunlin Sun, and Yinyu Ye. Simple and fast algorithm for binary integer and online linear programming. In Advances in Neural Information Processing Systems, pages 9412–9421, 2020.
- [21] Xiaocheng Li and Yinyu Ye. Online linear programming: Dual convergence, new algorithms, and regret bounds. Operations Research, 2021.
- [22] Jialin Liu, Yuantao Gu, and Mengdi Wang. Averaging random projection: A fast online solution for large-scale constrained stochastic optimization. In IEEE ICASSP, pages 3586–3590. IEEE, 2015.
- [23] Mengshi Lu, Hideaki Nakao, Siqian Shen, and Lin Zhao. Non-profit resource allocation and service scheduling with cross-subsidization and uncertain resource consumptions. Omega, 99:102191, 2021.
- [24] Aranyak Mehta, Amin Saberi, Umesh Vazirani, and Vijay Vazirani. Adwords and generalized online matching. Journal of the ACM (JACM), 54(5):22–es, 2007.
- [25] Marco Molinaro and Ramamoorthi Ravi. The geometry of online packing linear programs. Mathematics of Operations Research, 39(1):46–59, 2014.
- [26] Andras Prekopa. Contributions to the theory of stochastic programming. Mathematical Programming, 4(1):202–221, 1973.
- [27] Fred Ricker and Ravi Kalakota. Order fulfillment: the hidden key to e-commerce success. Supply chain management review, 11(3):60–70, 1999.
- [28] Andrzej Ruszczyński and Alexander Shapiro. Stochastic programming models. Handbooks in Operations Research and Management Science, 10:1–64, 2003.
- [29] Lei Xu and Arumugam Nallanathan. Energy-efficient chance-constrained resource allocation for multicast cognitive ofdm network. IEEE Journal on Selected Areas in Communications, 34(5):1298–1306, 2016.
- [30] Yujie Zhang and Shaowei Wang. Resource allocation for femtocell networks by using chance-constrained optimization. In IEEE WCNC, pages 1805–1810. IEEE, 2015.
Appendix A Proof of Proposition 1
First, = , where is the unit vector with -th coordinate being 1.
Then, for all , we have
(36) |
where is -th diagonal element of the matrix and .
Hence, Proposition 1 holds.
Appendix B Proof of Theorem 2
In this section, we denote the output of Algorithm 1 as to distinguish it from the decision variables .
First, we present the following proposition.
Proof.
Proof of Theorem 2
Appendix C Proof of Lemma 1
Consider the dual problem of the SOCP problem (16):
(41) |
The optimal value of has the following property.
Proposition 3.
Proof.
Use to denote the value of dual function
(43) |
and use to denote the value of Lagrangian function
(44) |
We only need to prove . If , then
(45) | ||||
which contradicts that is the optimal solution of the dual problem (41) that is .
Hence, . Evidently, . ∎
Proof of Lemma 1
Proof.
(a) For the optimality gap, . Specifically,
(46) | ||||
Next is to prove . We have
(47) | ||||
where , is the upper bound of the diagonal elements of , and is the optimal solution of the dual problem of (12). In (C), the second inequality comes from Proposition 1, Proposition 3 and the boundedness of . The third inequality is valid because the dual problem
(48) |
achieves its minimum value when .
(b) For the resource consumption gap, we have
(50) | ||||
Hence,
(51) |
holds for all . ∎