Method and apparatus for generating profile of solutions trading off number of activities utilized and objective value for bilinear integer optimization models
A method (and system) of generating at least one of a solution and a profile of solutions for a problem, includes trading off a reduction of an objective of the problem against a number of activities utilized in a solution.
Latest IBM Patents:
- INTERACTIVE DATASET EXPLORATION AND PREPROCESSING
- NETWORK SECURITY ASSESSMENT BASED UPON IDENTIFICATION OF AN ADVERSARY
- NON-LINEAR APPROXIMATION ROBUST TO INPUT RANGE OF HOMOMORPHIC ENCRYPTION ANALYTICS
- Back-side memory element with local memory select transistor
- Injection molded solder head with improved sealing performance
1. Field of the Invention
The present invention generally relates to a method and apparatus for integer linear programming, and more particularly to a method and apparatus for generating a profile of solutions that trades off a number of activities utilized against an objective value for a bilinear integer optimization model. The bilinear integer optimization model seeks to determine the activities (encoded by integers) and the integer utilizations of these activities, so as to minimize the objective value. For clarity, the exemplary method (and system) is developed and discussed in an exemplary case of a cutting stock problem. In this case, a profile of solutions is generated to trade off the number of patterns used to cut raw units of stock material while minimizing the amount of material wasted.
2. Description of the Related Art
When attempting to solve a specific problem, it is desirable to provide a profile of possible solutions as opposed to generating a single possible solution for the problem. This idea will be illustrated in the present application using the exemplary “cutting stock problem”. In the cutting stock problem, a user has a supply of stock rolls. The stock rolls may include any stock material that may be available in discrete units including, but not limited to, paper, chemical fiber, film, steel, wire and cable, wood, etc. The material in stock rolls has a width of Wmax. A certain number, di of stock rolls are demanded of material with width wi (where i=1, 2 . . . , m; and wi<Wmax). The user desires to cut up the stock rolls to satisfy the demand while minimizing the amount of trim loss created.
There are several additional restrictions, which must be considered when handling the cutting stock problem. For instance, Wmin is a lower bound on the allowed nominal trim loss per stock roll. Additionally, the cutting machines used to cut the stock material have a limited number of knives, which limits the type of patterns that may be utilized. Furthermore, widths of material up to a threshold ω are considered to be “narrow”, and there is a limit on the number (Cnar) of “narrows” permitted to be cut from a stock roll of material.
It is disadvantageous to provide the user with a single solution to the cutting stock problem, or any other problem. It is desirable to provide a profile of solutions that trades off a minimization of an objective of the problem against a number of activities utilized in the solution. In the case of the cutting stock problem, it is desirable to provide a profile of solutions that trades off the amount of trim loss created against the number of distinct cutting patterns used. In the cutting stock problem, it is important to limit the number of distinct cutting patterns, because there is a changeover cost associated with setting up the stock cutting machine to cut a different pattern.
Several column generation approaches are conventionally used for generating solutions to a proposed problem. One such approach is the Gilmore and Gomory method (e.g., see Paul C Gilmore and Ralph E. Gomory, “A Linear Programming Approach to the Cutting-Stock Problem”, Operations Research, 9:849-859, 1961). In the Gilmore and Gomory method constraints involving coverage of given demand using a known set of activities are treated in a master problem. Constraints describing feasible activities are treated in a subproblem.
The Gilmore and Gomory approach seeks a linear-programming solution at the master problem level. Thus, necessary information is communicated to the subproblem by prices (i.e., dual variables). Since the user desires an integer solution to the master problem, prices are not sufficient to describe the optimal coverage of demand based on known activities to the subproblem.
The above shortcoming of the conventional column-generating methods is overcome by “branching”. A common branching method is the Branch-and-Price method (e.g., see Gleb Belov and Guntram Scheithauer, “The Number of Setups (Different Patterns) in One-Dimensional Stock Cutting”, 2003, Preprint, Dresden University, Institute for Numerical Mathematics). This method requires substantial computational resources as it emphasizes proving the optimality of a solution, as opposed to finding a good approximate solution. Moreover, this method does not lend itself to efficiently providing a profile of solutions with the desired tradeoff.
The Branch-and-Price method tends to provide good solutions, but because of the substantial computational requirements, can be a very slow process. On the other hand, the Gilmore and Gomory process is a fast process, but may not provide good overall solutions.
SUMMARY OF THE INVENTIONIn view of the foregoing and other exemplary problems, drawbacks, and disadvantages of the conventional methods and structures, an exemplary feature of the present invention is to provide a method and system in which a good compromise is achieved between the quality of the solution obtained and the speed with which the solution is generated.
It is another exemplary feature to provide a method and system that limits the number of distinct activities utilized in the solution, which will reduce the overall cost of the solution.
It is another exemplary feature to provide a method and system wherein it is possible to generate new activities while the profile of the solution is being generated.
To achieve the above and other features, in a first aspect of the present invention, a method (and system) of generating at least one of a solution and a profile of solutions for a problem, includes trading off a reduction of an objective of the problem against a number of distinct activities utilized in a solution.
In a second aspect of the present invention, a method of generating at least one of a solution and a profile of solutions for a cutting stock problem, includes trading off a reduction of an amount of wasted stock material against the number of distinct patterns utilized to satisfy demands.
In a third aspect of the present invention, a computer system for generating at least one of a solution and a profile of solutions for a problem, includes partitioning means for generating a model having a first set of variables and data and a second set of variables and data and augmenting means for repeatedly solving the model to generate the profile of solutions.
In a fourth aspect of the present invention, a computer system for generating at least one of a solution and a profile of solutions for a problem, includes an augmenting unit that repeatedly solves a model to generate a profile of solutions, wherein the profile trades off a reduction of an objective of the problem against the number of distinct activities utilized in a solution.
In a fifth aspect of the present invention, a signal-bearing medium tangibly embodying a program of machine readable instructions executable by a digital processing apparatus to perform a method of generating at least one of a solution and a profile of solutions for a problem, includes trading off a reduction of an objective of the problem against a number of distinct activities utilized in a solution.
In a sixth aspect of the present invention, a method of deploying computing infrastructure, includes integrating computer-readable code into a computing system, wherein the computer readable code in combination with the computing system is capable of performing a method of generating at least one of a solution and a profile of solutions for a problem, where the method of generating at least one of a solution and a profile of solutions for a problem, includes trading off a reduction of an objective of the problem against a number of activities utilized in a solution.
The present invention builds a model having two types of activities. The two types of activities include known activities and newly created activities. A working set of activities, or known activities, are provided with associated variables, which determine the utilization of the known activities. There are further variables representing the potentially new activities, and associated variables that determine the utilization of the potential new activities.
The present invention solves a sequence of models of activities and transfers certain new activities into the set of known activities. This allows the set of known activities to be built to any desired number of activities. During the process, activities in the set of known activities may be removed if more desirable, new activities are generated.
Using binary expansion, linear expressions in binary (“0”/“1”) variables are substituted for each of the variables (e.g., activity variables and associated utilization variables) associated with the new activities. A standard linearizaton is used to model the binary products through linear inequalities.
The present invention addresses certain bilinear integer optimization models. The models addressed have a general form of:
Min ctx, +gtu subject to
Zx+Gu=d,
Hu≦f,
x,u≧0 and integer,
Z satisfying:
-
- Az≦b, for all columns z of Z,
- z≧0 integer, for all columns z of Z,
The number of columns of Z should be no greater than nmax. Each activity produces certain outputs and the entries in a column z indicate the outputs. For example zj gives the number of units of the j-th output type produced by the activity associated with z.
The data of the model consists of the vectors c, g, d, f and b and the matrices A, G and H The vector d is a demand vector that we seek to cover. The matrix Z is a matrix of nonnegative integer variables. The columns z of Z represent activities that we will carry out. The vector of nonnegative integer variables x specifies the utilizations of the activities represented by the columns of Z. Constraints determining allowable columns z of Z are specified with the data A and b (i.e., Az≦b, z≧0 integer). The cost vector c is associated with the activities represented by the columns of Z. The variables u are additional variables used to allow some modeling flexibility. The data g, f, G and H are used to build any constraints and linkages associated with these additional variables u.
The method (and system) of the present invention also includes combinatorially-motivated constraints to tighten the formulation. The present method relies on the solution of a sequence of integer linear programs. Standard methods for solving such problems rely on solving further sequences of linear programming relaxations (where we ignore the integer restrictions). The efficiency of the entire process depends on how well the linear programming relaxation approximates the integer program (in terms of optimal objective value and nearness of the feasible region of the linear programming relaxation to the smallest convex set that contains the integer feasible points). Tightening the formulation refers to adjoining further linear inequalities that make the linear programming relaxation a sharper approximation of the integer program. Additional linear constraints are provided to eliminate symmetry between the new activities, and to preclude generating new activities that are already included in the set of known activities.
Additionally, the method (and system) of the present invention includes the facility to dynamically change the number of bits for representing utilizations of new activities. As new activities are generated, their optimal utilizations tend to decrease as we allow the total number of activities to increase. Moreover, as the number of activities increases, the difficult of the integer linear programs increase. Computational efficiencies can be realized be allowing the number of bits to vary (usually decrease) dynamically.
The present invention addresses these and other shortcomings of the conventional methods by formulating a holistic model that simultaneously seeks a small number of new activities, their utilizations and the utilizations of the known set of activities. That is, the unified model of the present invention generates new patterns in situ. Another benefit of the present invention is that it solves a sequence of models in a local-search framework which is ideal for working with constraints that are not modeled effectively in an integer linear programming (ILP) setting, but are relatively simple (e.g., a limit on the number of activities utilized), and (2) is well suited to efficiently generating a profile of solutions trading off a secondary objective (e.g., the number of distinct activities utilized) versus a primary objective.
With the above and other unique and unobvious exemplary aspects of the present invention, it is possible to balance the quality of a solution and the speed in which the solution is generated.
BRIEF DESCRIPTION OF THE DRAWINGSThe foregoing and other exemplary purposes, aspects and advantages will be better understood from the following detailed description of an exemplary embodiment of the invention with reference to the drawings, in which:
Referring now to the drawings, and more particularly to
To more clearly explain the method and structures for generating a profile of solutions for a problem according to the present invention, the present invention will be described in the context of the exemplary cutting stock problem. The method (and system) of the present invention, however, may be used for generating a profile of solutions for other discrete optimization problems (e.g., multicommodity flow and scheduling) by optimizing the utilization of any activity, and as would be evident to one of ordinary skill in the art taking the present application as a whole, is not limited to optimizing the use of cutting patterns for cutting stock material.
Working with an integer bilinear programming formulation of a one-dimensional cutting-stock problem, the inventive method (and system) is an ILP-based local-search heuristic. The ILPs holistically integrate the master problem (e.g., constraints of the known patterns) and the subproblem (e.g., constraints of the potential new patterns) of the usual price-driven pattern-generation paradigm, resulting in a unified model that generates new patterns in situ. The present method is well suited to practical restrictions such as when a limited number of cutting patterns should be employed. In particular, the present method and the results of computational experiments obtained from use of the method are exemplarily described below in the context of a chemical fiber cutting stock problem. The exemplary cutting method of the present invention may also be applied to cutting stocks of paper, film, steel, wire, cable, wood, etc. Again, however, the invention is not limited to providing a solution only for the cutting stock problem.
The classical (one-dimensional) cutting stock problem (CSP) is to minimize the amount of trim loss created in covering the demands of client orders. The constant m represents the number of different widths demanded by the customers. The set M, which is used to index the different widths demanded by the customers, is defined as M:={1, 2, . . . , m}. Stock rolls of width Wmax are available for satisfying customer order demands di for rolls of width wi(<Wmax), iεM. Many models for the cutting stock problem employ the idea of a cutting pattern. A pattern for cutting the stock material is defined by ZεZ+M satisfying
where Wmin is a lower bound on the allowed nominal trim loss per stock roll (note that the total actual trim loss may be greater than the sum of the nominal trim losses, since in the method of the present invention, over-producing is permitted (i.e., that is, we are permitted to produce more than di for rolls of width wi, for iεM)). The variable zi represents the number of rolls of width wi that are obtained from a single stock roll when the pattern z is employed. With this concept, most models seek to determine which cutting patterns to use and how many times to repeat each pattern.
This is the framework of the conventional Gilmore and Gomory method discussed above, which applied a simplex-method based column-generation scheme to solve the linear programming (LP) relaxation, followed by rounding (i.e., increasing any fractional pattern utilizations up to the next integer). The present method allows for some variations of the conventional model to accommodate practical application.
In actual instances of the CSP, the cutting machines have a limited number (e.g., 10-20) of knives †. To account for this limitation, the following restriction is added to the model:
or, equivalently,
because the present method allows for †+1 pieces to be cut when there is no nominal trim loss for a pattern.
Also, widths up to some threshold ω are deemed to be narrow, and there is often a limit on the number Cnar of narrows permitted to be cut from a stock roll (due to physical limitations of the cutting machines, it may not be possible to cut more narrow widths than some limit (e.g., 5)). To account for these limitations, the following restriction is added to the model:
where Mnar:={iεM: wi≦ω}.
Additionally, the method of the present invention allows for the possibility of not requiring the customer order demands to be exactly satisfied. This is quite practical for real applications, for example in the paper industry, where customers are willing to accept some variation in the quantities delivered from those ordered, and permitting this can decrease the trim loss. The method assumes that for some small nonnegative integers qi and pi (e.g., qi and pi may be 5% of the demand di), the customer will accept delivery of between di−qi and di+pi rolls of width wi, for iεM. The present method allows for over-production, beyond di+pi rolls of width wi, but the over-production is treated as trim loss.
Finally, in the present invention, the number of patterns allowed is limited to some number nmax. This type of limitation is practical for actual applications, but it is difficult to handle computationally. Heuristic approaches to this type of limitation include variations on the Gilmore and Gomory approach discussed above, incremental heuristics for generating patterns, local-search methods for reducing the number of patterns as a post-processing stage, a linear-programming-based local search, and a heuristically-based local search. Also, computationally intensive methods such as the Branch and Price method discussed above have also been applied. The present invention provides a hybrid method that is more powerful than existing heuristics (e.g., the Gilmore and Gomory method), but with less effort than exact ILP approaches (e.g., the Branch and Price method).
First, initial activities, data and parameters are read in (step 201). Then a bilinear model is generated having two sets of activities (step 202). The bilinear ILP model is based on a current set of activities {overscore (N)} and a number of potential new activities {circumflex over (N)}. In the case of the cutting stock problem, {overscore (N)} represents a set of known patterns, and {circumflex over (N)} represents a set of potential new patterns. The set of known patterns {overscore (N)} is initially empty, and set of potential new patterns {circumflex over (N)} is of a very limited size (e.g., no more than 3 elements). However, {overscore (N)} may include a relatively small number (e.g., between 5 and 10) of known patterns, as may be desired by the user.
The bilinear model, of the present invention, is generated having several limitations, as follows. The set N defined by N:={1, 2, . . . , n} is used to denote the set of patterns to be determined by the solution procedure. A set of n patterns is defined by the columns of an m×n matrix Z. So, zij represents the number of rolls of width wi that is cut from a stock roll when a pattern j is employed. The variable xj is a nonnegative integer variable that represents the number of times the pattern j is employed (the utilization of the pattern j) toward satisfying the client order demands. The variable si represents the part of the deviation (from demand di) of the production of width wi that is within the allowed tolerance. The variable ti represents a part of the deviation that exceeds the tolerance and is treated as trim loss.
The bilinear model includes the following integer bilinear programming formulation which seeks to minimize trim loss:
For the most part, the constraints (5)-(13) include linear expressions (i.e., the sum of terms, each of which is the product of data and a variable). For example, constraint (6) multiplies the width of the stock roll wi (fixed data) times the number of rolls zij (variable). Only constraint (10) includes a bilinear (variable times variable) term, zijxj. Constraints containing bilinear terms are extremely difficult and time consuming to work with in an optimization formulation, in comparison to linear terms, because in the bilinear case, the feasible region of the relaxation (where we ignore integer restrictions) is not generally a convex set.
There are a few strategies for dealing with the bilinearity of constraint (10). Allowing N to be so large that all possible patterns can be accommodated simultaneously, and applying decomposition in a certain manner, leads to the conventional linear-programming based column-generation approach of Gilmore and Gomory, which did not directly work with the bilinear expressions.
The present invention, on the other hand, uses an alternative approach, which does not rely on decomposition, and thus does not involve an enormous number of variables. The method of the present invention provides a heuristic solution by partitioning N into two sets of patterns, {overscore (N)} (known patterns) and {circumflex over (N)} (potential new patterns).
For jε{overscore (N)} (the known patterns), the pattern variables zij (the patterns) are treated as fixed data, and xj the utilizations xj are treated as true variables, for jε{overscore (N)}. For jε{circumflex over (N)} (the potential new patterns), all of the variables xj and zij are written in binary expansion and then the binary products are linearized. This results in an ILP model of the form (17)-(30).
Next, the ILP model is solved and new activities are determined which are moved from {circumflex over (N)} to {overscore (N)} (step 203).
After each move of new patterns to {overscore (N)}, a local search is conducted (step 204) of the potential new patterns and known patterns, testing whether dropping a few patterns and re-generating patterns offers an improvement (i.e., decrease in the amount of trim loss) to the solution. This is accomplished by solving further ILP models of the form (17)-(30).
After the local search is completed, we temporarily make {circumflex over (N)} empty and resolve the ILP model (step 205) to determine optimal usages of all known activities. This may result in an improved solution if we had restricted the number of bits in the binary expansion of the utilizations xj in the ILP models employed in steps 202 and 204.
Then, the process determines if the maximum number of activities nmax has been reached (step 206). The process 200 is stopped when nmax patterns is reached (stop 207). If the maximum number of patterns has not been reached then the process is repeated (from step 202).
The linearization of the binary products, which occurs whenever ILP models of the form (17)-(30) with nonempty {circumflex over (N)} are instantiated (steps 202 and 204) is described in detail below. The parameter βi represents an upper bound on the greatest number of bits (the number of times a particular pattern is used) used for representing zij in any solution to equations (6-9). For example,
βi:=┌log2(1+min{└Wmax/wi┘,└†/(1−wi/Wmax)┘})┐, ∀iεM, Mnar,
and
βi:=┌log2(1+min{└Wmax/wi┘,└†/(1−wi/Wmax)┘,CnarCnar})┐, ∀iεMnar.
The parameter β represents an upper bound on the greatest number of bits used for representing xj in an optimal solution to the bilinear programming formulation (5-13). For example, β=┌log2 (1+ΣjεNxj)┐, where (x, z, s, t) is any feasible solution to (5-13). It is desirable to have the βi and β small, since smaller values for these parameters generally lead to a decrease in computational effort. If the parameters are chosen too small, however, then the quality of the solution will be adversely affected (i.e., solutions with increased trim loss). The formulae given for βi and β give the maximum values needed. Smaller values (potentially as small as 1) can be experimentally determined, to produce reasonable run times without the quality of the solutions significantly deteriorating.
The method defines Li:={0, 1, . . . βi−1}, for all iεM, and K:={0, 1, . . . , β−1}: to index the bit variables in the binary representations of the integer variables of the model. The binary variables zlij are defined, for all iεM, jεN, lεLi, and the binary variables xkj are defined, for all jεN, kεK. These are just the bits in the binary representations of the zij and the xj. For a given jεN, we refer to the zij as the integer-encoded pattern j and the zlij as the binary-encoded pattern j. So, letting
Equations (14-16) are linearizations for modifying the bilinear model for making the transformation from the bilinear programming formulation (5-13) to the integer linear programming formulations (that we instantiate in steps 202 and 204). The linearizations transform the bilinear terms into linear terms, at the expense of increasing the number of variables and introducing the inequalities (23). The linearizations are only used in the {circumflex over (N)} set of patterns (the terms involving patterns in {overscore (N)} are linear since we consider the associated patterns to be fixed). The linearizations are substitutions for removing the products zlij, thereby to simplify the computation.
The linearizations results in an inventive linear model having the following ILP formulation:
The linear model (17)-(26) is instantiated and solved by the following computational methodology of the present invention, which generates and solves a sequence of instantiations that produce a profile of solutions to the cutting stock problem (steps 202-207). For each iεM, jε{circumflex over (N)}, the variables and equations of (15) describe a Boolean quadric prototype. The ILP formulation (linear model) is strengthened (i.e., the feasible region of the linear programming relaxation is made smaller) using known valid inequalities. For example, some facets of the Boolean quadric polytope are utilized as follows:
xkj+zlij+yk′l′ij≦1+yklij+ykl′ij+yk′lij, (27)
yk′lij+ykl′ij+yklij≦xkj+zlij+yk′l′ij, (28)
-
- ∀iεM, jε{circumflex over (N)}, k, k′εK, l, l′εLi.
Inequalities such as (27) and (28) are designed to restrict the solution space for the linear programming relaxation.
- ∀iεM, jε{circumflex over (N)}, k, k′εK, l, l′εLi.
Pattern-exclusion constraints
are used in the model to insure that a binary-encoded pattern that is already indexed in {overscore (N)} is not re-generated as an integer-encoded pattern. The re-generation causes possible permutation symmetry that is devastating to a branching procedure. The primary reason for encoding patterns in binary is to accurately model multiplication. However, an additional benefit is that patterns may be easily excluded from being re-generated.
Additionally, implied integer-encoded patterns are ordered lexically, by imposing the following |{circumflex over (N)}|−1 lexicographic constraints:
for some ε>0 to overcome symmetry within {circumflex over (N)}. Choosing ε sufficiently small (e.g., 0.001) insures a true lexical ordering, but this causes numerical problems. A more moderate choice of ε (e.g., 0.25) is sufficient to break enough of the symmetry without causing numerical difficulties. More sophisticated approaches for dealing with this symmetry would be to try to apply further inequalities describing the all-different polytope.
A sequence of models of the form (17-30) is solved using the algorithm described in
Next, a model of the form (17)-(30) is instantiated (step 202). That is, variables are defined for the known patterns (indexed by {overscore (N)}) and to generate new patterns (indexed by {circumflex over (N)}). For jε{overscore (N)}, the zij are treated as data, and the xj are treated as true variables. For jε{circumflex over (N)}, the variables xj and zij are written in binary expansion and then linearized.
Next, in the augmentation phase (step 203) of the algorithm 200, the system solves the model (17)-(30), and new patterns from the optimal solution are transferred from {circumflex over (N)} to {overscore (N)}.
Next, a local search is conducted to repeatedly test whether removing vs (e.g., ≦3) patterns from {overscore (N)} and adding vs new patterns to {overscore (N)} from {circumflex over (N)} through a new instantiation of the linear model provides an improvement in the solution (step 204). Once this local search terminates, an additional solve of the linear model is made to determine the true optimal utilizations of all patterns in {overscore (N)} (step 205). This may result in a further decrease in the trim loss, since we may have artificially restricted the number of bits used to represent the utilizations of the patterns that were just generated (in {circumflex over (N)}).
Next, the system tests whether the current number of patterns in {overscore (N)} has increased to nmax (step 206). If it is, then algorithm 200 stops. If not, then the algorithm continues from step 202.
The computer system 300 includes at least an initializing unit 301 that reads the data and sets the size of {overscore (N)} and {circumflex over (N)}, an instantiation unit 302 that instantiates linear models of the form (17)-(30), an augmenting unit 303 that solves instances of the linear model to determine new patterns and transfers them from {overscore (N)} to {circumflex over (N)}, a local search unit 304 that solves a sequence of instances of the linear model, successively determining whether dropping a pattern from {overscore (N)} and regenerating patterns through {circumflex over (N)} would offer an improvement to the current solution, and an optimal utilization unit 305 that solves an instance of the linear model directed at determining the optimal utilizations of all patterns currently in {overscore (N)}.
The method and system of the present invention are developed using the optimization modeling/scripting software AMPL, and the following exemplary results were obtained by conducting experiments on the method and system of the present invention using the exemplary ILP solvers CPLEX 9.0, Xpress-MP 14.27, and the open-source solver CBC (available from www.coin-or.org). In place of AMPL the method can also utilize C, C++, Java, etc.
Again, the exemplary experiments were conducted in the context of a chemical fiber cutting stock problem. The demands di having the same width Wi—which is common in these data sets, were aggregated for these experiments. Note that in practice it may not be practical to perform such aggregation due to existing post-processing systems.
Each lower (resp., upper) demand tolerance qi (resp., pi) was set at five percent of demand, rounded down. The search parameters were set at va=vs=1, which (after experimenting initially also with va=vs=2) provided an adequately large search space at reasonable computational effort.
The formulation was strengthened by using linear inequalities for each of the binary constraints (18-20) (e.g., minimal cover inequalities). Also, the pattern-exclusion constraints (29) may be aggregated and strengthened to improve the computational efficiency.
In solving the ILPs, the method did not explicitly include all of the Boolean quadratic inequalities (28). Rather, the method solved the LP at the root node using all of the inequalities (28). Then, the system maintained a few hundred of these that had the least slack at the LP optimum and proceeded to solve the resulting ILP.
In the early iterations of the augmentation phase, when |{overscore (N)}| is quite small, the ILP may not have a feasible solution. The method introduced an artificial variable into each of the demand constraints and penalized these variables in the objective function. Since each iteration of the augmentation phase provides a feasible solution to the next iteration, after each such iteration the system permanently deleted any artificial variables that had value 0. This step is very simple to carry out by one of ordinary skill in the art, and it is beneficial in speeding up subsequent iterations.
The method and system of the present invention was experimented with on 39 chemical-fiber instances, and uniformly good solutions were obtained. Representative results are summarized in
In the example in
In the example in
In the example in
In the example in
In the example in
In the example in
The results of the present invention, as depicted in
The results 502 obtained from using the conventional approaches, however, do not provide a profile of solutions. The conventional approaches provide the user with a single solution, in this case 20 patterns, which does not allow the user to tradeoff the costs and advantages of using additional patterns.
In this particular case, the conventional methods would have informed the user that using 20 patterns would optimally minimize the amount of trim loss, but as can be seen from the results 501 of the present invention using anywhere from 7-9 cutting patterns would not result in a significant amount of trim loss, but would significantly reduce the changeover cost associated with using 20 cutting patterns.
Therefore, with modest computational effort, the method and system of the present invention can obtain solutions with very little trim loss, using many fewer patterns than would be obtained using the conventional methods. Furthermore, the augmentation approach of the invention is especially well suited for delivering a profile of solutions trading off the number of patterns used against trim loss.
As it stands, the number of binary bit variables for these usages is β|{circumflex over (N)}|, and there is a need to limit the number of these variables if one is to have some hope of quickly solving each of the ILPs along the way. The binary bit variables represent the number of times an activity is used. For example, if a bit variable xkj is set equal to 1, that corresponds to the particular activity, or pattern, being used 2k times.
The method of the present invention allows the user to artificially limit the number of binary bit variables. This is desirable for several reasons. For example, the model can take larger values for |{circumflex over (N)}| if it takes β to be smaller than that required by the maximum possible usage of a single pattern (in the computational experiments, β:=5). If a good pattern is found in this manner, then once it is transferred to {overscore (N)}, it will enjoy unrestricted usage.
For example, to achieve optimal results, while reducing the number of bits used and the number of patterns used, a user should start out by emulating curve 8 until 31 patterns are used. At this point, the user can switch to having 4 bits, because as can be seen from
As shown in
Such a method may be implemented, for example, by operating a computer, as embodied by a digital data processing apparatus to execute a sequence of machine-readable instructions. These instructions may reside in various types of signal-bearing media.
Thus, this aspect of the present invention is directed to a programmed product, comprising signal-bearing media tangibly embodying a program of machine-readable instructions executable by a digital data processor incorporating the CPU 711 and hardware above, to perform the method of the present invention.
This signal-bearing media may include, for example, a RAM (not shown) contained with the CPU 711, as represented by the fast-access storage, for example. Alternatively, the instructions may be contained in another signal-bearing media, such as a magnetic data storage diskette or CD disk 800 (
Whether contained in the diskette 800, the computer/CPU 711, or elsewhere, the instructions may be stored on a variety of machine-readable data storage media, such as DASD storage (e.g., a conventional “hard drive” or a RAID array), magnetic tape, electronic read-only memory (e.g., ROM, EPROM, or EEPROM), an optical storage device (e.g., CD-ROM, WORM, DVD, digital optical tape, etc,), or other suitable signal-bearing media including transmission media such as digital and analog and communication links and wireless. In an illustrative embodiment of the invention, the machine-readable instructions may comprise software object code, compiled from a language such as “C”, etc.
Additionally, it should also be obvious to one of skill in the art that the instructions for the technique described herein can be downloaded through a network interface from a remote storage facility.
The present method (and system) addresses the shortcomings of the conventional pattern-generation approach by formulating a holistic model that simultaneously seeks a small number of new patterns, their usages, and the usages of the current set of patterns. That is, the unified model of the present invention generates new patterns in situ. Another benefit of the unified model of the present invention is that it is easily embedded in a local-search framework which is ideal for working with constraints that are not modeled effectively in an ILP setting.
While the invention has been described in terms of several exemplary embodiments, those skilled in the art will recognize that the invention can be practiced with modification within the spirit and scope of the appended claims.
Further, it is noted that, Applicant's intent is to encompass equivalents of all claim elements, even if amended later during prosecution.
Claims
1. A method of generating at least one of a solution and a profile of solutions for a problem, comprising:
- trading off a reduction of an objective of the problem against a number of distinct activities utilized in a solution.
2. The method according to claim 1, further comprising:
- generating a model including at least a first set of variables and data and a second set of variables and data.
3. The method according to claim 2, wherein said first set of variables and data comprises known activities and said second set of variables and data comprises potential new activities.
4. The method according to claim 2, further comprising:
- setting an initial size of said first set of variables and data and an initial size of said second set of variables and data.
5. The method according to claim 2, further comprising:
- partially linearizing said model to remove instances of bilinear terms involving said second set of variables and data.
6. The method according to claim 2, further comprising:
- solving said model using a computational algorithm.
7. The method according to claim 2, further comprising:
- transferring activities in said second set of variables and data that provide an optimal solution from said second set of variables and data to said first set of variables and data.
8. The method according to claim 1, further comprising:
- generating new activities during development of said model.
9. The method according to claim 1, wherein said profile of solutions comprises a plurality of possible solutions.
10. The method according to claim 1, further comprising:
- dynamically limiting a number of times each of said number of activities is used.
11. The method according to claim 3, further comprising:
- determining whether moving at least one of said potential new activities from said second set of variables and data to said first set of variables and data would provide an improvement to said solution.
12. A method of generating at least one of a solution and a profile of solutions for a cutting stock problem, comprising:
- trading off a reduction of an amount of wasted stock material against a number of distinct patterns utilized to satisfy demands.
13. A computer system for generating at least one of a solution and a profile of solutions for a problem, comprising:
- means for generating a model having a first set of variables and data and a second set of variables and data; and
- means for repeatedly solving the model to generate a profile of solutions.
14. A computer system for generating at least one of a solution and a profile of solutions for a problem, comprising:
- an augmenting unit that repeatedly solves a model to generate a profile of solutions,
- wherein said profile trades off a reduction of an objective of the problem against a number of distinct activities utilized in a solution.
15. The computer system according to claim 14, further comprising:
- a partitioning unit that generates said model, said model comprising a first set of data and variables and a second set of data and variables.
16. The computer system according to claim 15, further comprising:
- an initializing unit that sets an initial size of said first set of data and variables and an initial size of said second set of data and variables.
17. The computer system according to claim 15, further comprising:
- a testing unit that determines whether moving a point from said second set of data and variables to said first set of data and variables would improve the solution.
18. A signal-bearing medium tangibly embodying a program of machine readable instructions executable by a digital processing apparatus to perform a of generating at least one of a solution and a profile of solutions for a problem, according to claim 1.
19. A method of deploying computing infrastructure, comprising integrating computer-readable code into a computing system, wherein the computer readable code in combination with the computing system is capable of performing a method of generating at least one of a solution and a profile of solutions for a problem, according to claim 1.
20. The signal-bearing medium according to claim 18, further comprising:
- generating a model including at least a first set of variables and data and a second set of variables and data.
21. The method according to claim 1, wherein said reduction comprises a minimization.
Type: Application
Filed: Mar 2, 2005
Publication Date: Sep 7, 2006
Applicant: International Business Machines Corporation (Armonk, NY)
Inventor: Jonathan Lee (Yorktown Heights, NY)
Application Number: 11/068,861
International Classification: G09G 5/37 (20060101);