Some Very Easy Knapsack / Partition Problems

نویسنده

  • James B Orlin
چکیده

Consider the problem of partitioning a group of b indistinguishable objects into subgroups, each of size at leastl and at most u. The objective is to minimize the additive separable cost of the partition, where the cost associated with a subgroup of size j is c(j). In the case that c(.) is convex, we show how to solve the problem in O(log u-/ + 1) steps. In the case that c(.) is concave, we solve the problem in O(min(/, b/u, (b/I)-(b/u), u-I)) steps. This problem generalizes a lot-sizing result of Chand and has potential applications in clustering. CONSIDER the problem of partitioning a group of b objects into subgroups, each of size at least and at most u, where 1 I < u < b, and 1, u, and b are integers. The objective is to minimize an additive cost Y7=' c(j)Xj where c(.) is some real-valued function and x is the number of subgroups of size j. This problem can be expressed as the following knapsack problem P: (P) Minimize j=1 c(j)xj subject to JY= 1 jxj = b xj > integer for As is well-known, the problem P can be solved in O((u-I)b) steps via a dynamic programming recursion. Moreover, if b u 2 then P can be solved in O((u-I)u) steps because the optimal solution to the associated group problem is feasible for P. (See Garfinkel and Nemhauser 1972; and Denardo and Fox 1979 for further details.) The purpose of this note is to provide very efficient algorithms for situations in which c(.) is either concave or convex. In particular, we show that we can solve versions of P in which c(.) is convex in O(log(u-I + 1)) steps. This algorithm extends a previous algorithm by Chand (1982) for a variant of the discrete time EOQ model, as mentioned below. If c(.) is concave, we show how to solve the knapsack/partition problem in O(min(l, b/u, (b/l)-(b/u), u-1)) steps. It is an open question as to Subject classification: 702 some very easy knapsack/partition problems.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Efficient Cellular Solution for the Partition Problem

Numerical problems are not very frequently addressed in the P systems literature. In this paper we present an effective solution to the Partition problem via a family of deterministic P systems with active membranes using 2-division. The design of this solution is a sequel of several previous works on other problems, mainly the Subset-Sum and the Knapsack problems but also the VALIDITY and SAT....

متن کامل

An employee transporting problem

An employee transporting problem is described and a set partitioning model is developed. An investigation of the model leads to a knapsack problem as a surrogate problem. Finding a partition corresponding to the knapsack problem provides a solution to the problem. An exact algorithm is proposed to obtain a partition (subset-vehicle combination) corresponding to the knapsack solution. It require...

متن کامل

A generalized implicit enumeration algorithm for a class of integer nonlinear programming problems

Presented here is a generalization of the implicit enumeration algorithm that can be applied when the objec-tive function is being maximized and can be rewritten as the difference of two non-decreasing functions. Also developed is a computational algorithm, named linear speedup, to use whatever explicit linear constraints are present to speedup the search for a solution. The method is easy to u...

متن کامل

A dynamic programming approach for solving nonlinear knapsack problems

Nonlinear Knapsack Problems (NKP) are the alternative formulation for the multiple-choice knapsack problems. A powerful approach for solving NKP is dynamic programming which may obtain the global op-timal solution even in the case of discrete solution space for these problems. Despite the power of this solu-tion approach, it computationally performs very slowly when the solution space of the pr...

متن کامل

A library for continuous convex separable quadratic knapsack problems

The Continuous Convex Separable Quadratic Knapsack problem (CQKnP) is an easy but useful model that has very many different applications. Although the problem can be solved quickly, it must typically be solved very many times within approaches to (much) more difficult models; hence an efficient solution approach is required. We present and discuss a small open-source library for its solution th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1985