# Patent application title: Pegging Resources to Shipments in a Pre-Existing Production Plan

##
Inventors:
Robert James Wittrock (Ossining, NY, US)

Assignees:
International Business Machines Corporation

IPC8 Class:

USPC Class:
705 725

Class name:

Publication date: 2012-11-15

Patent application number: 20120290354

Sign up to receive free email alerts when patent applications with chosen keywords are published SIGN UP

## Abstract:

In software systems for resource-constrained production planning (RCPP),
it is often beneficial to determine a detailed association, or "pegging",
between the resources and the shipments that are enabled by those
resources. The method implemented in the software systems is called
"Pegging By Explosion" (PBE), for constructing a pegging of a production
plan for an RCPP problem. The Pegging By Explosion technique takes a
feasible production plan and reconstructs it, using its own specialized
incremental allocation technique. A Pegging By Monitoring technique is
applied to this reconstruction in order to produce the pegging. The
reconstruction is accomplished by a specialized "explosion" technique
related to the explosion technique of Material Requirements Planning
(MRP).## Claims:

**1-15.**(canceled)

**16.**A non-transitory computer readable medium containing code implementing a method for constructing a pegging of a pre-existing production plan for a resource-constrained production planning (RCPP) problem, said method comprising the step of constructing the pegging after the production plan already had been generated, wherein the plan includes individual resources and individual shipments, and the pegging associates the individual resources in the plan and the individual shipments in the plan and reflects for a given shipment in the plan which resources were used specifically to enable that shipment.

**17.**The computer readable medium recited in claim 16, wherein the step of constructing the pegging comprises the steps of: reconstructing a modified version of the production plan by an incremental allocation technique, and then applying a Pegging By Monitoring technique to the reconstructed production plan in order to produce the pegging.

**18.**The computer readable medium recited in claim 17, wherein the step of reconstructing a modified version of the production plan is accomplished by a series of "explosion" steps similar to an explosion technique of Material Requirements Planning (MRP).

**19-20.**(canceled)

**21.**The computer readable medium recited in claim 16, further comprising the steps of: setting ConsSupVol

^{I}(r, tr)Min ((ConsSupVol (r, tr)-ConsSupVol

^{R}(r, tr)), ReqVol (r, tr)), and setting ReqVol (r, tr)+-ConsSupVol

^{I}(r, tr), and wherein the step exploding the requirement to production by operation j comprises the steps of: setting ProdVol

^{I}(j, tr)-Min ((ProdVol (j, tr)-ProdVol

^{R}(j, tr)), ReqVol (r, tr)), .A-inverted.r'εBOR (j), where BOR is Bill-of-Resources, performing the following three steps: .A-inverted.tr'εAllPer, performing the following step: setting ReqVol (r', tr')+UsageRate (j, tr, r', tr')*ProdVol

^{I}(j, tr), setting ReqVol (r, tr)+-ProdVol

^{I}(j, tr), and wherein the step exploding the requirement to stock in period tr-1 comprises the steps of if tr=1, doing nothing, but otherwise performing the following three steps: setting StockVol

^{I}(r, tr-1)Min ((StockVol (r, tr-1)-StockVol

^{R}(r, tr-1)), ReqVol (r, tr)), setting ReqVol (r, tr-1)+StockVol

^{I}(r, tr-1), and setting ReqVol (r, tr)+-StockVol

^{I}(r, tr-1).

**22.**The computer readable medium recited in claim 16, further comprising steps of netting the requirement against supply, exploding the requirement to production by operation j, and exploding the requirement to stock in period tr-1 performed in any order, where this method is called Pegging By Explosion Technique for Positive Consumption RCPP Problems, or PC-PBE technique.

**23-26.**(canceled)

**27.**The computer readable medium recited in claim 16, specifically applied to construct a pegging of the solution of a Material Requirements Planning problem.

**28.**The computer readable medium recited in claim 22, wherein the method is restricted to be used only on problems in which Nperiods=1, where the method is made simpler to implement in the following ways: by eliminating the concept of a period from all of the data and notation; by eliminating the distinction between material resources and capacity resources; by deleting all references to stock volume (StockVol ( )) and its pegging; and by removing the exploding the requirement to stock step from the method.

**29.**The computer readable medium recited in claim 22, wherein the method is restricted to be used only on problems in which each resource can only be produced by at most one operation, where the method is made simpler to implement in the following ways: by eliminating the concept of an operation from all of the data and notation, eliminating all data associated with an operation and replacing it by corresponding data associated with a product, so that, e.g., ProdVol (j, tj) for operation j is replaced by ProdVol (r, tr) for product resource r; by eliminating the following two steps from method: .A-inverted.jεProdOpns (r), performing the following step: exploding the requirement to production by operation j; by replacing the above two steps with the following step: exploding the requirement to production, if the resource is a product.

**30.**The computer readable medium recited in claim 22, wherein the method is restricted to be used only on problems in which Nperiods=1 and in which each resource can only be produced by at most one operation, where the method is made simpler to implement in the following ways: by eliminating the concept of a period from all of the data and notation; by eliminating the distinction between material resources and capacity resources; by deleting all references to stock volume (StockVol ( )) and its pegging; by removing the exploding the requirement to stock step from the method. by eliminating the concept of an operation from all of the data and notation, eliminating all data associated with an operation and replacing it by corresponding data associated with a product, so that, e.g., ProdVol (j, tj) for operation j is replaced by ProdVol (r, tr) for product resource r; by eliminating the following two steps from method: .A-inverted.jεProdOpns (r), performing the following step: exploding the requirement to production by operation j; by replacing the above two steps with the following step: exploding the requirement to production, if the resource is a product.

**31.**A computer implemented method for constructing a pegging of a production plan for a resource-constrained production planning (RCPP) problem, comprising: constructing, performed by an RCPP system, the pegging after the production plan has already been generated; netting, performed by the RCPP system, a requirement against supply, wherein the netting comprises: setting ConsSupVol

^{I}(r, tr)Min ((ConsSupVol (r, tr)-ConsSupVol

^{R}(r, tr)), ReqVol (r, tr)), and setting ReqVol (r, tr)+-ConsSupVol

^{I}(r, tr), exploding, performed by the RCPP system, the requirement to production by operation j, wherein the exploding the requirements to production comprises: setting ProdVol

^{I}(j, tr)Min ((ProdVol (j, tr)-ProdVol

^{R}(j, tr)), ReqVol (r, tr)), .A-inverted.r'εBOR (j), where BOR is Bill-of-Resources, performing the following three steps: .A-inverted.tr'εAllPer, performing the following step: setting ReqVol (r', tr')+UsageRate (j, tr, r', tr')*ProdVol

^{I}(j, tr), setting ReqVol (r, tr)+-ProdVol

^{I}(j, tr); exploding the requirement to stock in period tr-1, wherein the exploding the requirement to stock comprises: doing nothing when tr=1, but otherwise performing the following three steps: setting StockVol

^{I}(r, tr-1)Min ((StockVol (r, tr-1)-StockVol

^{R}(r, tr-1)), ReqVol (r, tr)), setting ReqVol (r, tr-1)+StockVol

^{I}(r, tr-1), and setting ReqVol (r, tr)+-StockVol

^{I}(r, tr-1).

