Elsevier

Computers & Operations Research

Volume 39, Issue 9, September 2012, Pages 2111-2121
Computers & Operations Research

Solving the multidimensional knapsack problems with generalized upper bound constraints by the adaptive memory projection method

https://doi.org/10.1016/j.cor.2011.10.016Get rights and content

Abstract

An adaptive memory projection (referred as AMP) method is developed for multidimensional knapsack problems (referred as the MKP) with generalized upper bound constraints. All the variables are divided into several generalized upper bound (referred as GUB) sets and at most one variable can be chosen from each of the GUB sets. The MKP with GUBs (referred as the GUBMKP) can be applied to many real-world problems, such as capital budgeting, resource allocation, cargo loading, and project selection. Due to the complexity of the GUBMKP, good metaheuristics are sought to tackle this problem.

The AMP method keeps track of components of good solutions during the search and creates provisional solution by combining components of better solutions. The projection method, which can free the selected variables while fixing the others, is very useful for metaheuristics, especially when tackling large-scale combinatorial optimization. In this paper, the AMP method is implemented by iteratively using critical event tabu search as a search routine, and CPLEX in the referent optimization stage. Variables that are strongly determined, consistent, or attractive, are identified in the search process. Selected variables from this pool are fed into CPLEX as a small subproblem. In addition to the diversification effect within critical event tabu search, the pseudo-cut inequalities and an adjusted frequency penalty scalar are also applied to increase opportunities of exploring new regions.

This study conducts a comprehensive sensitivity analysis on the parameters and strategies used in the proposed AMP method. The computational results show several variants of the AMP method outperforms the tight oscillation method in the literature of GUBMKP. On average, consistent variables tend to perform best as a pure strategy. A pure strategy equipped with local search can lead into even better results. Last but not least, testing different types of variables in the referent optimization stage before selecting just one of the pure strategies is found to be very helpful.

Introduction

This paper considers the multidimensional knapsack problem (commonly known as the MKP) with generalized upper bound (referred to GUB hereafter) constraints as shown in the following formulation: a set of n items, N{1,,n}, should be packed to maximize the overall profit where item j can contribute cj (Eq. (1)), such that the capacity limitation bi,iM{1,,m}, of each of the m knapsack constraints will be met as selecting item j will use aij units of resource i (Eq. (2)). Items performing the same function are grouped into one category although the contribution of each of them are different generally. All the items are partitioned into g mutually exclusive subsets and at most one item qcan be chosen from each of these subsets (Eqs. (3), (5), (6)). If an item j is chosen, then the associated variable xj equals 1; otherwise it equals 0 (Eq. (4)). All the parameters of the objective function and the constraints are assumed to be nonnegative (Eq. (7)).

Formulation 1 GUBMKP

MaximizejNcjxjSubjecttojNaijxjbi,iM{1,,m},jNhxj1,hG{1,,g},xj{0,1},jN{1,,n},whereh=1gNh=N,NpNq=p,qG,pq,aij,cj,bi0iM,jN.

The formulation of the MKP consists of Eqs. (1), (2), (4), (7). The GUBMKP model can be obtained by adding the GUB constraints (Eq. (3)) with the properties stated in Eqs. (5), (6). Following the first application on capital budgeting [1], the MKP has been used to model various application such as project selection, cutting stock, cargo loading, and combinatorial auctions [2], [3], [4], [5]. The GUBMKP can be transformed to the multiple-choice multidimensional knapsack problem (referred to the MMKP) by adding a slack variable in each of the GUB constraints (Eq. (3)) and making it an equality constraint. In fact, the MMKP is a combination of the MKP and the multiple-choice knapsack problem (MCKP). The MCKP has many applications such as menu planning and capital budgeting where there is only one resource constraint and candidates to be chosen fall into disjoint subsets (e.g., [6], [7]). With this transformation, an active slack variable (i.e., it equals 1) indicates that the corresponding GUB constraint is not tight. Therefore, the GUBMKP can be seen as a relaxation of the MMKP. The MMKP has been used to model configuration problems that involve options [8] (e.g., modeling real-time multimedia domain [9] and building a utility model for a multisession adaptive multimedia system [10], [11]), whereas the GUBMKP formulation has been used to model a striking asset allocation problem [12] and a surveillance system for port and waterway security [13].

