Agent-based demand forecast in multi-echelon supply chain
Wen-Yau Liang
a, Chun-Che Huang
b,T
aDepartment of Information Management, National Changhua University of Education, Changhua, Taiwan, ROC bDepartment of Information Management, National Chi-Nan University, Pu-Li, Na-Tau, Taiwan, ROC
Available online 12 March 2005
Abstract
Supply chain management (SCM) is an emerging field that has commanded attention and support from the industrial community. Demand forecast taking inventory into consideration is an important issue in SCM. There are many diverse inventory systems, in theory or practice, which are operated by entities (companies) in a supply chain. In order to increase supply chain effectiveness, minimize total cost, and reduce the bullwhip effect, integration and coordination of these different systems in the supply chain (SC) are required using information technology and effective communication. The paper develops a multi-agent system to simulate a supply chain, where agents operate these entities with different inventory systems. Agents are coordinated to control inventory and minimize the total cost of a SC by sharing information and forecasting knowledge. The demand is forecasted with a genetic algorithm (GA) and the ordering quantity is offered at each echelon incorporating the perspective ofbsystems thinkingQ. By using this agent-based system, the results show that total cost decreases and the ordering variation curve becomes smooth.
D2005 Elsevier B.V. All rights reserved.
Keywords:SCM; Demand forecast; Inventory management; Genetic algorithm; Rough set theory; Agent-based system
1. Introduction
Supply chain management (SCM) is an emerging field that has commanded attention and support from the industrial community. SC is defined as the chain linking each entity of the manufacturing and supply process from raw materials through to the end user
[30,37]. A supply chain comprises many systems, including various manufacturing, storage,
transporta-tion, and retail systems[10,29,43]. Gavirneni et al.[8]
showed that managing any one of these systems involves a series of complex trade-offs between different business function costs. For example, to efficiently run a manufacturing operation, the cost must compromise with the costs of inventory and raw materials [4,7,39]. To integrate different SC systems, entities must be coordinated incorporating the bsystems’ thinkingQperspective[19].
Global optimization is the central issue of systems’ thinking. All managers’ best interest is to ensure that the overall cost is reduced and operations among various systems are integrated through coordination. 0167-9236/$ - see front matterD2005 Elsevier B.V. All rights reserved.
doi:10.1016/j.dss.2005.01.009
TCorresponding author. Tel.: +886 49 2910960x4822; fax: +886
49 2915205.
E-mail address:[email protected] (C.-C. Huang).
Literature shows that reducing overall system cost and understanding how these savings are deployed among the SC entities are of the best interest[20,21,39,41]. When the system is not coordinated, that is, each entity in the supply chain does what is best for that entity, it results in local optimization. Each supply chain entity optimizing its own operation without considering the impact on other entities often results in larger variation of inventory and demand in the entire SC. To have good coordination, managers need to communicate in detail, which is often a time-consuming process. In addition, ineffective commu-nication affects material flows and creates long lead times [19]. To solve this problem and to make communication effective, information must be avail-able and transparent using information technology
[22]. Agent technology provides the distributed environment a great promise of effective communi-cation[23,40]. An agent is a program that performs a specific task intelligently without any human super-vision and agents can communicate with each other cooperatively. Therefore, agent technology is suitable to solve communication concerns for a distributed environment. Recent researches also show that the multi-agent approach plays a significant role in supply chain management, for example Fu et al. [7], Kimbrough et al.[16], and Swaminathan et al.[40].
This paper focuses on demand forecast with information sharing and on systems’ thinking, which is an important coordination and communication issue in SC inventory management [35,45]. This paper applies agent technology to simulate a SC and control entities’ inventory. Agents in the supply chain use the Real-coded Genetic Algorithm (RGA)[27]to calculate the optimal demand ordering quantity for every echelon. Each entity communicates and shares demand information with the others to achieve global cost minimization. Managers in each entity are assumed here to be willing to share information truthfully. With this approach, the supply chain’s total cost is mini-mized. In addition, agents explore and store the knowledge of managers, operationalized as rules and reuse the rules while facing similar problems later. This paper is organized as follows; in Section 2, the literature on supply chain demand forecast and agent technology is reviewed; in Section 3, the SC model is illustrated; Section 4 proposes the GA solution approach incorporated with rough set theory. System
architecture, agent role and simulation scenarios are presented in Section 5, where a scenario design is developed and the analysis results are discussed to validate the proposed solution approaches. Section 6 concludes the paper.
2. Literature review of related approaches
To improve the supply chain’s performance under demand uncertainty, Lee et al. [24] suggested that companies in the supply chain must share information and coordinate orders. Chen et al. [4] compared an exponential-smoothing forecasting model and a mov-ing-average model, and also compared a correlated demand with a demand with linear trend. Zhao and Lee
[44]studied the double exponential smoothing (DES)
[6]and Winter’s exponential method (WIN)[42]; they found that although Winter’s method produced a lower bias and standard deviation of forecasting error, it resulted in higher total costs and schedule instability. However, these forecasting methods are based on large previous data and they forecast market demand of periodt+ 1 without considering the total cost of supply chain in periodt. The literature review shows:
!Traditionally, supply chain entities do not share the type and status of their inventory system with other entities, resulting in the bullwhip effect and difficulty in the control and forecast of inventories. !Most research related to demand forecasting only focuses on a single echelon of the supply chain and research related to multi-echelon inventory manage-ment always assumes that all entities use the same inventory system, for example, Kimbrough et al.
[16], McBurney et al.[26], Chen et al.[4,5]. Little research focuses on the multi-echelon supply chain involving various inventory management systems. !Traditional forecasting methods, for example,
simple moving-averages, moving-average model and Winter’s exponential, are based on large previous data and forecast the demand of period
t+ 1 without considering the total cost of the supply chain at periodt. In order to solve this problem, a heuristic approach, e.g., the genetic algorithm (GA) is required, because large data are not required and the minimal total cost is simply the objective function in GA. In genetic code format every bit
represents a demand order for each entity. Con-sequently, the demand order of every entity is considered during the evolution process and total cost control in the supply chain is optimized globally. ! The traditional GA approach does not incorporate with knowledge[13]. Using prior knowledge, e.g. expert knowledge, to limit the dimensionality of the search space and identify the most important design parameters is helpful to increase the convergence speed[31]; or incorporation of prob-lem-specific knowledge, such as constraint-han-dling based knowledge, guiding the genetic search for good and feasible solutions and increasing the efficiency of evolutionary processes [3]. Hence, incorporating knowledge-based mechanisms, e.g., rule-bases, is considered as a way to improve an evolutionary algorithm’s performance[14]. ! In traditional rule-bases in expert systems, rules are
determined by using quantitative methods and knowledge is stored mainly in the dorm of rules, as are problem-solving procedures. These rule-bases, are not used to reduce information-preserving data, represent uncertain or imprecise knowledge, identify and evaluate data dependencies, reason with uncertainty approximate pattern classification, nor to discover hidden data patterns [1]. Thus, a knowledge discovery approach, e.g., rough set approach, is required[9,18,34]. It specially induces some rules to large turbulent data. With the rules, the forecast result is more accurate and effective.
3. A supply chain model
The model proposed in this paper is based on beer game four echelons[38], but assumes a single entity at each echelon (Fig. 1). Four echelons including suppli-ers, manufactursuppli-ers, distributors and retailers are allowed to use different inventory systems. In general, there are three types of independent-demand inventory
systems, (1) Periodic Review system (P system), (2) Continuous Review system (Q system), and (3) Optional system[17].
3.1. Periodic review system
The P system is the periodic review system, some-times called a fixed interval reorder system or periodic reorder system, in which an item’s inventory position is reviewed periodically rather than continuously. Such a system can simplify delivery scheduling because it establishes a routine. A new order is always placed at the end of each review, and the time between orders (TBO) is fixed at P. Demand is a random variables, so total demand between reviews varies. An example of a periodic review system is that of a soft-drink supplier making weekly rounds of grocery stores. Each week, the supplier reviews the store’s inventory of soft drinks and restocks the store with enough items to meet demand and safety stock requirements until the next week [17]. The constraints and basic assumptions of the P system are described as follows:
(R, S) system: check inventory’s state in a fixed period (R), and decide the ordering quantity Q at every check process. Q is a variable that makes the inventory arrive at stock level. Therefore,Qis used to control the inventory quantity, which is the difference between inventory position and stock level (S).
The stock level and ordering quantity is formulated as follows:
S ¼AVGLAVGþzSTDpffiffiffiffiffiffiffiffiffiffiffiffiffiffiAVGL IP¼OHþSRBO
Q¼ SIP; if IPpS per period
0; if otherwise
where S: stock level;Q: ordering quantity;z: service level (z value of normal distribution); IP: inventory position of the item.; OH: number of units in on-hand
Supplier (P system) Manufacturer (Q System) Distributor (P System) Retailer (Optional System) Physical Flow Information Flow
inventory; SR: scheduled receipts; BO: number of units whether backordered or allocated; AVGL: average lead time per echelon; AVG: average demand per period; STD: standard deviation per period.
3.2. Continuous review system
The Q system sometimes called a reorder point system (ROP) or fixed ordering quantity system, tracks the remaining inventory of an item each time a withdrawal is made to determine whether it is time to reorder. In practice, these reviews are done frequently (e.g. daily) and often continuously (after each with-drawal), so we can say that the TBO is variable. The advent of computers and electronic cash registers linked to inventory records has made continuous reviews easy. At each review, a decision is made about an item’s inventory position. If it is judged to be too low, the system triggers a new order. The IP measures the item’s ability to satisfy future demand. It includes scheduled receipts (SR), which are orders that have been placed but not yet received, plus on-hand inventory (OH) minus backorders (BO). Sometimes scheduled receipts are called open orders. The formula as follows: IP= OH + SRBO. Eliminating the BO, IP and OH are different only during the lead time. When the inventory position reaches a predetermined minimum level, called the reorder point (R), a fixed quantity Q of the item is ordered. In the Q system, although the ordering quantity Q is fixed, the TBO can vary [17]. Constraints and basic assumptions of the Q system are described as follows:
(s,S) system: checks inventory’s state at any time, and can accurately control the number of on-hand inventory. If the quantity of on-hand inventory is smaller than safety stock (ss), then ordering quantity
Qarrives to stock level (S). Therefore,Qis a variable and represents the difference between inventory position and stock level (S).
The stock level and safety stock can be formulated as follows: ss¼zpffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiAVGLSTD2þAVG2STDL2 S¼AVGLAVGþss Q¼ SIP; if IPVss 0; if IPNss
where, ss: safety stock;S: stock level; STDL: standard deviation of lead time per echelon.
3.3. Optional system
Sometimes called the optional review, min–max, or (s,S) system, the optional replenishment system (the O system) is much like the P system. It is used to review the inventory position at fixed time intervals and, if the position has dropped to a predetermined level, to place a variable-sized order to cover expected needs. The new order is large enough to bring the inventory position up to a target inventory. However, orders are not placed after a review unless the inventory position has dropped to the predetermined minimum level. The minimum level acts as reorder point (R) does in a Q system. If the target is 100 and the minimum level is 60, the minimum order size is 40. The optional review system is the mixed system between the Q and the P systems[17]. The constraints and basic assumptions of the O system are described as follows:
Q¼ SIP; if IPbss
0; if otherwise
3.4. Comparison of these systems and assumption
Table 1 presents the distinguishing characteristics of Q, P, and O systems in several dimensions [17]:
!The Q system checks inventory’s status at any time. When the inventory position is smaller than safety stock, it must reorder new fixed quantity materials or products. It is suitable for those situations as follow: (1) the storage cost is expensive, (2) the storage space is limited, (3) the reduction of inventory cost is desired, (4) there is no routine established for ordering or transporta-tion, (5) the inventory is more essential, (6) the demand of inventory is unstable, (7) the review cost is not significant, (8) the management cost is not significant, (9) the ordering cost is not significant, and (10) the transportation cost is not significant.
!The P system checks inventory’s status in every fixed period. At the end of each review, it must reorder new materials or products to arrive to stock
level. It is suitable for those situations as follow: (1) the storage cost is not expensive, (2) the storage space is not limited, (3) the inventory cost is not very significant, (4) it needs to establish routines for ordering or transportation, (5) the inventory is not more essential, (6) the demand of inventory is stable, (7) the reduction of review cost is desired, (8) the reduction of management cost is desired, (9) the reduction of ordering cost is desired, and (10) the reduction of transportation cost is desired. ! The O system checks inventory’s state at fixed
periodicity. If the inventory position is smaller than safety stock, then ordering materials or products arrives to stock level. It is the mixed system between the Q and the P systems. It avoids continuous reviews and non-meaningful purchase so is particularly attractive when both review and ordering costs are significant.
This work presents the P system in supplier and distributor echelon, Q system in manufacturer eche-lon, and optional system in retailer echeeche-lon, called a (P Q P O) inventory policy, as adopted by one of the largest motherboard manufacturing SC in the world.
4. Solution approaches
The agent-based solution approach is presented in Section 4.1, where the multi-agent system architecture is described and different agents, as well as their
specific roles are defined. In Section 4.2, a forecasting solution approach is proposed. In addition, how to apply the rough set approach to reduce rules from demand and how to operate a real-coded genetic algorithm including encoding, crossover, and muta-tion are detailed.
4.1. Agent-based solution approach
This paper proposes a multi-agent system to control the ordering quantity for every echelon and find the minimal total cost of the entire supply chain. The system architecture is shown inFig. 2.
The main purpose of this system is to coordinate all entities of SC and minimize total cost while every entity may use different inventory systems. Each echelon has the same agent architecture, which includes different types of agents. In this research, two types of agents are employed to respond to various types of services for the entire supply chain, for example, control agents and demand forecast agents. These coordinated agents have the ability to specify both static and dynamic characteristics of various supply chain entities[22].
The control agent plays a liaison role between a supply chain manager and the system. It collects historical demand data and strategies from managers and aims at building a rule-base for supply chain management.
The demand forecast agent, which communicates with control agents, plays a role in transforming Table 1
The differentiation of P, Q, and O systems
Dimensions Systems
Q system O system P system
The way of review Continuous Periodic (P) Periodic (P)
The review rate of a product Different Same Same
The time of ordering When the IP has dropped to theR When the IP has dropped to theR At the end of each review The amount of ordering Fixed (Q) Unfixed, to bring the IP up to theT Unfixed, to bring the IP
up to theT Ordering schedules Complexp— —YSimple
Transportation schedules Complexp— —YSimple Holding cost of inventory Lowp— —YHigh Review cost Highp— —YLow Management cost Highp— —YLow Ordering cost Highp— —YLow Transportation cost Highp— —YLow Risk of inventory shortage Lowp— —YHigh Safety stock inventory Lowp— —YHigh
managers’ experience. In addition, it provides a fore-cast mechanism, which tries to minimize the total cost for the entire supply chain. In this paper, a mechanism using real-coded genetic algorithm (RGA) is intro-duced to forecast the optimal solution and determine ordering quantity for every echelon. These ordering quantities minimize total cost for the supply chain. The agent system is autonomous because it allows any manager to change the ordering quantity of that echelon in real time according to recalculation results when the demand of a certain echelon is changed.
4.1.1. Control agent
The control agent exchanges information about production status and costs, transportation costs, inventory costs, inventory levels, manufacturing capacities, ordering quantity, and customer demand. In addition, the control agent communicates with the manager and requests information from managers. It
also enables the demand forecast agent to recalculate the cost while demand is changed. An inventory system formulation is built with a constraint network.
For example, in Q system,
IP=OH+SR-BO and R (reorder point)=D(average demand during lead time L)+ss.
If IP is smaller than R, then reorder takes place. It implies that a constraint, IPNRexists in the Q system.
These two formulae are illustrated in Fig. 3.
Constraints are applied to different areas in the supply chain, for example, resource allocation lems, material purchasing problems, production prob-lems, etc[2,15].
The autonomous character of an agent-based system allows managers to perform specific actions to flexibly deal with different problems. For example, the change in demand quantity at a particular echelon leads to an increase in the total cost of the supply chain. In real time, the agent-based system informs the Control Agent 1 Control Agent 2 Control Agent 3 Control Agent 4
Supplier (P system) Manufacturer (Q System) Distributor (P System) Retailer (Optional System) Rule base
Trade History & Strategies Trade History &
Strategies
GA mechanism
Solution Information
Trade History & Strategies
Trade History & Strategies
Parent 1 30 35 40 45 Parent 2 35 40 45 50 Real Code Genetic Algorithm
(RGA) Offspring 1 30 40 45 50 Offspring 2 35 35 40 45 Demand Forecast Agent Internet
(Information Sharing & Communication)
manager at that echelon to change his ordering quantity and pushes the manager to communicate with control agents at other echelons to determine ordering quantity so as to globally minimize the total cost of the supply chain.
4.1.2. Demand forecast agent
After being enabled by the control agent, the demand forecast agent automatically calculates the supply chain’s total cost, determines the optimal ordering quantity for period t+ 1, and delivers the message back to each control agent at each echelon. In addition, this agent analyzes historical demands and sends the analytical results to all managers periodi-cally in the supply chain.
For example, in the Q system, four factors including on-hand inventory (OH), scheduled receipts (SR), lead time (L), and backorders (BO) impact on the crossover range when the demand quantity is calculated. The impact on a rule format is shown in
Table 2. The data of on-hand inventory (OH), scheduled receipts (SR), lead time (L), and backorders (BO) are collected by the control agents. The cross-over range is collected and decided based on managers’ experience. Based on Table 2, rules are inducted by the rough set approach presented in Section 4.2.
The crossover range is dynamic and calculated by RGA in real time. Consequently, these crossover rules are created dynamically to further optimize ordering
quantity. These rules are shared with other managers in the supply chain by the control agents.
4.2. Forecast method
The control agent collects information, including current on-hand inventory points, scheduled receipts, crossover range from managers, and stores them in the demand rule table. Then, the demand forecast agent applies the induction procedure (presented hereafter) to the demand rule table to obtain the reduct rules. Finally, based on the rules, the GA mechanism calculates the optimal ordering quantity using the crossover range. The solution of the quantity to be ordered at time periodt+ 1 is sent back to the manager by the control agent. The solution process is illustrated in Fig. 4.
4.2.1. Rules induction
Because the crossover range value is dynamically created by the RGA algorithm, how to induct demand rules based on previous large data is difficult. To solve this problem, rough set theory is applied[32]to induct the demand rules from the demand rule table.
The main reason for using the rough sets’ approach for rule induction is due to the qualitative nature of the data, which makes it difficult to analyze by standard statistical techniques. For example, in the Q system,
L, OH, SR, and BO have different values for every entity and these factors are deployed through eche-lons. Therefore, statistical techniques do not consider the impact and are not adapted to this case. To incorporate the rough set approach, factors like L, OH, SR, BO and crossover range, are transformed to input and output features of the rough set, respectively (Table 3). In the demand rule table (Table 2), many experiences are formatted in rules. Each rule inTable 2corresponds to an object in the decision table (Table 4). Several measure factors composing the rules have been used to evaluate the induced rules, for example,
OH SR BO D ss IP R + -+ >
Fig. 3. Constraint network for Q system.
Table 2
The demand rule table of Q system
Rule L OH SR BO Crossover range
1 0 20 10 0 [0–20]
2 0 10 15 0 [10–15]
3 1 20 15 0 [10–15]
L, OH, SR, and BO in the demand rule table of the Q system (Table 3).
4.2.2. Induction procedure
According to rough set theory, I= {U,A} is an information system, whereUis a finite set of objects andAis a finite set of attributes. To every attributeaa
A, a set of its valuesVais associated. AssumeA=Cv
D,BoC, whereBis a subset ofC; the positive region POSB(D) = {x aU: [x]B o D} can be defined. The positive region POSB(D) includes all objects in U
which can be classified into classes of D, in the knowledge B. The degree of dependency between B
andDcan be defined asK Bð ;DÞ ¼ cardðPOSBð ÞDÞ
cardðPOSCð ÞDÞ, where card yields the set cardinality. In general, if
K(B,D) =K(C,D), andK(B,D)pK(B{a},D), for any
aaBwill hold; thenBis an induct ofC. Since an induct
(B) preserves the degree of dependency with respect to
D and an induct (B) is a minimal subset, any further removal of condition attributes will change the degree of dependency. The following procedure for determin-ing the inducts and cases is adopted from Ref.[33].
Step 1. Initialization.
Initialize the decision table (Table 4), which is retrieved from the demand rule table and list all objects in it.
Step 2. Generate the inducts for each object fori= 1 ton do On-hand inventory points Scheduled receipts Control Agent Demand Forecast Agent Demand rule table
Reduct rules Reduct rules Reduct rules Induction procedure GA mechanism Parent 1 30 35 40 45 Parent 2 35 40 45 50 Real Code Genetic Algorithm
(RGA)
Offspring 1 30 40 45 50 Offspring 2 35 35 40 45
On-hand inventory points
The solution of the quantity to be ordered at time period t+1
Demand rule table
Manager
Rule base
Fig. 4. The solution approach.
Table 3
Input and output feature
Input features Output feature (outcome) F1 Lead time (L) Crossover range F2 On-hand inventory (OH)
F3 Scheduled receipts (SR) F4 Backorders (BO)
Table 4
Partial decision table
Object no. F1 F2 F3 F4 Crossover range
1 0 20 10 0 [0–20] 2 0 10 15 0 [10–15] 3 1 20 15 0 [10–15] 4 1 10 15 5 [10–20] 5 0 25 10 0 [0–10] 6 0 15 15 5 [10–20] 7 1 15 20 0 [10–15] 8 0 20 10 0 [0–20] 9 0 15 15 0 [10–15] 10 0 15 10 5 [10–20]
forj= 1 tom
if [Vij]Aj o [Vik]Ok|i where k is the index number of the outcomes.
then the inducts forXiis formed else forj= 1 tom
if C\Aj Vij Aj ½VikOkji
then the inducts forXi is formed else the inducts forXi is not formed end for
end for end for
Step 3. Termination: stop and make outputs of the results
Note that the X a U, where U is a finite set of objects. [Vij]Aj represents the objects where each Aj attribute contains Vij, while [Vik]oij includes the objects with each Ok|i outcome (decision) attribute containingVik. Represents the condition domainC— condition attributeAj. After the aforementioned three steps, the rules are inducted as follows (Table 5).
The reduct rules generated with the rough set approach are used to constrain the crossover range of the RGA evolution process.
4.3. RGA forecasting method
Traditional forecasting methods, for example, sim-ple moving-averages, moving-average model and Winter’s exponential, are based on large previous data and forecast the demand of period t+ 1 without considering the total supply chain cost at periodt. In order to solve this problem, a heuristic approach, e.g., the genetic algorithm (GA), is required. This is because large data are not required and the minimal total cost is simply the objective function in GA. In genetic code format every bit represents a demand order for each entity. Consequently, the demand order of every entity is considered during the evolution process and total cost control in the supply chain is optimized globally.
4.3.1. Representation
The proposed genetic algorithm is based on the floating-point representation and two genetic opera-tors: crossover and mutation. In the floating-point representation, each chromosome vector is coded as a vector of floating point number of the same length as the solution vector. Each entity is initially selected so
as to be within the desired domain, and the operators are carefully designed to preserve the constraint. The precision of such an approach depends on the under-lying machine, but is generally much better than that of binary representation [28]. In addition, the floating-point representation is capable of representing quite large domains. That is, binary representation sacrifices precision with an increase in domain size, given fixed Table 5
Reduct rule table
Object no. F1 F2 F3 F4 Crossover range 1 0 20 X X [0–20] X 20 10 X [0–20] 2 X 10 15 0 [10–15] 0 X 15 0 [10–15] 0 10 X 0 [10–15] 0 10 15 X [10–15] 3 X X 15 0 [10–15] 4 X X X 5 [10–20] X X 15 5 [10–20] 5 X 25 X X [0–10] 6 X X X 5 [10–20] X X 15 5 [10–20] 7 X X 20 X [10–15] X 15 X 0 [10–15] 8 0 20 X X [0–20] X 20 10 X [0–20] 9 X X 15 0 [10–15] 10 X X X 5 [10–20]
Rule 1: IF theLead timeis 0 andOn-hand inventoryis 20 THEN crossover range is [0–20]
Rule 2: IF theOn-hand inventoryis 20 andScheduled receiptsis 10 THEN crossover range is [0–20]
Rule 3: IF theOn-hand inventoryis 10 andScheduled receiptsis 15 andBackordersis 0 THEN crossover range is [10–15] Rule 4: IF theLead timeis 0 andScheduled receiptsis 15 and
Backorder is 0 THEN crossover range is [10–15]
Rule 5: IF theLead timeis 0 andOn-hand inventoryis 10 and Backorderis 0 THEN crossover range is [10–15]
Rule 6: IF theLead timeis 0 andOn-hand inventoryis 10 and Scheduled receiptsis 15 THEN crossover range is [10–15] Rule 7: IF theScheduled receiptsis 15 andBackorderis 0 THEN
crossover range is [10–15]
Rule 8: IF theBackorderis 5 THEN crossover range is [10–15] Rule 9: IF theScheduled receiptsis 15 andBackorderis 5 THEN
crossover range is [10–20]
Rule 10: IF theOn-hand inventoryis 25 THEN crossover range is [0–10]
Rule 11: IF theScheduled receiptsis 20 THEN crossover range is [10–15]
Rule 12: IF theOn-hand inventoryis 15 and Backorder is 0 THEN crossover range is [10–15]
binary length. Also, in the floating-point representa-tion, it is much easier to design special tools for handling nontrivial constraints.
The chromosome of the example in Fig. 5 is represented with a 4-bit floating string. It is represented as (30 35 40 45), where 30 is the demand order for the supplier; 35 is the demand order for the manufacturer; 40 is the demand order for the distributor; 45 is the demand order for the retailer.
4.3.2. Fitness function
In GA, a fitness function determines what the best chromosome is in all generations and decides when to stop evolution. The proposed fitness object function uses the cost function. Based on Ref. [16], each entity has an ordering cost, an inventory holding cost and a transportation cost. The total cost of the supply chain after M periods (e.g., weeks) is formulated as follows:
TCchain¼ XN i¼1 XM t¼1 cið Þt ðiÞ
cið Þ ¼t ½ordering costþinventoryT holding cost þtransportation costþshortage cost
cið Þ ¼t ½OciþInið Þt ThiþTciþSci ðiiÞ
where TCchain: total cost of supply chain;N: number of
supply chain entities;i: index of supply chain entity,
i= 1, 2, . . ., n; ci(t): cost of entity i at periodt; Oci: ordering cost of entity i per period; Ini: inventory quantity of entityi at periodt;hi: inventory holding cost of entityi, per unit, per period.; Tci: transportation
cost of entityiper period.; Sci: shortage cost of entityi
per period.
4.3.3. Crossover
Two parents x= (x1,. . ., xn) and y= (y1,. . ., yn)
produce an offspring z= (z1,. . ., zn), where zi=xi or
zi=yi with equal probability, called crossover proba-bility for alli= 1, 2,. . .,n, and the second offspring is created by reversing all bits.
4.3.4. Mutation
Mutation is defined in a traditional way: ifxit= (v1,
. . ., vn) is a chromosome, then each elementvkhas an exactly equal chance of undergoing the mutation process. The result of a single application of this operator produces a vector (v1,. . ., vkV,. . .,vn) with
1QkQn, and vkV, a random value from the domain
of the corresponding parameter domaink. That is, if domaink is a closed interval [lk, uk], then vkV is generated from the uniform distribution U(lk, uk)
[28].
4.3.5. Evolution process
In this evolution process, two agents are used: 1) the demand forecast agent’s GA mechanism applies the real-coded genetic algorithm (RGA) to calculate the optimal ordering quantity; 2) the demand forecast agent delivers results to the control agent and managers. The real-coded algorithm is described as follows:
Step 1. Initialization. Generate a population of size |P| (the number of size is defined by the user), and each chromosome has four genes, whose value was randomly generated from range [0, X]. X is a predefined value of the probably
Format
Supplier Manufacturer Distributor Retailer
Parent 1 Parent 2 ... 10 18 15 25 20 30 25 42 ... ... ... ...
great number of order quantity in each echelon. The chromosome is formatted in Fig. 5.
Step 2. Evaluation. Evaluate each population member of [P] according to the fitness function that is the total cost function.
Step 3. Selection. Select part of [P] using the roulette wheel method [12] according to the fitness function.
Step 4. Crossover. Crossover each two members of the selected part of [P] in turn to form a new population member with the constraints of the cross-over range. The crosscross-over range is collected by the reduct rules presented in Section 4.2. Crossover the pair with the crossover probability and place two child strings into the new population. The cutting point for exchange is randomly selected for each quantity. In this example (Fig. 5), the crossover rate is 0.7. A simple crossover method is described inFig. 6. The cutting point is selected between supplier and manufacturer. The crossover part includes three elements: Manufacturer, Distributor, and Retailer. Reduct rules in Table 5, for example, rule 10 and rule 12 are matched corresponding to Manufacturer and Retailer. Distributor is not. Therefore, Manufac-turer and Distributor’s crossover occur but Retailer’s crossover is ignored because its range is 17, which is out of the constraint range [0–10].
Step 5. Mutation. Mutate the child strings with the mutation probability and place them into the new population. The chromosome is randomly selected and its value is changed based on previous rules. In the example ofFig. 5, the mutation rate is 0.005 and the range is [S, ss], whereSis the stock level and ss is
a safety stock. The mutation method is described in
Fig. 7.
Step 6. Repeat Step 2–5 iteratively until the population converges, no better chromosome is found, or time is out. The optimal order quantity is then found, for example, the final chromosome is repre-sented as (30 35 40 45), where 30 is the demand order for the supplier; 35 is the demand order for the manufacturer; 40 is the demand order for the distributor; 45 is the demand order for the retailer.
5. Validation of solution approaches
5.1. Scenario design
The example is illustrated and based on the proposed approach against different forecasting scenario. Four MBA students play the Beer Game with the roles of supplier, manufacturer, distributor, and retailer. Each one uses a different inventory system to control his inventory. The ordering quantity and the total cost of the supply chain is aggregated through all four echelons. Based on the type of inventory system, current stock, and current total cost, the forecast demand agent of each echelon determines its ordering quantity with the RGA
Supplier Manufacturer Distributor Retailer
Parent 1 Parent 2 10 18 15 25 20 30 25 42 offspring1 offspring2
Crossover ranges [10 -15] No matched [0 -10]
10 18 25 15 30 20 25 42
Fig. 6. Crossover method.
Parent 2 35 35 40 45
Offspring 2 35 37.5 40 45
mechanism such that global minimal total cost for the next period is determined.
The market is assumed steady in this model and the market demand is formulated as follows:uD+ Int(1 / 1 * Log(U)), whereuDis the mean demand andUis a random number. Int(1 / 1 * Log(U) is the mathemat-ical transformations often used for stabilizing varia-tion [25]. The lead time is set to one week. The additional assumptions in each echelon are made:
! Backorder cost: zero, backorder is not allowed and amounts of inventory are always positive.
! Ordering cost: depends on the ordering quantity per period.
! Holding cost: depends on the quantity of on-hand inventory.
! Transportation cost: depends on the ordering quantity.
! Shortage cost: depends on the shortage quantity. The real-coded genetic algorithm is coded with Matlab 6.0R. The upper generation is 100, the crossover rate 0.7, and the mutation rate 0.005. The unit costs of inventory holding cost, ordering cost, transportation cost, and shortage cost are assumed in
Table 6.
5.2. Scenario 1: RGA vs. MBA students
Four MBA students play the SCM model (Fig. 1) with the roles of supplier, manufacturer, distributor, and retailer. Each one uses a different inventory system to control his inventory. The ordering quantity and the supply chain’s total cost is aggregated through all four echelons.
On the other hand, agents replace the students to play the same game. The control agent collects
inventory information from local sites and enables the demand forecast agent to calculate an optimal order-ing quantity with the RGA mechanism. The agents coordinate with each other by sharing information. The process of crossover and mutation are coded with Matlab 6.0, where x1, x2, x3, and x4 correspond to
ordering quantities of retailer, distributor, manufac-turer, and supplier, respectively. The minimal total costs are found and the algorithm terminated at the 68th generation.
Agent is compared to MBA students and the result is presented in Fig. 8. Agent lowers the total cost of the supply chain without any shortage of stock.Fig. 9
shows the difference, called ordering variation between ordering quantity of P, Q, O systems and actual demand, for each week. Fig. 10 is the result corresponding to agent.
The MBA students are not allowed to get any information from other entities of the supply chain, for example, what types of inventory systems are used by other entities. The MBA students play the game and control their inventory intuitively. Consequently, the ordering quantity variability is amplified as it moves up the supply chain. Simultaneously, the total cost accumulates increasingly and a series of inventory shortages occur.
Consequently, the inventory systems’ sequence in the SC has no impact on the total cost. That is, when the MBA students play the game and control their inventory without communication and sharing infor-mation with each other, the total cost is not different. On the other hand, the real-coded genetic algorithm (RGA) forecasts the optimal ordering quantity for period t+ 1 with the sharing of information, for example, inventory quantity and crossover range. Given a population size of 100, a better policy (25, 12, 10, 5) at the 68th generation is reached. The comparison results can be summarized as follows:
!InFig. 8, the total cost in the agent-based solution approach is 10% lesser than in the MBA students’ experiment.
!That ordering variation is very turbulent in MBA students, especially in the supplier and manufactur-ing entity. The bullwhip effect exists in the MBA students’ experiment. However, this turbulent situation is solved by the agent-based solution approach and the bullwhip is reduced.
Table 6
Unit cost of supply chain entity
Supplier Manufacturer Distributor Retailer Unit inventory holding cost ($) 4 3 2 2 Unit ordering cost ($) 1 1 2 2 Unit transportation cost ($) 1 1 3 1 Shortage cost ($) 4 3 2 3
! In Fig. 10, the ordering variation of agent is smoother than of the ordering variation of MBA students (Fig. 9). That is, the result of forecasting with the proposed solution approach is very close to the market’s demand.
5.3. Scenario 2: RGA vs. moving-average forecasting model
To compare with the agent-based forecasting method, we introduce one of the conventional fore-casting methods—the moving-average forefore-casting model. Of the quantitative techniques, the
moving-average is the most popular technique for short range and medium-range forecasts and the most popular for forecasting product line and product family sales[36]. The estimate is an excellent one (Average Forecasting Procedure) if the process is entirely steady [11]. Because of a natural reluctance to use very old data, this procedure is generally limited to young processes
[11]. Rather than using very old data that may no longer be relevant, this procedure (Moving-Average Forecasting Procedure) averages the data for only the last n periods as the forecast for the next period. The moving-average estimator combines the advantages of the last value and average estimators in that it uses only Result 0 500 1000 1500 2000 2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Weeks Total Cost
Agent MBA Students
Fig. 8. Total cost curve of Agent vs. MBA students.
Ordering variation(MBA) 0 10 20 30 40 50 60 70 80 90 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Weeks ordering variation P (supplier) Q (manufacturer) P (distributor) O (Retailer)
recent history and multiple observations [11]. The assumption of steady market in this case is only suitable for using moving-average forecasting method. The experimental result is presented inFig. 11. The moving-average demand forecast method is calculated by using data from the last 5 periods. The safety stock is set to be 20 units for all 4 echelons, as in the beer game. When the inventory is lower than safety stock, the ordering quantity of the next period is added by the variance between safety stock and inventory level.
Fig. 11 shows that the total cost of the moving-average method is higher than that of agent.
5.4. Scenario 3: RGA vs. exponential-smoothing forecasting model
In this section, another conventional forecasting method—exponential-smoothing forecasting is intro-duced. The experimental result is presented inFig. 12. Accordingly, Fig. 12shows that the total cost of the Ordering variation (Agent)
0 10 20 30 40 50 60 70 80 90 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Weeks ordering variation P (supplier) Q (manufacturer) P (Distributor) O (Retailer)
Fig. 10. The ordering variation of Agent.
Result 0 200 400 600 800 1000 1200 1400 1600 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Weeks Total Cost Moving-Average Agent
exponential-smoothing method is higher than that of agent. Fig. 13 includes all four different forecasting methods; agent has the best results.
5.5. Discussion
The above example is illustrated and compared with four forecasting methods: RGA; MBA students; moving-average; exponential-smoothing. The exper-imental results indicate that the RGA performs the
best in controlling total cost and ordering variation based on (P Q P O) inventory policy. Although the example has demonstrated the superiority of the proposed approach over conventional forecasting me-thods, the extent to which the sequence of inventory policy impacts the total cost must be more thoroughly evaluated.
Several specimens have been tested to evaluate the convergence of RGA. The results show good convergence but further details need to be imple-Result 0 500 1000 1500 2000 2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Weeks Total Cost
Exponential Smoothing Agent
Fig. 12. Total cost curve of Agent vs. Exponential-Smoothing forecasting method.
Result 0 500 1000 1500 2000 2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Weeks Total Cost Moving-Average Agent
MBA Students Exponential Smoothing
mented in testing the proposed RGA for stability and convergence.
6. Conclusions
In this paper, a solution was developed to forecast the ordering quantity for period t+ 1 in a multi-echelon supply chain, where every entity was allowed to use different inventory systems. A constraint network was proposed and incorporated with agent technology to coordinate the supply chain. It adapted to environmental changes dynamically and modeled different management behaviors and systems. In addition, the paper used rough set theory to explore and induct the manager’s experience into rules. These rules were shared between supply chain entities. With the rules, the RGA approach is applied to forecast the optimal ordering quantity. Based on experimental results, this approach shows great promise in search-ing for a desired demand ordersearch-ing quantity and globally optimizes the total cost of the supply chain. The novel contributions of the paper are summarized as follows:
! Allowing for various entities at different echelons using different inventory systems and forecasting the ordering quantity accurately as well as mini-mizing shortage of inventory; consequently, the total cost of a supply chain is reduced;
! Sharing information between entities of a supply chain and coordinating every entity of SC; consequently, optimization can be achieved more effectively and the bullwhip effect is reduced. ! Exploring and transforming managers’ experience
into rules, this leads to a more accurate and effective inventory control by reusing the explicit rules.
The framework of this study assumes that infor-mation is shared truthfully in all entities. Therefore, the proposed method can only be applied when the supply chain partners have well aligned objectives and there is a trusting relationship among agents. In real world coordination, sharing information truthfully is problematic since intra-organizational trust cannot be easily developed. Increasing the transparency of information requires enhancing the relationship of
suppliers and purchasers and collaborates with infor-mation technology. Additionally, future research has numerous challenges.
!Managers’ resistance to change. Sometimes it is difficult for managers to change the inventory policy. Often, managers establish their inventory policy by planning, or according to their experi-ence. Although this approach may generate a better solution, the bullwhip effect exists in the supply chain due to the resistance to change by managers.
!Difficulty in capturing tacit knowledge. It is difficult for managers to share tacit knowledge. Besides, by the induction of rules with the rough set theory, how to effectively capture and external-ize managers’ knowledge is an important issue. !More entities in the same echelon. The paper just
assumes a single entity in an echelon of a supply chain. The number of entities at the same echelon can be increased and with the new network, further study is required.
Acknowledgment
This work was partially supported by funding from the Nation Science Council of the Republic of China (NSC 260-004, NSC 93-2416-H-018-013).
References
[1] M. Barbuceanu, M.S. Fox, Integrating communicative action, conversations and decision theory to coordinate agents, Proceeding of Autonomous Agents 97 (1997) 49 – 58. [2] J.C. Beck, M.S. Fox, Supply chain coordination via mediated
constraint relaxation, Proceeding of the First Canadian Work-shop on Distributed Artificial Intelligence, 1994 (May). [3] R. Bruns, Integration of constraint solving techniques in
genetic algorithms, IEEE International Conference on Evolutionary Computation, Perth, WA, Australia, vol. 1, 1995, pp. 33 – 38.
[4] F. Chen, Z. Drezner, J.K. Ryan, D. Simchi-Levi, Quantifying the bullwhip effect in a simple supply chain: the impact of forecasting, lead times, and information, Management Science 46 (3) (2000) 436 – 443.
[5] F. Chen, Z. Drezner, J.K. Ryan, D. Simchi-Levi, The impact of exponential smoothing forecasts on the bbullwhipQ effect, Naval Research Logistics 47 (2000) 269 – 286.
[6] L. Christine, M. Michael, Forecasting tourist arrivals, Annals of Tourism Research 28 (2001) 965 – 977.
[7] Y. Fu, R.D. Souza, J. Wu, Multi-agent enabled modeling and simulation towards collaborative inventory management in supply chain, in: J.A. Joines, R.P. Barton, K. Kang, P.A. Fishwick (Eds.), Proceedings of the 2000 Winter Simulation Conference, 2000, pp. 1763 – 1771.
[8] S. Gavirneni, R. Kapuscinski, S. Tayur, Value of information in capacitated supply chains, Management Science 45 (1) (1999) 16 – 24.
[9] I. Gutiı´nez Martı´nez, R.E. Bello Pe´rez, Making decision in case-based systems using probabilities and rough sets, Knowl-edge-Based System 16 (2003) 205 – 213.
[10] D. Han, I.G. Kwon, M. Bae, H. Sung, Supply chain integration in developing countries for foreign retailers in Korea: Wal-Mart experience, Computers & Industrial Engineering 43 (2002) 111 – 121.
[11] F.S. Hiller, G.J. Lieberman, Introduction to Operations Research, Mc-Graw Hill, New York, 1990, p. 810.
[12] J.H. Holland, Adaptation in Natural and Artificial Systems, MIT Press, Boston, 1992.
[13] X. Jin, R.G. Reynolds, Using knowledge-based evolutionary computation to solve nonlinear constraint optimization prob-lems: a cultural algorithm approach, Proceedings of the 1999 Congress on Evolutionary Computation (CEC 99), Washing-ton, DC, USA, vol. 3, 1999, pp. 1672 – 1678.
[14] X. Jin, R.G. Reynolds, Using knowledge-based system with hierarchical architecture to guide the search of evolutionary computation, Proceedings of the 11th IEEE International Conference on Tools with Artificial Intelligence, Chicago, IL, USA, 1999, pp. 29 – 36.
[15] R. Kalakota, J. Stallaert, A.B. Whinston, Implementing real-time supply chain optimization system, Proceedings of the Conference on Supply Chain Management, October, Hong Kong, 1995.
[16] S.O. Kimbrough, D.J. Wu, F. Zhong, Computers play the beer game: can artificial agents manage supply chains? Decision Support Systems 33 (2002) 323 – 333.
[17] L.J. Krajewski, L.P. Ritzman, Operations Management: Strategy and Analysis, Prentice Hall, New Jersey, 2002. [18] A. Kusiak, Rough set theory: a data mining tool for
semiconductor manufacturing, IEEE Transactions on Elec-tronics Packaging Manufacturing 24 (1) (2001) 44 – 50. [19] H.L. Lee, C. Billington, Managing supply chain inventory:
pitfalls and opportunities, Sloan Management Review 33 (3) (1992) 65 – 73.
[20] H.L. Lee, C. Billington, Material management in decentralized supply chains, Operations Research 41 (5) (1993) 835 – 847. [21] H.L. Lee, S. Whang, Decentralized multi-echelon supply
chains: incentives and information, Management Science 45 (5) (1999) 633 – 640.
[22] H.L. Lee, V. Padmanabhan, S. Whang, The bullwhip effect in supply chains, Sloan Management Review 38 (3) (1997) 93 – 102.
[23] K.J. Lee, Y.S. Chang, J.K. Lee, Time-bound negotiation framework for electronic commerce agents, Decision Support Systems 28 (4) (2000) 319 – 331.
[24] H.L. Lee, K.C. So, C.S. Tang, Value of information sharing in two-level supply chain, Management Science 46 (5) (2000) 626 – 643.
[25] S. Makridaskis, S.C. Wheelwright, R.J. Hyndman, Forecasting Methods and Application, John Wiley & Sons, New York, 1998.
[26] P. McBurney, S. Parsons, J. Green, Forecasting market demand for new telecommunications services: an introduction, Telematics and Informatics 19 (2002) 225 – 249.
[27] Z. Michalewicz, Genetic Algorithm+Data Structures=Evolu-tion Program 3rd, Springer, New York, 1996.
[28] Z. Michalewicz, M. Schoenauer, Evolutionary algorithm for constrained parameter optimization problems, Evolutionary Computation 4 (1996) 1 – 32.
[29] H. Min, G. Zhou, Supply chain modeling: past, present and future, Computers & Industrial Engineering 43 (2002) 231 – 249.
[30] S.J. New, P. Payne, Research frameworks in logistics: three models, seven dinners and a survey, International Journal of Physical Distribution and Logistics Management 25 (10) (1995) 60 – 77.
[31] M. Olhofer, Y. Jin, B. Sendhoff, Adaptive encoding for aerodynamic shape optimization using evolution strategies, Proceedings of the 2001 Congress on Evolutionary Compu-tation, Seoul, South Korea, vol. 1, 2001, pp. 576 – 583. [32] Z. Pawlak, Rough sets, Information and Computer Science 11
(5) (1982) 341 – 356.
[33] Z. Pawlak, Rough Sets, Kluwer Academic Publishers, Dordrecht, The Netherlands, 1991.
[34] F. Questier, I. Rollier, B. Walczak, D.L. Massart, Application of rough set theory to feature selection for unsupervised clustering, Chemometrics and Intelligent Laboratory Systems 63 (2) (2002) 155 – 167.
[35] T. Reutterer, H.W. Kotzab, The use of conjoint-analysis for measuring preferences in supply chain design, Industrial Marketing Management 29 (2000) 27 – 35.
[36] N.R. Sanders, K.B. Manrodt, Forecasting practices in US corporations: survey results, Interfaces 24 (2) (1994) 92 – 99.
[37] C. Scott, R. Westbrook, New strategic tools for supply chain management, International Journal of Physical Distribution and Logistics Management 21 (1) (1991) 23 – 33.
[38] P.M. Senge, The Fifth Discipline, Doubleday/Currency, New York, 1990.
[39] D. Simchi-Levi, P. Kaminsky, E. Simchi-Levi, Designing and Managing the Supply Chain Concepts, Strategies, and Case Studies, McGraw-Hill, Boston, 2000.
[40] J.M Swaminathan, S.F. Smith, N.M. Sadeh, Modeling supply chain dynamics: a multiagent approach, Decision Sciences 29 (3) (1998) 607 – 632.
[41] S. Umeda, A. Jones, An integration test-bed system for supply chain management, in: D.J. Medeiros, E.E. Watson, J.S. Carson, M.S. Manivannan (Eds.), Proceedings of the 1998 Winter Simulation Conference, 1998, pp. 1377 – 1385. [42] P.R. Winters, Forecasting sales by exponentially weight
[43] S.K. Yung, C.C. Yang, A new approach to solve supply chain management problem by integrating multi-agent technology and constraint network, Proceeding of the 32nd Hawaii International Conference on System Sciences, USA, 1999, pp. 1 – 10.
[44] X. Zhao, T.S. Lee, Freezing the master production schedule in multilevel material requirements planning systems under demand uncertainty, Journal of Operations Management 11 (1993) 185 – 205.
[45] X. Zhao, J. Xie, J. Leung, The impact of forecasting model selection on the value of information sharing in a supply chain, European Journal of Operational Research 142 (2002) 321 – 344.
Wen-Yau Liang is associate professor of Information Management at National Changhua University of Education. He received his Ph.D. from the University of Iowa in 1998. His research interests are remote collaborative design for modular products, distributed design, object-ori-ented design, product visualization, and electronic commerce. He has published papers in Computer Aided Design, Com-puter Integrated Manufacturing System, Computers in Industry, International Journal of Information Management, Concurrent Engineering, Computerized Medical Imaging and Graphics, Computer Standards and Interfaces, Journal of Intelligent Manufacturing, and International Journal of Computer Integrated Manufacturing.
Chun-Che Huang received his Ph.D. degree in Industrial Engineering from the Univer-sity of Iowa, Iowa City, and his M.S. degree in Operations Research from Columbia University, New York, NY. He is a Profes-sor in the Department of Information Engineering, National Chi-Nan University, Taiwan and directs the Laboratory of Intelligent Systems and Knowledge Man-agement (ISKM Lab). He is interested in intelligent systems, development of modu-lar products and systems, knowledge management, and concurrent engineering. He has published research papers in journals sponsored by various societies.