**32.**A computer implemented method for constructing a pegging of a production plan for a resource-constrained production planning (RCPP) problem which is a Positive Consumption RCPP problem, comprising: receiving into an RCPP system as input the Positive Consumption RCPP problem; receiving into the RCPP system as input a feasible production plan for the problem; either receiving as input into the RCPP system a shipment sequence corresponding to shipments in the production plan, or computing by the RCPP system a default shipment sequence; constructing by the RCPP system the pegging after the production plan has already been generated; wherein the constructing the pegging comprises: (1) reconstructing a modified version of the production plan by an incremental allocation technique, wherein the reconstructing is accomplished by performing a series of "explosion" steps to produce a reconstructed production plan; followed by (2) applying a Pegging By Monitoring technique to the reconstructed production plan in order to produce the pegging; initializing the reconstructed production plan to zero, initializing the pegging to zero, proceeding through the triples (d*, td*, IncShipVol) in the shipment sequence, with each demand d* in period td*; constructing, by performing a set of specialized explosion steps, an incremental production plan denoted by ProdVol

^{I}( ), StockVol

^{I}( ), ConsSupVol

^{I}( ), and ShipVol

^{I}( ) that specifies a feasible means of enabling a shipment of IncShipVol units to demand d* in period td* without using any resources that have already been pegged, wherein the specialized explosion steps comprise: initializing the incremental production plan to zero, associating a quantity, ReqVol (r, tr), with each resource r in each period tr, initializing all values of ReqVol (r, tr) to zero, setting ShipVol

^{I}(d*, td*) to IncShipVol, setting ReqVol (DemRes (d*), td*) to IncShipVol, proceeding through each resource rεAllRes in order of decreasing ResIdx (r): proceeding through each period trεAllPer in decreasing order: netting the requirement against supply, .A-inverted.jεProdOpns (r): wherein the netting the requirement against supply comprises: setting ConsSupVol

^{I}(r, tr)Min ((ConsSupVol (r, tr)-ConsSupVol

^{R}(r, tr)), ReqVol (r, tr)), and setting ReqVol (r, tr)+-ConsSupVol

^{I}(r, tr), exploding the requirement to production by operation j, wherein the exploding the requirement to production by operation j comprises: setting ProdVol

^{I}(j, tr)Min ((ProdVol (j, tr)-ProdVol

^{R}(j, tr)), ReqVol (r, tr)), .A-inverted.r'εBOR (j), where BOR is Bill-of-Resources, performing the following three steps: .A-inverted.tr'εAllPer, performing the following step: setting ReqVol (r', tr')+UsageRate (j, tr, r', tr')*ProdVol

^{I}(j, tr), setting ReqVol (r, tr)+-ProdVol

^{I}(j, tr), and exploding the requirement to stock in period tr-1, wherein the exploding the requirement to stock in period tr-1 comprises: doing nothing when tr=1, but otherwise performing the following three steps: setting StockVol

^{I}(r, tr-1)Min ((StockVol (r, tr-1)-StockVol

^{R}(r, tr-1)), ReqVol (r, tr)), setting ReqVol (r, tr-1)+StockVol

^{I}(r, tr-1), and setting ReqVol (r, tr)+-StockVol

^{I}(r, tr-1) adding the incremental production plan to the reconstructed production plan; pegging the incremental production plan to the current shipment (d*, td*); and reporting the pegging.

**33.**The computer readable medium recited in claim 18, wherein the method is restricted to be used only on Positive Consumption resource-constrained production planning (RCPP) problems and comprises of the steps of: reading in a Positive Consumption RCPP problem, reading in a feasible pre-existing production plan for the problem, either reading in a shipment sequence corresponding to the shipments in the pre-existing production plan, or computing a default shipment sequence, initializing the reconstructed production plan to zero, initializing the pegging to zero, proceeding through the triples (d*, td*, IncShipVol) in the shipment sequence, with each demand d* in period td*, and performing the following three steps: employing a specialized explosion technique to construct an incremental production plan (denoted by ProdVol

^{I}( ), StockVol

^{I}( ), ConsSupVol

^{I}( ), and ShipVol

^{I}( )) that specifies a feasible means of enabling a shipment of IncShipVol units to demand d* in period td* without using any resources that have already been pegged, adding the incremental production plan to the reconstructed production plan, and pegging the incremental production plan to the current shipment (d*, td*), and reporting the pegging.

**34.**The computer implemented method recited in claim 7, wherein the method comprises constructing a pegging of a production plan for any RCPP problem, and explicitly constructing an auxiliary problem and production plan identical to the original problem and production plan, except that for each resource, an "auxiliary" operation is added that produces that resource and consumes no resources, the negative consumption of each resource is replaced with production by the auxiliary operation for that resource, and all negative usage rates are set to zero, and applying the PC-PBE technique to the auxiliary problem and production plan, and transferring the resulting pegging back into the original problem and production plan.

**35.**The computer implemented method recited in claim 7, comprising constructing a pegging of a production plan for any RCPP problem, and conceptually defining the auxiliary problem and production plan identical to the original problem and production plan, except for steps comprising: for each resource, adding an "auxiliary" operation that produces that resource and consumes no resources, replacing the negative consumption of each resource with production by the auxiliary operation for that resource, and setting all negative usage rates to zero.

**36.**The computer implemented method recited in claim 35 comprising constructing a pegging of a production plan for a variant of an RCPP problem that has been generalized and into which has been substituted therein a Bill-of-Resources (BOR) structure, the method comprising: conceptually defining a transformed RCPP problem and production plan that is equivalent to the original problem and production plan, but has no substitution.

**37.**The computer implemented method recited in claim 35, comprising constructing a pegging of a production plan for a variant of an RCPP problem that has been generalized and into which has been substituted therein a Bill-of-Resources (BOR) structure and in which violations of the resource constraints are permitted, the method comprising: conceptually defining a transformed RCPP problem and production plan that is equivalent to the original problem and production plan, but has no substitution and does not violate any of the resource constraints.

**38.**The computer readable medium recited in claim 22, wherein the method comprises construction of a pegging of a production plan for any RCPP problem, and explicitly constructing an auxiliary problem and production plan identical to the original problem and production plan, except that for each resource, an "auxiliary" operation is added that produces that resource and consumes no resources, the negative consumption of each resource is replaced with production by the auxiliary operation for that resource, and all negative usage rates are set to zero, and applying the PC-PBE technique to the auxiliary problem and production plan, and transferring the resulting pegging back into the original problem and production plan.

**39.**The computer readable medium recited in claim 22, wherein the method comprises construction of a pegging of a production plan for any RCPP problem, and conceptually defining the auxiliary problem and production plan identical to the original problem and production plan, except that for each resource, an "auxiliary" operation is added that produces that resource and consumes no resources, the negative consumption of each resource is replaced with production by the auxiliary operation for that resource, and all negative usage rates are set to zero, working with the original problem and production plan, and performing a sequence of steps that are mathematically equivalent to those that the PC-PBE technique would be performing, if it were being applied to the auxiliary problem and production plan, whereby the method is called Pegging By Explosion Technique for RCPP Problems, or the PBE technique.

**40.**The computer readable medium recited in claim 39, wherein the method comprises construction of a pegging of a production plan for a variant of an RCPP problem that has been generalized so as to allow substitution in a Bill-of-Resources (BOR) structure, and conceptually defining a transformed RCPP problem and production plan that is equivalent to the original problem and production plan, but has no substitution, working with the original problem and production plan, and performing a sequence of steps that are mathematically equivalent to those that the PBE technique would be performing, if it were being applied to the transformed problem and production plan.

**41.**The computer readable medium recited in claim 39, wherein the method comprises construction of a pegging of a production plan for a variant of an RCPP problem that has been generalized so as to allow substitution in a Bill-of-Resources (BOR) structure and to permit violations of the resource constraints, and conceptually defining a transformed RCPP problem and production plan that is equivalent to the original problem and production plan, but has no substitution and does not violate any of the resource constraints, working with the original problem and production plan, and performing a sequence of steps that are mathematically equivalent to those that the PBE technique would be performing, if it were being applied to the transformed problem and production plan.