The MKP is NP-Hard [14], so is its close variant GUBMKP. Polynomial algorithms to solve it to optimality cannot be found unless P=NP [15]. Metaheuristics have been shown effective in approximating optimal solutions for many difficult large-scale optimization problems. This paper utilizes the idea of adaptive memory projection proposed by Glover [16], where collections of important variables are identified by the underlying search heuristic, and the corresponding subproblem is solved by CPLEX, iteratively.

The remainder of this paper is organized as follows. Section 2 reviews the literature most relevant to the GUBMKP. Section 3 discusses the AMP methodology and the details of implementation. Computational results are shown in Section 4. Conclusions and future directions are discussed in Section 5.

Section snippets

Literature review

The knapsack problem (KP) is one of the most well-known combinatorial problems. There are many variants of the KP. Readers can refer to Kellerer et al. [17] and Martello and Toth [14] for a full-scale presentation of most of the methods and techniques related to the KP. In our review, we focus on the MKP, MMKP, and GUBMKP.

The MKP has been investigated extensively by various approaches including but not limited to branch-and-bound, dynamic programming, greedy heuristics and metaheuristics.

Adaptive memory projection method for the GUBMKP

Large-scale combinatorial problems can be very difficult to solve. Many heuristics use “problem reduction” techniques to tackle this issue. For example, Pirkul [26] utilizes surrogate constraint relaxation to capture the MKP. On the other hand, the idea of iteratively holding some variables fixed at some certain values while varying others, have appeared in various optimization techniques. For instance, Hill et al. [43] propose a heuristic based on Lagrangian relaxation which iteratively deals

Computational results

The proposed method was coded in Visual C++ 2008 using a PC with Intel Core 2 Duo CPU E8500 3.16 GHz, 2.00 GB RAM and Windows XP operating system. Subproblems in the referent-optimization phase were solved using CPLEX 11.2.1.

Conclusions and future study

This paper proposes an adaptive memory projection method for multidimensional knapsack problems with generalized upper bound constraints. From our experiments, we have the following conclusions:

  • 1.

    This study examines several types of free variables including two types of strongly determined variables, consistent variables, conditional attractive variables and persistent attractive variables. The results show consistent variables perform best among these five alternatives.

  • 2.

    Using local search is

Acknowledgements

The authors are indebted to Professor Fred Glover for his generous and invaluable suggestions and comments on this research. Funding for the first author was provided by the National Science Council of Taiwan under grant number NSC-96-2221-E-259-004.

References (50)

  • C. Wilbaut et al.

    An iterative variable-based fixation heuristic for the 0–1 multidimensional knapsack problem

    European Journal of Operational Research

    (2009)
  • J. Lorie et al.

    Three problems in capital rationing

    The Journal of Business

    (1955)
  • C. Peterson

    Computational experience with variants of the Balas algorithm applied to the selection of research and development projects

    Management Science

    (1967)
  • P. Gilmore et al.

    The theory and computation of knapsack functions

    Operations Research

    (1966)
  • W. Shih

    A branch and bound method for the multiconstraint zero-one knapsack problem

    Journal of Operations Research Society

    (1979)
  • S. de Vries et al.

    Combinatorial auctions: a survey

    INFORMS Journal on Computing

    (2003)
  • P. Sinha et al.

    The multiple-choice knapsack problem

    Operations Research

    (1979)
  • R. Parra-Hernandez et al.

    A new heuristic for solving the multichoice multidimensional knapsack problem

    IEEE Transactions on Systems, Man and Cybernetics, Part A: Systems and Humans

    (2005)
  • M. Moser et al.

    An algorithm for the multidimensional multiple-choice knapsack problem

    IEICE Transactions on Fundamentals of Electronics Communications and Computer Sciences

    (1997)
  • Khan S. Quality adaptation in a multi-session adaptive multimedia system: model and architecture. PhD thesis....
  • Chen L, Khan S, Li K, Manning E. Building an adaptive multimedia system using the utility model. In: Rolim J, et al.,...
  • W.E. Wilhelm et al.

    Branch-and-price decomposition to design a surveillance system for port and waterway security

    IEEE Transactions on Automation Science and Engineering

    (2010)
  • S. Martello et al.

    Knapsack problems

    (1990)
  • M. Garey et al.

    Computers and intractability: a guide to the theory of NP-completeness

    (1979)
  • F. Glover

    Adaptive memory projection methods for integer programming

  • Cited by (0)

    Partially supported by National Science Council, Taiwan: 96-2221-E-259-004.

    View full text