A Class of Continuous Separable Nonlinear Multidimensional Knapsack Problems
Vol.08No.04(2018), Article ID:85777,15 pages
10.4236/ajor.2018.84015
Bin Zhang1, Zhe Lin1, Yu Wang2
1Lingnan College, Sun Yat-sen University, Guangzhou, China
2School of Economic and Business Administration, Chongqing University, Chongqing, China
Copyright © 2018 by authors and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).
http://creativecommons.org/licenses/by/4.0/
Received: May 11, 2018; Accepted: June 29, 2018; Published: July 2, 2018
ABSTRACT
The nonlinear multidimensional knapsack problem is defined as the minimization of a convex function with multiple linear constraints. The methods developed for nonlinear multidimensional programming problems are often applied to solve the nonlinear multidimensional knapsack problems, but they are inefficient or limited since most of them do not exploit the characteristics of the knapsack problems. In this paper, by establishing structural properties of the continuous separable nonlinear multidimensional knapsack problem, we develop a multi-tier binary solution method for solving the continuous nonlinear multidimensional knapsack problems with general structure. The computational complexity is polynomial in the number of variables. We presented two examples to illustrate the general application of our method and we used statistical results to show the effectiveness of our method.
Keywords:
Nonlinear Programming, Convex Programming, Multidimensional Knapsack, Separable Knapsack, Lagrangian Relaxation
1. Introduction
The nonlinear multidimensional knapsack problem is defined as minimizing a convex function with multiple linear constraints. The nonlinear knapsack problem is a class of nonlinear programming, and some methods designed for nonlinear programming can be applied for solving the nonlinear multidimensional knapsack problems. The general nonlinear programming problems have been intensively studied in the last decades, and some different methods have been developed, such as Newton method [1] [2] [3], branch and bound method [4] [5], interior point method [6] [7], sequential quadratic programming method [8] [9] and the filter method [10] [11]. These methods are designed for nonlinear programming problems, and some of them are inefficient or limited for solving the nonlinear knapsack problems since they do not consider the characteristics of the knapsack problems.
Generally, it is much faster and more reliable to solve knapsack problems with specialized methods than with standard methods [12]. Many researchers studied the solution methods for the nonlinear knapsack problems based on the specialized knapsack structures. Most of the research studied the problems with single constraint. Two basic specialized methods are mainly applied for solving the single-constraint nonlinear knapsack problem. One is the multiplier search method [13], and another is the pegging method [14] [15]. Recently, some new methods are proposed for efficiently solving the single-constraint nonlinear knapsack problem. Zhang and Hua developed a united method for solving a class of continuous separable nonlinear knapsack problems [16]. Kiwiel developed the breakpoint searching method for the continuous quadratic knapsack problem [17]. Sharkey et al. studied a general class of nonlinear non-separable continuous knapsack problem [18].
Most research of nonlinear knapsack problems studied the one-dimensional problems with continuous or integer variables, and the proposed methods cannot be directly extended for solving multi-dimensional problems. Some researchers attempted to solve multi-dimensional problems with integer-valued variables. Morin and Marsten firstly studied the nonlinear multidimensional knapsack problems and developed the imbedded state space approach [19]. Some researchers investigate the efficiency of other methods, such as smart greedy method [20], cut method [21] [22], branch and bound method [23] and branch and cut method [24]. Other research studied different applications of multidimensional knapsack, e.g., multi-product newsvendor problems with multiple constraints [10] [25] [26] [27]. The continuous separable nonlinear multidimensional knapsack problems with general structure have not been well studied due to its complexity, and the specialized methods are very limited.
This paper establishes some structural properties of the continuous separable nonlinear multidimensional knapsack problem, and develops a multi-tier binary solution method for solving a class of continuous nonlinear multidimensional knapsack problems with general structure. The computational complexity is polynomial in the number of variables. We presented two examples to illustrate the application of our method, and the statistical study with the randomly generated instances for different problem sizes are reported to show the effectiveness of our method.
The paper is organized as follows. In Section 2, the nonlinear multidimensional knapsack problem is described. Section 3 studies the structural properties of the problem, and develops the algorithm. Section 4 presents the illustrative examples and the statistical results. Finally, the concluding remarks are given in Section 5. All proofs are listed in Appendix.
2. Problem Formulation
The continuous separable nonlinear multidimensional knapsack problem studied in this paper is as follows (denoted as problem P):
, (1)
Subject to
(2)
. (3)
The notation used in this paper is listed in Table 1.
In problem P, all objective functions are convex and differentiable, the unit resource coefficient for all , the resource constraints for all , and the lower and upper bounds satisfy for all .
Since the objective functions and the feasible domain in problem P are all convex, the optimality condition for problem P can be characterized using KKT conditions. Let , , be the Lagrange multiplier vector for the constraints given in Equation (2), and , , , be the Lagrange multiplier vectors for the constraints in Equation (3). Thus, the Lagrange function for problem P can be written as:
. (4)
Table 1. Notation.
Let , . The KKT conditions for problem P can be summarized as the following proposition.
Proposition 1: The KKT conditions for problem P are:
(5)
(6)
(7)
Since is convex in , is an increasing function of . Let be the point that satisfies if and . If , we let . If , we set . Then is the optimal solution to the objective function in Equation (1) without any constraint. We summarize it as
(8)
3. Structural Properties and Solution Method
In this section, we first investigate the structural properties of the optimal solution to problem P. Then we develop a solution method based on the structural properties for solving problem P.
3.1. Structural Properties
We denote by problem PR the knapsack relaxation problem from problem P, in which the constraints in Equation (2) are relaxed. This implies that we do not consider Equation (2) in problem PR. By analyzing the solution to problem PR, we can find the way to construct the solution to problem P. We let ( ) be the optimal solution to problem PR, then ( ) has the following property.
Proposition 2: The optimal solution to problem PR is .
If holds for some , then the corresponding constraints in problem P are inactive, which can be removed from problem P. In the following, without loss of generality, we assume that for all . The KKT conditions in Equation (7) are met at either , or . The condition implies that there is enough resource j at the optimal solution, and hence the j-th constraint is inactive.
means that the j-th constraint is active, and knapsack space of the j-th constraint must be fully utilized at the optimal solution.
We denote by the optimal solution to problem P and the corresponding Lagrange multiplier vector. Let be a solution of the KKT conditions in Equation (5) and Equation (6). We denote by , then we have the following proposition.
Proposition 3. (a) , .
(b) If satisfies or , , then we have .
For any given , we let and be the optimal so-
lution of Equations (5) and (6) and , . For
ease of exposition, we denote problem P as , where is the objective function vector. Problem with , , is an constraint problem with the objective function and the first knapsack constraints of problem P.
By analyzing the structural properties of and , we can prove the following proposition.
Proposition 4. (a) If satisfies or , then we have .
(b) is the optimal solution to problem with , .
From Proposition 4(a), we know that the optimal solution to problem is obtained in two possible cases: 1) , which means
that the constraint is not binding and it can be removed
from problem . Therefore, can be obtained by solving problem , which has the same structure as problem ; 2)
, which implies that is an active constraint, and the optimal solution must be obtained at with .
Since problem can be solved by solving problem in the case of . In the following, we study the case of . Proposition 4(b) indicates that problem determines the optimal values of and , . For any , the resource constraints could be active or inactive, and the N decision variables could take bound values or non-bound values.
If , , constraint j will be active, thus we denote by the active constraint set for the given . Note that includes at least one active constraint for the case of .
From Equation (5), we know if , , and if , . For the given , we define the non-bound variable set , and lower and upper bound variable sets and as
, (9)
, (10)
. (11)
Let , , , and . For the given , without changing the orders of indices j and i, we re-index the constraints in the active constraint set as , and we re-index the variables in the non-bound variable set as , and re-index the variables in and as , and , respectively. As a result, constraint M in the original problem is re-indexed as constraint m, and is also restated as .
We define , , and substitute
into , then we have
, (12)
Taking the derivative of Equation (12), we get
, (13)
where .
Since , are differentiable convex, we know is increasing and . Note that has the same structure as . So we define
,
, and , , then Equation (13) can be rewritten in matrix form:
(14)
In order to solve , , from Equation (14), we further define
, (15)
and denote by , the m-1 dimensional determinant in which the j column of is replaced by . We have the following formula from Equation (14) and Equation (15):
. (16)
Notice that the above results have similar structures as the results in Zhang [27]. Using the similar way, we can prove that
. (17)
Since constraint M in the original problem is re-indexed as constraint m, and is also restated as , then is equivalent to in problem P with the original index, thus we know that is a decreasing in .
Therefore, there are three possible cases: 1) When , we get the optimal solution to problem by solving problem ; 2) If and , we obtain the optimal solution to problem by setting ; 3) When and , we can solve problem by studying problem , with .
3.2. Solution Method
According to Proposition 2, we can solve by searching the optimal value of . Before presenting the solution method, we first study the bounds for . The lower bound for is 0, and the upper bound for is given in the following proposition.
Proposition 5. The upper bound of is .
From Proposition 4, we get the optimal value of if the optimal solution to problem satisfies
.
Since is decreasing in , the optimal solution can be found by applying the binary search over . Since Problem has the same structure as problem , we can use a multi-tier binary search method to solve problem P. Main steps of the multi-tier binary search method are given in Algorithm 1.
Algorithm 1:
Step 1: If , then let , stop;
Step 2: Let , ;
Step 3: Let ;
Step 4: If , then let and , stop;
Step 5: If , then let ;
If , then let
Step 6: If , then let , go to Step 3;
If , then let , go to Step 3;
Step 7: Let and , stop.
In the algorithm, we first solve the unconstrained problem with bounded variables (Step 1) to obtain . If the constraints are active, we apply the binary search procedure (Step 2 - 7) over interval to determine . If either or , the binary search procedure terminates. If is not binding, then the iterating process will end in Step 4 with . Therefore, we can get the optimal solution by solving problem . If the constraint is active, the so-
lution procedure will stop at Step 7 with . Step 5 derives
by solving problem with for the given . If , problem has no knapsack
constraint, and hence we have . If
, we can solve the problem recursively. Problem has the same structure as problem , and hence the algorithm can call itself recursively to solve the problem .
The algorithm is a recursive algorithm with M tiers of binary search loop. The computational complexity of M-tier binary search procedure is , where is the error target for the binary search. The computational complexity of the last recursive step is . Therefore, the proposed algorithm has the computational complexity , which is polynomial in the number of decision variables N.
4. Numerical Study
The solution method developed in this paper can be used for solving the continuous nonlinear multidimensional knapsack problems with general structure, so many application problems with different objective functions summarized in Zhang and Hua with multiple constraints can be used to show the application of our method [16].
In our numerical study, we first show the application of our method using two examples: quadratic multidimensional knapsack problem (QMK) and the production planning problem presented in Bretthauer and Shetty [12]. Then we use the statistical study to show the efficiency of our method. All computational experiments are conducted on a laptop (dual processor 2.00 GHz, memory 2.96G) with Matlab R2011a.
4.1. The Illustrative Examples
The first illustrative example is a separable quadratic knapsack problem. We set the objective function as , . It has two resource constraints: C1 = 12,000 and C2 = 10,000. Table 2 gives the relevant information for this example. is the optimal solution obtained by applying our algorithm. To show the efficiency of our method, we plot the values of and in the iteration process for solving the example in Figure 1. Figure 1 shows our algorithm can solve the problem within very limited iterations.
In the second example, we solve the production planning problem in Bretthauer and Shetty [12]. The objective function was set as
,
. There are three resource constraints: C1 = 200, C2 = 300, and C3 = 500. We use the same parameters used in Bretthauer and Shetty [12]. The relevant
Table 2. Parameters and solution for the first example.
Figure 1. in the iteration process for solving the first example.
information for this example is listed in Table 3. is the optimal solution obtained by applying our algorithm.
4.2. The Statistical Results
In this subsection, we present two numerical experiments to show the effectiveness of our method for solving problems with different scale and objective functions. In the first experiment, parameters of the QMK problems are all randomly generated. We use the notation to denote that z is uniformly generated over . The parameters of QMK instances are generated as follows: , , , , and , for .
In this experiment, we set problems with different sizes, respectively with M = 4 and N = 10, M = 2 and N = 100, M = 3 and N = 100, M = 2 and N = 1000. For each problem size, 50 test instances are randomly generated. The statistical results on number of iterations and computation time (in seconds) are reported in Table 4.
In the Second experiment, we solve the production planning problem with randomly generated parameters. The parameters of the instances are generated as follows: , , , , and , for .
In this experiment, we set problems with different sizes, respectively with M = 4 and N = 10, M = 2 and N = 100, M = 3 and N = 100, M = 2 and N = 1000. For each problem size, we randomly generated 50 test instances. The statistical results on number of iterations and computation time (in seconds) are presented in Table 5.
From Table 4 and Table 5, we observe that the standard deviations of number of iterations and computation times are quite low. It implies that our method is quite effective with different objective functions. We also observe that the
Table 3. Parameters and solutions for the second example.
Table 4. Statistical results for randomly generated QMK problems.
Table 5. Statistical results for randomly generated production planning problems.
computation time is more sensitive to the number of the resource constraints rather than the number of variables. Since the application problems often have much more variables than knapsack constraints, our algorithm is useful in practice.
5. Conclusions
In this paper, we study a class of continuous separable nonlinear multidimensional knapsack problems. By analyzing the structural properties of the optimal solution, we develop a multi-tier binary solution method. The proposed method has following advantages. 1) It is applicable for solving the nonlinear multidimensional knapsack problems with general structure. 2) It has computational complexity of polynomial in the number of variables.
This research can be further extended in several ways. One is to study non-separable multidimensional knapsack problems using the similar idea. Another way is to develop exact solution methods or heuristics for solving the integer multidimensional knapsack problems based on our method. Finally, the idea used in this study can be extended for investigating other complex optimization problems with multiple constraints.
Acknowledgements
This work is supported by National Natural Science Foundation of China (Grants No. 71672199).
Cite this paper
Zhang, B., Lin, Z. and Wang, Y. (2018) A Class of Continuous Separable Nonlinear Multidimensional Knapsack Problems. American Journal of Operations Research, 8, 266-280. https://doi.org/10.4236/ajor.2018.84015
References
- 1. Bonnans, J.F. (1994) Local Analysis of Newton-Type Methods for Variational Inequalities and Nonlinear Programming. Applied Mathematics and Optimization, 29, 161-186. https://doi.org/10.1007/BF01204181
- 2. Coleman, T.F. and Li, Y. (1994) On the Convergence of Interior-Reflective Newton Methods for Nonlinear Minimization Subject to Bounds. Mathematical Programming, 67, 189-224. https://doi.org/10.1007/BF01582221
- 3. Van Hentenryck, P., Michel, L. and Benhamou, F. (1998) Constraint Programming over Nonlinear Constraints. Science of Computer Programming, 30, 83-118. https://doi.org/10.1016/S0167-6423(97)00008-7
- 4. Borchers, B. and Mitchell, J.E. (1994) An Improved Branch and Bound Algorithm for Mixed Integer Nonlinear Programs. Computers & Operations Research, 21, 359-367. https://doi.org/10.1016/0305-0548(94)90024-8
- 5. Leyffer, S. (2001) Integrating SQP and Branch-and-Bound for Mixed Integer Nonlinear Programming. Computational Optimization and Applications, 18, 295-309. https://doi.org/10.1023/A:1011241421041
- 6. Byrd, R.H., Hribar, M.E. and Nocedal, J. (1999) An Interior Point Algorithm for Large-Scale Nonlinear Programming. SIAM Journal on Optimization, 9, 877-900. https://doi.org/10.1137/S1052623497325107
- 7. Benson, H.Y., Vanderbei, R.J. and Shanno, D.F. (2002) Interior-Point Methods for Nonconvex Nonlinear Programming: Filter Methods and Merit Functions. Computational Optimization and Applications, 23, 257-272. https://doi.org/10.1023/A:1020533003783
- 8. Spellucci, P. (1998) An SQP Method for General Nonlinear Programs Using only Equality Constrained Subproblems. Mathematical Programming, 82, 413-448. https://doi.org/10.1007/BF01580078
- 9. Zhu, Z. and Zhang, K. (2004) A New SQP Method of Feasible Directions for Nonlinear Programming. Applied Mathematics and Computation, 148, 121-134. https://doi.org/10.1016/S0096-3003(02)00832-9
- 10. Nie, P.Y. and Ma, C.F. (2006) A Trust Region Filter Method for General Non-Linear Programming. Applied Mathematics and Computation, 172, 1000-1017. https://doi.org/10.1016/j.amc.2005.03.004
- 11. Nie, P.Y. (2007) Sequential Penalty Quadratic Programming Filter Methods for Nonlinear Programming. Nonlinear Analysis: Real World Applications, 8, 118-129. https://doi.org/10.1016/j.nonrwa.2005.06.003
- 12. Bretthauer, K.M. and Shetty, B. (2002b) The Nonlinear Knapsack Problem-Algo- rithms and Applications. European Journal of Operational Research, 138, 459-472. https://doi.org/10.1016/S0377-2217(01)00179-5
- 13. Bretthauer, K.M. and Shetty, B. (1995) The Nonlinear Resource Allocation Problem. Operations Research, 43, 670-683. https://doi.org/10.1287/opre.43.4.670
- 14. Kodialam, M.S. and Luss, H. (1998) Algorithms for Separable Nonlinear Resource Allocation Problems. Operations Research, 46, 272-284. https://doi.org/10.1287/opre.46.2.272
- 15. Bretthauer, K.M. and Shetty, B. (2002a) A Pegging Algorithm for the Nonlinear Resource Allocation Problem. Computers & Operations Research, 29, 505-527. https://doi.org/10.1016/S0305-0548(00)00089-7
- 16. Zhang, B. and Hua, Z. (2008) A Unified Method for a Class of Convex Separable Nonlinear Knapsack Problems. European Journal of Operational Research, 191, 1-6. https://doi.org/10.1016/j.ejor.2007.07.005
- 17. Kiwiel, K.C. (2008) Breakpoint Searching Algorithms for the Continuous Quadratic Knapsack Problem. Mathematical Programming, 112, 473-491. https://doi.org/10.1007/s10107-006-0050-z
- 18. Sharkey, T.C., Romeijn, H.E. and Geunes, J. (2011) A Class of Nonlinear Nonseparable Continuous Knapsack and Multiple-Choice Knapsack Problems. Mathematical Programming, 126, 69-96. https://doi.org/10.1007/s10107-009-0274-9
- 19. Morin, T.L. and Marsten, R.E. (1976) An Algorithm for Nonlinear Knapsack Problems. Management Science, 22, 1147-1158. https://doi.org/10.1287/mnsc.22.10.1147
- 20. Ohtagaki, H., Iwasaki, A., Nakagawa, Y. and Narihisa, H. (2000) Smart Greedy Procedure for Solving a Multidimensional Nonlinear Knapsack Class of Reliability Optimization Problems. Mathematical and Computer Modelling, 31, 283-288. https://doi.org/10.1016/S0895-7177(00)00097-2
- 21. Li, D., Sun, X.L. and Wang, F.L. (2006) Convergent Lagrangian and Contour Cut Method for Nonlinear Integer Programming with a Quadratic Objective Function. SIAM Journal on Optimization, 17, 372-400. https://doi.org/10.1137/040606193
- 22. Li, D., Sun, X.L., Wang, J. and McKinnon, K.I. (2009) Convergent Lagrangian and Domain Cut Method for Nonlinear Knapsack Problems. Computational Optimization and Applications, 42, 67-104. https://doi.org/10.1007/s10589-007-9113-1
- 23. Quadri, D., Soutif, E. and Tolla, P. (2009) Exact Solution Method to Solve Large Scale Integer Quadratic Multidimensional Knapsack Problems. Journal of Combinatorial Optimization, 17, 157-167. https://doi.org/10.1007/s10878-007-9105-1
- 24. Wang, H., Kochenberger, G. and Glover, F. (2012) A Computational Study on the Quadratic Knapsack Problem with Multiple Constraints. Computers & Operations Research, 39, 3-11. https://doi.org/10.1016/j.cor.2010.12.017
- 25. Abdel-Malek, L.L. and Areeratchakul, N. (2007) A Quadratic Programming Approach to the Multi-Product Newsvendor Problem with Side Constraints. European Journal of Operational Research, 176, 1607-1619. https://doi.org/10.1016/j.ejor.2005.11.002
- 26. Abdel-Malek, L.L. and Otegbeye, M. (2013) Separable Programming/Duality Approach to Solving the Multi Constrained Newsboy/Gardener Problem. Applied Mathematical Modelling, 37, 4497-4508. https://doi.org/10.1016/j.apm.2012.09.059
- 27. Zhang, B. (2012) Multi-Tier Binary Solution Method for Multi-Product Newsvendor Problem with Multiple Constraints. European Journal of Operational Research, 218, 426-434. https://doi.org/10.1016/j.ejor.2011.10.053
Appendix
A.1 Proof of Proposition 2
It is defined that for all . The optimal solution to problem PR should satisfy Equation (1) and Equation (3). If , it means that the bound constraint is inactive. Therefore, we have . Since is increasing in , and , we have if . If , then if . Thus for any , we have , and . If , we have . It can be proved similar to the condition of .
A.2 Proof of Proposition 3
1) If , then we have , and , which implies . If , then we have , and hence , .
If , we have , which means , and . Therefore, we have
(A1)
2) or implies
.
Because satisfies Equation (5) and Equation (6), will satisfy all KKT conditions. Therefore, if satisfies or , .
A.3 Proof of Proposition 4
1) or implies . Since satisfies Equation (5) and Equation (6), it will satisfy all KKT conditions. Therefore, if satisfies or .
2) KKT conditions for problem are
(A2)
(A3)
. (A4)
Notice that is a parameter-adjusted function of , with . These conditions in Equations (A2)-(A3) are the same as KKT conditions given in Equations (5)-(7) without . Since is the optimal solution of the KKT conditions in Equations (5)-(7) without , it must be the optimal solution to problem .
A.4 Proof of Proposition 5
Let . If , then we have . From Equation (5), we have
. (A5)
Since , from Equation (6), we know and . Thus, we have
. (A6)
Equation (A6) violates the slackness condition in Equation (7). Therefore, there must be .
上一篇:Compact Model for the Obnoxiou 下一篇:Design of Expressway Toll Stat
最新文章NEWS
- Compact Model for the Obnoxious p-Median Problem
- Fédération Internationale Des Ingénieurs Conseils (FIDIC) Variation Order Clause
- An Inventory Model for Deteriorating Items with Generalised Exponential Decreasing Demand, Constant
- Minimizing the Loss Probability in M/M/2/1 Queueing System with Ordered Entry
- The Use of Item Response Theory in Survey Methodology: Application in Seat Belt Data
- A Standard Framework for Effective Progress Reports in the State of Kuwait
- Super Efficiency and Misallocation: Evidence from Vietnamese Electric-Computer Industry
- Shedding Light on Non Binding Constraints in Linear Programming: An Industrial Application
推荐期刊Tui Jian
- Chinese Journal of Integrative Medicine
- Journal of Genetics and Genomics
- Journal of Bionic Engineering
- Chinese Journal of Structural Chemistry
- Pedosphere
- Nuclear Science and Techniques
- 《传媒》
- 《哈尔滨师范大学自然科学学报》
热点文章HOT
- Solving the Traveling Salesman Problem Using Hydrological Cycle Algorithm
- Fédération Internationale Des Ingénieurs Conseils (FIDIC) Variation Order Clause
- Topology Abstraction Service for IP VPNs: Core Network Partitioning for Resource Sharing
- The Use of Item Response Theory in Survey Methodology: Application in Seat Belt Data
- Egalitarian Allocations and the Inverse Problem for the Shapley Value
- Compact Model for the Obnoxious p-Median Problem
- Efficient Heuristic Based Methods for Two-Stage Transshipment Problem
- Genetic Algorithm for Scattered Storage Assignment in Kiva Mobile Fulfillment System