## Description:

**BACKGROUND OF THE INVENTION**

**[0001]**1. Field of the Invention

**[0002]**The present invention generally relates to manufacturing resource planing, and more particularly to software systems for resource-constrained production planning.

**[0003]**2. Background Description

**[0004]**Software systems for resource-constrained production planning (RCPP) take as input data a description of a production planning problem. This includes a listing of the basic data objects of the problem; i.e., capacity resources, raw material resources, subassemblies, final products, and demands for the products, as well as a multi-level Bill-Of-Resources network that defines how the products can be produced from subassemblies, raw materials and capacities. It also includes various attributes on these objects such as supply volumes, demand volumes, production usage rates, and economic data or priorities. In addition, the problem data is defined with respect to a set of discrete time periods.

**[0005]**Given these inputs, an RCPP system computes a production plan that consists of two portions: (1) a production portion of plan that specifies of how much of each product is to be produced in each time period, and (2) a shipment portion of the plan that specifies how much of each demand is to be fulfilled in each time period. (The fulfillment of a demand in a period may be called a "shipment" to that demand.) The production plan computed by the RCPP system is normally required to be feasible, meaning it satisfies the resource constraints that are specified in the input data.

**[0006]**Two methods for solving the RCPP problem are described in U.S. Pat. No. 5,548,518 for "Allocation Method for Generating a Production Schedule" and U.S. Pat. No. 5,630,070 for "Optimization of Manufacturing Resource Planning", both to Dietrich et al. More specifically, U.S. Pat. No. 5,548,518 discloses an allocation method which, in response to a specified requirement, determines what quantity of a product can be produced with a specified quantity of supply components, allocates a required quantity of supply components for filling a defined partial order and fills a remainder of the requirement at some later time. U.S. Pat. No. 5,630,070 discloses a method for constrained material requirements planning, optimal resource allocation and production planning which optimizes a manufacturing process by designating the amounts of various manufactured products to be produced, which products include both end products as well as subassemblies.

**[0007]**Users of RCPP systems frequently desire more information than just the production plan itself. One question that is often asked is, "For any given shipment in the production plan, which resources were utilized specifically to enable that shipment?" Generally, this information is not evident in the production plan itself. The production plan specifies which resources are used and which demands are met, but it does not provide an association between the two. This may be called "the pegging problem" for RCPP; that is, given an RCPP problem and a corresponding feasible production plan, define an association between the individual resources that are utilized in the plan and the individual shipments in the plan. Such an association is called a "pegging" of the production plan. A resource that is associated with a particular shipment is said to be "pegged" to it.

**[0008]**Users of RCPP systems have many uses for a pegging of a production plan, including the following:

**[0009]**Verifying the validity of the production plan.

**[0010]**Verifying the validity of the input data.

**[0011]**Identifying which demands are responsible for depleting the supplies of critical (i.e., bottleneck) resources.

**[0012]**Identifying opportunities to improve the production plan by increasing the supplies of the resources that were used by the most important demands.

**[0013]**Generally deepening the user's understanding of the production plan.

**[0014]**One possible method for computing a pegging might be called "Pegging By Monitoring". This technique would apply when the RCPP system solves the RCPP problem by an "incremental allocation" technique, as disclosed for example in U.S. Pat. No. 5,548,518. An incremental allocation technique for RCPP has the following key properties:

**[0015]**It starts with an empty production plan.

**[0016]**It proceeds by iterations.

**[0017]**Each iteration creates only one new shipment.

**[0018]**As the technique progresses, the production volume for any product in any period can be increased, but it can never be decreased. The "Pegging By Monitoring" technique would proceed by monitoring the incremental allocation technique; that is, whenever a production volume of a product is increased by the incremental technique, that increase is pegged to the shipment for the current iteration.

**[0019]**In some respects, "Pegging By Monitoring" is a very appealing form of pegging. It s a direct reflection of what how the production plan was built up by the incremental allocation technique. But it has the following drawbacks:

**[0020]**It can only be applied, if the production plan is being computed by an incremental allocation technique.

**[0021]**It must be integrated with the RCPP solver itself; it cannot be applied to a production plan that has already been computed.

**SUMMARY OF THE INVENTION**

**[0022]**It is therefore an object of the present invention to provide a method for solving the pegging problem in a resource-constrained production planning system which avoids the problems of the "Pegging By Monitoring" approach.

**[0023]**According to the invention, there is provided a method for constructing a pegging of a production plan for the RCPP problem which is called herein "Pegging By Explosion" (PBE). The Pegging By Explosion technique takes a feasible production plan and reconstructs it, using its own specialized incremental allocation technique. The Pegging By Monitoring technique (described above) is applied to this reconstruction in order to produce the pegging. The reconstruction is accomplished by a specialized "explosion" technique related to the well-known explosion technique of Material Requirements Planning (MRP). (For details above MRP, see Manufacturing Planning and Control Systems, by T. E. Vollmann, W. L. Berry, and D. C. Whybark, McGraw-Hill, 4th ed., Mar. 1, 1997). A conventional MRP explosion technique would usually not be able to reconstruct an arbitrary production plan to an RCPP problem. In contrast, the explosion technique used by PBE does so, by making use of detailed knowledge of the production plan itself.

**[0024]**The advantages of using the Pegging By Explosion technique instead of the Pegging By Monitoring technique are as follows:

**[0025]**It can be used regardless of how the production plan was generated.

**[0026]**It does not need to be integrated with the RCPP solver. Note that a pegging of a production plan is not uniquely determined by the production plan itself. For any given feasible production plan, there will normally be many different possible peggings. In light of this, it is important to construct a pegging that a user is likely to find "plausible". Specifically, it should be plausible that the resources that are pegged to a particular shipment were precisely those resources that made that shipment possible. The PBE technique of the present invention constructs a pegging that is guaranteed to satisfy this "plausibility" condition.

**BRIEF DESCRIPTION OF THE DRAWINGS**

**[0027]**The foregoing and other objects, aspects and advantages will be better understood from the following detailed description of a preferred embodiment of the invention with reference to the drawings, in which:

**[0028]**FIG. 1 is a data flow diagram illustrating the PBE technique in the context of an RCPP system;

**[0029]**FIG. 2 is a data flow diagram similar to FIG. 1 with the addition of a shipment sequence;

**[0030]**FIG. 3 is a flow diagram illustrating the logic of the PBE algorithm according to the invention;

**[0031]**FIG. 4 is a flow diagram of the procedure "Explode-Triple" used in the algorithm of FIG. 3; and

**[0032]**FIG. 5 is a flow diagram of the procedure "Main-Iteration" used in the procedure of FIG. 4.

**DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS OF THE INVENTION**

**[0033]**The invention disclosed here is a novel method for constructing a pegging of a production plan for an RCPP problem. The technique is called "Pegging By Explosion" (PBE).

**[0034]**The Pegging By Explosion technique takes a feasible production plan and reconstructs it, using its own specialized incremental allocation technique. The Pegging By Monitoring technique (described above) is applied to this reconstruction in order to produce the pegging. The reconstruction is accomplished by a specialized "explosion" technique related to the well-known explosion technique of Material Requirements Planning (MRP). (For details above MRP, see Manufacturing Planning and Control Systems, by T. E. Vollman, W. L. Berry, and D. C. Whybark.) A conventional MRP explosion technique would usually not be able to reconstruct an arbitrary production plan to an RCPP problem. In contrast, the explosion technique used by PBE does so by making use of detailed knowledge of the production plan itself.

**[0035]**The data flow for the PBE technique in the context of an RCPP system is illustrated in FIG. 1. As shown in FIG. 1, the RCPP problem data 1 is input to the RCPP solver 2, which produces a production plan 3. The Pegging by Explosion (PBE) technique 4 according to the present invention is applied to the thus produced production plan 3, yielding the pegging 5 of the production plan.

**[0036]**The advantages of using the Pegging By Explosion technique instead of the Pegging By Monitoring technique are as follows:

**[0037]**It can be used regardless of how the production plan was generated.

**[0038]**It does not need to be integrated with the RCPP solver. Note that a pegging of a production plan is not uniquely determined by the production plan itself: For any given feasible production plan, there will normally be many different possible peggings. In light of this, it is important to construct a pegging that a user is likely to find "plausible". Specifically, it should be plausible that the resources that are pegged to a particular shipment were precisely those resources that made that shipment possible. Hereinafter, a precise mathematical condition will be defined that formalizes of the idea of a plausible pegging. The PBE technique constructs a pegging that is guaranteed to satisfy this "plausibility" condition.

**[0039]**This is an algorithmic invention. It would be implemented in computer software, normally as an additional capability of an RCPP system, although in principle, it could be implemented as a stand-alone software tool.

**[0040]**Before describing the PBE technique, the underlying RCPP problem must be defined.

**The RCPP Problem**

**[0041]**An RCPP problem is built up out of several kinds of data objects:

**[0042]**Periods: A period represents a distinct interval of time, such as a day, a week, two months, a year, etc. The periods in an RCPP problem need not be of uniform duration. The periods are represented by the integers from 1 to N periods, the number of periods.

**[0043]**Resources: These represent capacity resources, raw material resources, subassembly resources, and even the final products themselves.

**[0044]**Materials: These are resources that remain available in the next period, if they are not used in a given period.

**[0045]**Capacities: These are resources that do not remain available in the next period, if they are not used in a given period. Each resource is either a material or a capacity, but not both.

**[0046]**Products: These are the resources that can be produced. They may be either materials or capacities.

**[0047]**Operations: An operation represents a means by which a particular product can be produced. Each operation produces exactly one product; each product is produced by one or more operations. If a product is produced by more than one operation, this simply indicates that there is more than one way to produce that product.

**[0048]**Demands: Each demand is associated with a resource and represents demand for that resource. Each resource is associated with zero or more demands.

**Let**

**[0048]**

**[0049]**AllPer=The set of all periods={1, 2, . . . , Nperiods}

**[0050]**AllRes=The set of all resources

**[0051]**AllMat=The set of all materials (Thus, AllMat.OR right.AllRes.)

**[0052]**AllCap=The set of all capacities (Thus, AllCap.OR right.AllRes.)

**[0053]**AllOpn=The set of all operations

**[0054]**AllDem=The set of all demands .A-inverted.dεAllDem:

**[0055]**Let DemRes (d)=The resource demanded by demand d. .A-inverted.rεAllRes:

**[0056]**Let ResDems (r)={dεAllDem|r=DemRes (d)} .A-inverted.jεAllOpn:

**[0057]**Let ProdRes (j)=The resource produced by operation j. .A-inverted.rεAllRes:

**[0058]**Let ProdOpns (r)={jεAllOpn|r=ProdRes (j)}

**[0059]**[These are the "producing operations" for resource r.]

**[0060]**[Resource r is a product, if and only if ProdOpns (r)≠o] .A-inverted.jεAllOpn:

**[0061]**Let BOR (j)=The set of all resources that must be consumed by operation j in order to produce ProdRes (j). This is the "Bill-Of-Resources" of operation j. .A-inverted.rεAllRes:

**[0062]**Let ConsOpns (r)={jεAllOpn|rεBOR (j)}

**[0063]**[These are the "consuming operations" of resource r.]

**[0064]**Given any resource r and any period tr, there is an associated nonnegative quantity, SupplyVol (r, tr) ("supply volume"), that specifies the amount of resource r that is available as supply in period tr. Given any demand d and any period td, there is an associated nonnegative quantity, DemandVol (d, td) ("demand volume"), that specifies the amount of resource DemRes (d) that is demanded by demand d in period td.

**[0065]**Given any operation j, any period tj, any resource rεBOR (j), and any period tr, there is an associated quantity, UsageRate (j, tj, r, tr) ("usage rate"), that specifies the amount of resource r that must be consumed in period tr for each unit of ProdRes (j) that is produced by operation j in period tj. Note that UsageRate (j, tj, r, tr) may be negative. This indicates that, when operation j produces ProdRes (j) in period tj, it consumes a negative amount of resource r in period tr. This can be used to model operations that have two or more outputs: ProdRes (j) is the main product, while resources rεBOR (j) with UsageRate (j, tj, r, tr)<0 are by-products. Many MRP databases contain negative usage rates in their BOR data.

**[0066]**With each resource r, there is an associated integer, ResIdx (r) ("resource index"), distinct for each resource. This index defines an ordering for the resources and has the following property:

**.A-inverted.jεAllOpn, tjεAllPer, .A-inverted.rεBOR (j), trεAllPer:**

**[0067]**If UsageRate (j, tj, r, tr)>0, then:

**[0068]**ResIdx (ProdRes (j))>ResIdx (r). Finally, there would also be economic or priority data associated with the resources, operations, and demands, but this data is not necessary for defining a pegging technique.

**[0069]**A solution to an RCPP problem is a production plan. Given any operation, j, and any period, tj, the production plan specifies an associated quantity, ProdVol (j, tj) ("production volume") that represents the amount of resource ProdRes (j) that is to be produced by operation j in period tj. Given any resource, r, and any period, tr, the production plan specifies an associated quantity, StockVol (r, tr) ("stock volume") that represents the amount of resource r that is to be carried over from period tr to period tr+1. If r is a capacity, then StockVol (r, tr)=0. For notational convenience, let StockVol (r, 0)=0. Given any resource, r, and any period, tr, the production plan specifies an associated quantity, ConsSupVol (r, tr) ("consumed supply volume") that represents the amount of the supply of resource r from period tr that is consumed in any period. Given any demand, d and any period td, the production plan specifies an associated quantity, ShipVol (d, td) ("shipment volume") that represents the quantity of the demand that is to be fulfilled (i.e., "shipped") in period td. The collection of production volumes of all operations, stock volumes and consumed supply volumes of all resources, and shipment volumes of all demands constitutes the production plan.

**[0070]**Given a production plan, the following further quantities may be defined:

**.A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer : ##EQU00001## Let TotShipVol ( r , tr ) = d .di-elect cons. ResDems ) r ) ShipVol ( d , tr ) ##EQU00001.2## Let TotProdVol ( r , tr ) = j .di-elect cons. ProdOpns ( r ) ProdVol ( j , tr ) ##EQU00001.3## Let ConsVol ( r , tr ) = j .di-elect cons. ConsOpns ( r ) y .di-elect cons. AllPers UsageRate ( j , tj , r , tr ) ProdVol ( j , tj ) ##EQU00001.4##**

**[0071]**TotShipVol (r, tr) is the total amount of resource r that is shipped in period tr ("total shipment volume"). TotProdVol (r, tr) is the total amount of resource r that is produced in period tr ("total production volume"). ConsVol (r, tr) is the amount of resource r that is consumed in period tr ("consumption volume"). Note that, if r is not a product, then TotProdVol (r, tr)=0. A production plan is required to satisfy the following constraints:

**.A-inverted. j .di-elect cons. AllOpn , .A-inverted. tj .di-elect cons. AllPer : ProdVol ( j , tj ) ≧ 0 [ non - negativity constraints ] .A-inverted. d .di-elect cons. AllDem , .A-inverted. td .di-elect cons. AllPer : ShipVol ( d , td ) ≧ 0 [ non - negativity constraints ] .A-inverted. r .di-elect cons. AllMat , .A-inverted. tr .di-elect cons. AllPer : StockVol ( r , tr ) = 0 [ non - stocking constraints ] .A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer : ConsSupVol ( r , tr ) [ SupplyVol ( r , tr ) [ supply constraints ] .A-inverted. d .di-elect cons. AllDem , .A-inverted. td .di-elect cons. AllPer : td ' = 1 td ShipVol ( d , td ' ) ≦ td ' = 1 td DemandVol ( d , td ' ) [ demand constraints ] .A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer : TotShipVol ( r , tr ) + ConsVol ( r , tr ) + StockVol ( r , tr ) ≦ ConsSupVol ( r , tr ) + TotProdVol ( r , tr ) + StockVol ( r , tr - 1 ) [ resource constraints ] ##EQU00002##**

**[0072]**A production plan that satisfies all of the above constraints is said to be feasible.

**An important special case of the RCPP problem is the Positive Consumption**RCPP problem. An RCPP problem is defined to be a Positive Consumption RCPP (PC RCPP) problem, if it has the following property: .A-inverted.jεAllOpn, tjεAllPer, .A-inverted.rεBOR (j), trεAllPer:

**[0073]**UsageRate (j, tj, r, tr)≧0

**Note that this implies the following property**: .A-inverted.jεAllOpn, .A-inverted.rεBOR (j):

**[0074]**ResIdx (ProdRes (j))>ResIdx (r).

**Precise Definition of Pegging**

**[0075]**Given an RCPP problem and feasible production plan for it, a pegging of the production plan has three portions: (1) a production pegging, (2) a stock pegging, and a (3) supply pegging. Given any operation j, any period tj, any demand d, and any period td, a production pegging specifies an associated quantity, PgdProdVol (j, tj, d, td) ("pegged production volume"). This is the portion of ProdVol (j, tj) that is pegged to the shipment of demand d in period td.

**[0076]**A production pegging must satisfy the following two constraints:

**.A-inverted. j .di-elect cons. AllOpn , .A-inverted. tj .di-elect cons. AllPer , .A-inverted. d .di-elect cons. AllDem , .A-inverted. td .di-elect cons. AllPer : ##EQU00003## PgdProdVol ( j , tj , d , td ) ≧ 0 [ non - negativity constraints ] ##EQU00003.2## .A-inverted. j .di-elect cons. AllOpn , .A-inverted. tj .di-elect cons. AllPer : ##EQU00003.3## d .di-elect cons. AllDems td .di-elect cons. AllPers PgdProdVol ( j , tj , d , td ) ≦ ProdVol ( j , tj ) [ total pegging constraints ] ##EQU00003.4##**

**Similarly**, given any resource r, any period tr, any demand d, and any period td, a stock pegging specifies an associated quantity, PgdStockVol (r, tr, d, td) ("pegged stock volume"). This is the portion of StockVol (r, tr) that is pegged to the shipment of demand d in period td.

**[0077]**A stock pegging must satisfy the following two constraints:

**.A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer , .A-inverted. d .di-elect cons. AllDem , .A-inverted. td .di-elect cons. AllPer : ##EQU00004## PgdStockVol ( r , tr , d , td ) ≧ 0 [ non - negativity constraints ] ##EQU00004.2## .A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer : ##EQU00004.3## d .di-elect cons. SllDems td .di-elect cons. AllPers PgdStockVol ( r , tr , d , td ) ≦ StockVol ( r , tr ) [ total pegging constraints ] ##EQU00004.4##**

**Note that this implies that PgdStockVol**(r, tr, d, td)=0, if r is a capacity.

**[0078]**Finally, given any resource r, any period tr, any demand d, and any period td, a supply pegging specifies an associated quantity, PgdConsSupVol (r, tr, d, td) ("pegged consumed supply volume"). This is the portion of ConsSupVol (r, tr) that is pegged to the shipment of demand d in period td.

**[0079]**A supply pegging must satisfy the following two constraints:

**.A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer , .A-inverted. d .di-elect cons. AllDem , .A-inverted. td .di-elect cons. AllPer : ##EQU00005## PgdConsSupVol ( r , tr , d , td ) ≧ 0 [ non - negativity constraints ] ##EQU00005.2## .A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer : ##EQU00005.3## d .di-elect cons. AllDems td .di-elect cons. AllPers PgdConsSupVol ( r , tr , d , td ) ≦ ConsSupVol ( r , tr ) [ total pegging constraints ] ##EQU00005.4##**

**[0080]**A pegging of a production plan for an RCPP problem is simply a production pegging, stock pegging, and supply pegging that satisfy the above six constraints. The total pegging constraints enforce a requirement that any quantity of production, stock, or supply that is pegged to one shipment cannot be pegged to any other. Note that the total pegging constraints are inequality constraints. This reflects the fact that it is acceptable for some portion of the production, stock, and supply not to be pegged to any shipment.

**Plausible Peggings**: The "Feasible Partitioning" Property

**[0081]**Given an RCPP problem, a feasible production plan for it, and a pegging of the production plan, and given any demand, d* and any period, td*, the pegged production plan for (d*, td*) is defined as follows:

**[0082]**ShipVol

^{P}(d*, td*)=ShipVol (d*, td*)

**[0083]**.A-inverted.dεAllDem, .A-inverted.tdεAllPer:

**[0084]**If d≠d* or td≠td*, then ShipVol

^{P}(d, td)=0

**[0085]**.A-inverted.jεAllOpn, .A-inverted.tjεAllPer:

**[0086]**ProdVol

^{P}(j, tj)=PgdProdVol (j, tj, d*, td*)

**[0087]**.A-inverted.rεAllRes, .A-inverted.trεAllPer:

**[0088]**StockVol

^{P}(r, tr)=PgdStockVol (r, tr, d*, td*)

**[0089]**ConsSupVol

^{P}(r, tr)=PgdConsSupVol (r, tr, d*, td*) The pegging is defined to be a feasible partitioning of the production plan if, for each demand d* and each period td*, the pegged production plan for (d*, td*) is feasible. Informally, this means that the pegging has partitioned the production plan into a set of disjoint portions associated with each shipment, where each portion defines a feasible production plan for achieving its corresponding shipment. This is a precise way of saying that the pegging is plausible.

**[0090]**In the context of a Positive Consumption RCPP problem, the pegging constructed by the PBE technique is guaranteed to be a feasible partitioning.

**The Shipment Sequence**

**[0091]**In addition to an RCPP problem and a production plan, the PBE technique optionally accepts one extra item of input data: a shipment sequence, ShipSeq. This is an ordered list of triples (d, td, IncShipVol), where dεAllDem, tdεAllPer, and IncShipVol≧0 ("incremental shipment volume"). The shipment sequence is required to satisfy the following constraints:

**.A-inverted. d .di-elect cons. AllDem , .A-inverted. td .di-elect cons. AllPer : ( d , td , IncShipVol ) .di-elect cons. ShipSeq IncShipVol = ShipVol ( d , td ) ##EQU00006##**

**In essence**, a shipment sequence is simply the set of all shipments in the production plan arranged into some specific order, where the shipments may be broken into partial shipments that can be interlaced within the sequence.

**[0092]**The shipment sequence is optional input, because the PBE technique can easily generate one by default. For a default shipment sequence. it can simply go through the periods in order, and for each period, it can go through the demands in any order:

**TABLE**-US-00001 {(demand #1, period #1, shipVol (demand #1, period #1)), (demand #2, period #1, shipVol (demand #2, period #1)), ..., (demand #1, period #2, shipVol (demand #1, period #2)), ...}

**[0093]**By specifying a non-default shipment sequence, the user can exercise some control over the pegging that will result: The resources that the PBE technique pegs first will be pegged to the shipments that appear earliest in the shipment sequence.

**[0094]**The data flow for the PBE technique with an optional shipment sequence is illustrated in FIG. 2. Here, blocks 6 to 10 correspond to blocks 1 to 5 of FIG. 1, while block 11 shows how the optional shipment sequence relates to the overall data flow.

**The Pegging by Explosion Technique for the Positive Consumption RCPP**Problem

**[0095]**The Pegging By Explosion technique will initially be described in the context of the PC RCPP problem. Following this initial description, the technique will be extended to apply to the fully general RCPP problem.

**[0096]**The PBE technique functions by reconstructing the production plan in a somewhat modified form. Let ProdVol

^{R}( ), StockVol

^{R}( ), ConsSupVol

^{R}( ), and ShipVol

^{R}( ) denote the reconstructed production plan. Upon conclusion of the reconstruction, the following properties hold:

**[0097]**.A-inverted.dεAllDem, .A-inverted.tdεAllPer:

**[0098]**ShipVol

^{R}(d, td)=ShipVol (d, td) (1) .A-inverted.jεAllOpn, .A-inverted.tjεAllPer:

**[0099]**ProdVol

^{R}(j, tj)<ProdVol (j, tj) (2) .A-inverted.rεAllRes, .A-inverted.trεAllPer:

**[0100]**StockVol

^{R}(r, tr)≦StockVol (r, tr) (3)

**[0101]**ConsSupVol

^{R}(r, tr)≦ConsSupVol (r, tr) (4) In addition, the reconstructed production plan is feasible. In other words, the reconstructed plan achieves the same set of shipments as the original plan, by only using production, stock, and supply that was used in the original.

**[0102]**The description of the PBE algorithm will be broken down into smaller "procedures". The most important procedure in the PBE algorithm is called "Explode-For-PBE". This procedure takes as its argument a triple (d*, td*, IncShipVol) from the shipment sequence and computes an incremental production plan for the triple, denoted by ProdVol

^{I}( ), StockVol

^{I}( ), ConsSupVol

^{I}( ), and ShipVol

^{I}( ).

**[0103]**When the Explode-For-PBE procedure returns, the following properties hold:

**[0104]**.A-inverted.dεAllDem, .A-inverted.tdεAllPer:

**[0105]**If d=d* and td=td*, then ShipVol

^{I}(d, td)=IncShipVol (5)

**[0106]**Otherwise, ShipVol

^{I}(d, td)=0 (5)

**[0107]**.A-inverted.jεAllOpn, .A-inverted.tjεAllPer:

**[0108]**ProdVol

^{R}(j, tj)+ProdVol

^{I}(j, tj)≦ProdVol (j, tj) (6)

**[0109]**.A-inverted.rεAllRes, .A-inverted.trεAllPer:

**[0110]**StockVol

^{R}(r, tr)+StockVol

^{I}(r, tr)≦StockVol (r, tr) (7)

**[0111]**ConsSupVol

^{R}(r, tr)+ConsSupVol

^{I}(r, tr)≦ConsSupVol (r, tr) (8)

**[0112]**The incremental production plan is feasible. (9)

**Note**: In the following description, the symbol "" represents assignment. Thus, "xy" means "x is set to the value of y". Also, the symbol "+" represents adding to, so that "x+y" means "xx+y". The top-level logic of the PBE technique can be described as follows:

**Algorithm Pegging**-By-Explosion:

**[0113]**[Initialize the reconstructed data and pegging data to zero] .A-inverted.dεAllDem, .A-inverted.tdεAllPer, .A-inverted.jεAllOpn, .A-inverted.tjεAllPer, .A-inverted.rεAllRes , .A-inverted.trεAllPer:

**TABLE**-US-00002 ShipVol

^{R}(d, td) 0 ProdVol

^{R}(j, tj) 0 StockVol

^{R}(r, tr) 0 ConsSupVol

^{R}(r, tr) 0 PgdProdVol (j, tj, d, td) 0 PgdStockVol (r, tr, d, td) 0 PgdConsSupVol (r, tr, d, td) 0

**For each triple**(d*, td*, IncShipVol)εShipSeq, taken in sequence order, do the following:

**[0114]**Call Explode-For-PBE (d*, td*, IncShipVol).

**[0115]**[Add the incremental production plan to the reconstructed production plan.]

**[0116]**.A-inverted.dεAllDem, .A-inverted.tdεAllPer:

**[0117]**ShipVol

^{R}(d, td)+ShipVol

^{I}(d, td)

**[0118]**.A-inverted.jεAllOpn, .A-inverted.tjεAllPer:

**[0119]**ProdVol

^{R}(j, tj)+ProdVol

^{I}(j, tj)

**[0120]**.A-inverted.rεAllRes, .A-inverted.trεAllPer:

**[0121]**StockVol

^{R}(r, tr)+StockVol

^{I}(r, tr)

**[0122]**ConsSupVol

^{R}(r, tr)+ConsSupVol

^{I}(r, tr)

**[0123]**[Peg the incremental production, stock, and consumed supply volumes to the current demand.]

**[0124]**.A-inverted.jεAllOpn, .A-inverted.tjεAllPer:

**[0125]**PgdProdVol (j, tj, d*, td*)+ProdVol

^{I}(j, tj)

**[0126]**.A-inverted.rεAllRes, .A-inverted.trεAllPer:

**[0127]**PgdStockVol (r, tr, d*, td*)+StockVol

^{I}(r, tr)

**[0128]**PgdConsSupVol (r, tr, d*, td*)+ConsSupVol

^{I}(r, tr) Report the pegging: PgdProdVol ( ), PgdStockVol ( ), PgdConsSupVol ( ).

**Stop**.

**[0129]**Assuming that the Explode-For-PBE procedure achieves conditions (5), (6), (7), (8), and (9), it is easy to see that, upon completion of the PBE technique, the reconstructed production plan satisfies conditions (1), (2), (3), and (4) above and is feasible. It is also easy to see that PgdProdVol( ), PgdStockVol( ), and PgdConsSupVol( ) form a valid pegging of the original production plan and that this pegging is a feasible partitioning of the production plan. It remains to describe the Explode-For-PBE procedure.

**[0130]**FIG. 3 illustrates the top level logic of the PBE algorithm implemented in computer software. Upon starting the procedure at start block 12, a PC RCPP problem, a feasible production plan, and a shipment sequence, ShipSeq, are read in at function block 13. In initialization block 14, the reconstructed production is set to zero and pegging is set to zero. Then, processing block 15 for .A-inverted.(d*, td*, IncShipVol)εShipSeq in order is entered. This processing block iterates through the shipment sequence. The Explode-Triple (d*, td*, IncShipVol) process is called in function block 16. In function block 17, the incremental production plan is added to the reconstructed production plan. Finally, the incremental production plan is pegged to the shipment (d*, td*) in function block 18 to complete the processing in processing block 15. Once this processing is complete, the pegging is reported in function block 19, and the process stops in stop block 20.

**[0131]**FIG. 4 illustrates the top level logic of the Explode-Triple procedure of block 16 in FIG. 3. Upon this process being called at start block 21, initialization block 22 sets the incremental production plan to zero and sets the ReqVol ( ) to zero. Then, in function block 23, ShipVol

^{I}(d*, td*) is set to IncShipVol and ReqVol (DemRes (d*, td*) is set to IncShipVol. At this point, nested processing block 24 .A-inverted.rεAllRes, in order of decreasing ResIndx(r), and processing block 25 .A-inverted.trεAllPer, in decreasing order, are entered. Processing block 25 calls the main-iteration (r, tr) processing block 26. Blocks 24 to 26 show the main iteration (block 26), as contained within the loop through all periods (block 25), as contained with a loop through all resources (block 24). When processing in block 24 and 25 are completed, a return is made to the main program shown in FIG. 3.

**[0132]**FIG. 5 illustrates the main iteration 26 of the Explode-Triple procedure of FIG. 4, treating it as a separate procedure for illustration purposes. When called at start block 28, a determination is made in decision block 29 as to whether ReqVol (r, tr)=0. If so, a return is made at block 30 to processing block 26; otherwise, net requirement is netted against supply in function block 31. Then, in decision block 32 a determination is made as to whether ReqVol (r, tr)=0. If so, a return is made at block 33 to processing block 26; otherwise, processing block 34 .A-inverted.jεProdOpns (r) is entered. The requirement to production is exploded by operation j in function block 35. A determination is made in decision block 36 as to whether ReqVol (r, tr)=0. If so, a return is made at block 37 to processing block 26; otherwise, the processing in processing block 34 continues to the next j in function block 38. Blocks 29, 30, 32, 33, 36, and 37 indicate the various opportunities for the iteration to terminate early. Blocks 34 to 38 indicate the loop through all operations that produce the resource. Blocks 31, 35 and 39 show how the three methods for fulfilling requirements fit into the main iteration. When the processing in block 34 completes, the requirement is exploded to stock in period t-1 in function block 39, and a return is made at block 40 to processing block 26.

**[0133]**The Explode-For-PBE procedure is similar to the explosion technique of Material Requirements Planning. The explosion functions by associating a quantity ReqVol (r, tr) ("requirement volume") with each resource r in each period tr. The Explode-For-PBE procedure calls three more procedures, Net-Against-Supply, Explode-To-Production, and Explode-To-Stock. These four procedures can be described as follows:

**Procedure Explode**-For-PBE:

**[0134]**Given: A triple (d*, td*, IncShipVol)εShipSeq

**[0135]**.A-inverted.dεAllDem, .A-inverted.tdεAllPer:

**[0136]**ShipVol

^{I}(d, td)0

**[0137]**.A-inverted.jεAllOpn, .A-inverted.tjεAllPer:

**[0138]**ProdVol

^{I}(j, tj)0

**[0139]**.A-inverted.rεAllRes, .A-inverted.trεAllPer:

**[0140]**StockVol

^{I}(r, tr)0

**[0141]**ConsSupVol

^{I}(r, tr)0

**[0142]**ReqVol (r, tr)0

**[0143]**ShipVol

^{I}(d*, td*)IncShipVol

**[0144]**ReqVol (DemRes (d*), td*)IncShipVol

**Do the following for each resource r**εAllRes in order of decreasing ResIdx (r):

**[0145]**Do the following main iteration for each period trεAllPer in decreasing order:

**[0146]**If ReqVol (r, tr)=0, skip this main iteration.

**[0147]**Call Net-Against-Supply (r, tr).

**[0148]**If ReqVol (r, tr)=0, terminate this main iteration.

**[0149]**Do the following for each operation jεProdOpns (r):

**[0150]**Call Explode-To-Production (r, j, tr).

**[0151]**If ReqVol (r, tr)=0, terminate this main iteration.

**[0152]**Call Explode-To-Stock (r, tr).

**Return**.

**Procedure Net**-Against-Supply:

**[0153]**[Net the requirement against consumed supply.] Given: rεAllRes, trεAllPer. ConsSupVol

^{I}(r, tr)Min ((ConsSupVol (r, tr)-ConsSupVol

^{R}(r, tr)), ReqVol (r, tr)) ReqVol (r, tr)+-ConsSupVolI (r, tr)

**Return**.

**Procedure Explode**-To-Production:

**[0154]**[Explode the requirement to production by operation j.] Given: rεAllRes, jεProdOpns (r), trεAllPer. ProdVol

^{I}(j, tr)Min ((ProdVol (j, tr)-ProdVol

^{R}(j, tr)), ReqVol (r, tr)) .A-inverted.r'εBOR (j):

**[0155]**.A-inverted.tr'εAllPer:

**[0156]**ReqVol (r', tr')+UsageRate (j, tr, r', tr')*ProdVol

^{I}(j, tr)

**[0157]**ReqVol (r, tr)+-ProdVol

^{I}(j, tr)

**Return**.

**Procedure Explode**-To-Stock:

**[0158]**[Explode the requirement to stock from period tr-1.]

**Given**: rεAllRes, trεAllPer. If tr=1, return. StockVol

^{I}(r, tr-1)Min ((StockVol (r, tr-1)-StockVol

^{R}(r, tr-1)),

**[0159]**ReqVol(r, tr))

**ReqVol**(r, tr-1)+StockVol

^{I}(r, tr-1) ReqVol (r, tr)+-StockVol

^{I}(r, tr-1)

**Return**.

**[0160]**It is easy to see that Explode-For-PBE computes an incremental production plan that satisfies conditions (5), (6), (7), and (8) above. It can also be shown that condition (9) is satisfied, by verifying that ReqVol(r, tr)=0 at the end of each main iteration. In MRP terms, this means that there are no "net requirements". In fact, there are a number of major differences between the Explode-For-PBE procedure and a conventional MRP explosion:

**[0161]**Explode-For-PBE never has any net requirements.

**[0162]**Explode-For-PBE can explode a requirement to multiple alternative operations for producing the same product.

**[0163]**Explode-For-PBE can explode a requirement to production in an earlier period (by exploding to stock). All of these differences are enabled by exploiting knowledge of the pre-existing production plan.

**[0164]**The main iteration of Explode-For-PBE fills the requirement, ReqVol (r, tr), using three alternative procedures: Net-Against-Supply, Explode-To-Production, and Explode-To-Stock. The order in which these three procedures are called is arbitrary: they can actually be called in any order. Also, the calls to Explode-To-Production for each operation in ProdOpns (r) can be done in any order, and indeed, these calls can be interlaced with the calls to Net-Against-Supply and Explode-To-Stock in any order. In general, using different alternative orderings for these procedure calls will result in different but equally valid peggings. Using any such ordering is considered to be a version of the PBE technique.

**[0165]**Depending on the application, there may be business reasons for choosing one ordering instead of another. For example, the ordering used in the algorithm description above has the effect of pegging production in the latest possible period to the current shipment. Alternatively, calling Explode-To-Stock before Explode-To-Production would have the effect of pegging production in the earliest possible period to the current shipment.

**Extension to the General RCPP Problem**

**[0166]**The general RCPP problem is allowed to have negative consumption. Unfortunately, when negative is consumption is allowed, it is easy to construct examples of RCPP problems and production plans such that no feasible partitioning of the production plan exists. Thus the PBE technique for PC RCPP problems, which is designed to construct a feasible partitioning, cannot be expected to function properly in the presence of negative consumption.

**[0167]**Given an RCPP problem with negative consumption and a corresponding feasible production plan, consider the following definitions:

**.A-inverted. j .di-elect cons. AllOpn , .A-inverted. tj .di-elect cons. AllPer , .A-inverted. r .di-elect cons. BOR ( j ) , .A-inverted. tr .di-elect cons. AllPer : If UsageRate ( j , tj , r , tr ) < 0 : Let NegUsageRate _ ( j , tj , r , tr ) = - UsageRate ( j , tj , r , tr ) If UsageRate ( j , tj , r , tr ) ≧ 0 : Let NegUsageRate _ ( j , tj , r , tr ) = 0 .A-inverted. r .di-elect cons. AllRes , .A-inverted. tr .di-elect cons. AllPer : Let NegConsVol _ ( r , tr ) = j .di-elect cons. ConsOpns ( r ) tj .di-elect cons. AllPers NegUsageRate ( j , tj , r , tr ) * ProVol ( j , tj ) ##EQU00007##**

**Thus**, NegConsVol (r, tr) is the total negative consumption of resource r in period tr.

**[0168]**To see how the PBE technique is extended to handle the negative consumption case, define the auxiliary problem and auxiliary production plan, by making the following modifications to the original RCPP problem and production plan:

**.A-inverted.rεAllRes:**

**[0169]**Add an "auxiliary" operation, j*.

**[0170]**Let ProdRes (j*)=r.

**[0171]**Let BOR (j*)=o.

**[0172]**.A-inverted.trεAllPer:

**[0173]**Let ProdVol (j*, tr)=NegConsVol (r, tr). .A-inverted.jεAllOpn, .A-inverted.tjεAllPer, .A-inverted.rεBOR (j), .A-inverted.trεAllPer:

**[0174]**If UsageRate (j, tj, r, tr)<0:

**[0175]**UsageRate (j, tj, r, tr)0

**In other words**, the negative consumption is replaced by production from auxiliary operations and the negative usage rates are set to zero. The auxiliary problem and production plan have two important properties:

**[0176]**The auxiliary problem is a Positive Consumption RCPP problem.

**[0177]**The auxiliary production plan is feasible for the auxiliary problem. The PBE technique can be extended to handle negative consumption in either of the following two ways:

**[0178]**Explicit transformation: Explicitly construct the auxiliary problem and production plan, apply the PBE technique to them, and then transfer the resulting pegging back into the original problem and production plan.

**[0179]**Implicit transformation: Work with the original problem and production plan, by adding steps to the PBE technique that are mathematically equivalent to what the PBE technique would be doing with the auxiliary problem and production plan. More specifically, the implicit transformation approach makes the following modifications to the original algorithm. In the Explode-To-Production procedure, any value of UsageRate(j, tr, r', tr') that is negative is treated as zero. In addition to pegging the production volumes, etc., it also explicitly pegs the negative consumption volumes, by working with PgdNegConsVol (r, tr, d, td), NegConsVol

^{R}(r, tr), and NegConsVol

^{I}(r, tr). A call to the following procedure is added (in any order) to the Explode-For-PBE procedure:

**Procedure Explode**-To-Negative-Consumption:

**[0180]**Given: rεAllRes, trεAllPer. NegConsVol

^{I}(r, tr)Min((NegConsVol (r, tr)-NegConsVol

^{R}(r, tr)), ReqVol (r, tr)) ReqVol (r, tr)+-NegConsVol

^{I}(r, tr)

**Return**.

**[0181]**The pegging constructed by the PBE technique in the negative consumption case is a feasible partitioning of the auxiliary production plan with respect to the auxiliary problem. This means that the pegging has partitioned the original production plan into a set of disjoint portions associated with each shipment, where each portion defines a feasible production plan for achieving its corresponding shipment, if negative consumption is treated as production by an auxiliary operation. This is a precise way of saying that the pegging is plausible in the presence of negative consumption.

**Substitution**

**[0182]**The definition of the RCPP problem can be extended to include substitution in the BOR structure. Specifically, given any operation j, for any resource rεBOR (j), an RCPP problem with substitution may specify a set of substitute resources, any of which can be consumed in place of r, and with potentially different usage rates, etc. For a detailed formulation of the RCPP problem with substitution, see U.S. Pat. No. 5,630,070.

**[0183]**Any RCPP problem with substitution can be transformed into an equivalent RCPP problem without substitution by the following technique. For each operation j and each resource rεBOR (I) that has substitution, modify to the problem as follows:

**Add an extra capacity resource**, r*.

**Add r*** to BOR (j).

**[0184]**Add an extra operation, j*. Let ProdRes (e)=r*. Let BOR (j*)=r. For each substitute resource r' associated with j and r, do the following:

**[0185]**Add an extra operation, j**.

**[0186]**Let ProdRes (j**)=r*.

**[0187]**Let BOR (j**)=r'.

**Remove r from BOR**(j).

**[0188]**Also, the usage rate data for the new objects is copied from the usage rates in the original data as appropriate. This transformed problem is equivalent to the original problem in the sense that it leads to an equivalent set of feasible production plans. Also, the transformed problem has no substitution. The PBE technique can be extended to handle substitution either by using an explicit transformation approach or by using an implicit transformation approach, with respect to the transformation defined above.

**Pegging Infeasibilities**

**[0189]**Some RCPP systems allow the production plan that they produce to be infeasible. In particular, the resource constraints are sometimes allowed be to violated, perhaps with a penalty in an objective function. The PBE technique can be extended to cover this case, by using a problem reduction approach. Given an RCPP problem and a production plan that violates some of the resource constraints, but is otherwise feasible, define the following transformed problem. For each resource r and each period tr whose resource constraint is violated, modify the problem and production plan as follows:

**[0190]**Let ViolVol (r, tr)=The amount by which the left-hand side of the resource constraint on tr and r exceeds the right-hand-side ("violation volume").

**[0191]**Add an extra operation, j*.

**[0192]**Let ProdRes (j*)=r.

**[0193]**Let BOR (j*)=o.

**[0194]**Let ProdVol (j*, tr)=ViolVol (r, tr). It is easy to see that the transformed production plan is feasible for the transformed problem.

**[0195]**This transformation can be used to extend the PBE technique to handle resource constraint violations by applying either an explicit transformation approach or an implicit transformation approach. In either case, the production pegging for the extra operations has special significance. For any demand d and any period td, PgdProdVol (j*, tr, d, td) is the amount of the violation of the resource constraint for resource r in period tr that is pegged to the shipment to demand d in period td. (It might be notated as PgdViolVol (r, tr, d, td).)

**[0196]**Note that, when using the implicit approach, the use of ViolVol (r, tr) to fill the requirement ReqVol (r, tr) in the Explode-For-PBE procedure can be done in any order compared to the other procedures for filling the requirement (Net-To-Supply, Explode-To-Production, Explode-To-Stock, and Explode-To-Negative-Consumption). Normally, it would be done last, since violating a resource constraint would normally be done only as a last resort. A special case of RCPP where resource constraints can be violated is MRP. Thus the above techniques can be used to do pegging of a pre-existing MRP solution.

**[0197]**While the invention has been described in terms of preferred 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.

User Contributions:

Comment about this patent or add new information about this topic:

People who visited this patent also read: | |

Patent application number | Title |
---|---|

20120289841 | APPARATUS AND CALIBRATION METHOD FOR BLOOD PRESSURE MEASUREMENT |

20120289840 | ESTIMATION OF PRESSURE AT REMOTE SITE BY BRACHIAL OSCILLOMETRIC WAVEFORM ANALYSIS |

20120289839 | VESSEL PULSE WAVE MEASUREMENT SYSTEM CONDUCTING VESSEL PULSE WAVE MEASUREMENT BY OBTAINING PULSATION WAVEFORM OF BLOOD VESSEL |

20120289838 | CARBON-DIOXIDE SAMPLING SYSTEM FOR ACCURATELY MONITORING CARBON DIOXIDE IN EXHALED BREATH |

20120289837 | VARIABLE-STIFFNESS IMAGING WINDOW AND PRODUCTION METHOD THEREOF |