Keywords

1 Introduction

Global competition, shorter product life cycles, dynamic changes of demand patterns and product varieties and environmental standards cause remarkable changes in the market scenario thereby forcing the manufacturing enterprises to deliver their best in order to strive (Sarmiento et al. 2007). Decrease in lead times and expenses, enrichment of customer service levels and advanced product quality are the characteristics that determine the competitiveness of a company in the contemporary market place (Mileff and Nehez 2006). The above mentioned factors have made the business enterprises to contemplate about their supply chains. An ensemble of organizations providing products and services to the market may be called as a supply chain. The effective management of the supply chain has become unavoidable these days due to the firm increase in customer service levels (Beamon 1998). The supply chain cost was immensely influenced by the overload or shortage of inventories. Thus inventory optimization has transpired into one of the most recent topics as far as supply chain management is considered (Joines et al. 2008; Adams 2004; Golden Embryo Technologies Pvt. Ltd. 2004).

In this paper, a novel and efficient approach using Genetic Algorithm has been developed for muti-product flexible supply chain inventory optimization. This paper supplements the supply chain inventory optimization analysis without raw material and multi product lead time considerations (Radhakrishnan et al. 2010). As the lead time plays vital role in the increase of supply chain cost, the complexity in predicting the optimal stock levels increases. In order to minimize the total supply chain cost, the proposed approach clearly determines the most probable excess stock level and shortage level that are required for inventory optimization in the supply chain. In practice, the dynamic nature of the excess stock level and shortage level over all the periods is the typical problem occurring in inventory management. The proposed approach of genetic algorithm predicts the emerging excess/shortage stock levels for the ensuing period by considering the stock levels of the past years, which is an essential information for supply chain inventory optimization as well as total supply chain cost minimization.

2 Method and Methodology

The proposed method uses the Genetic Algorithm to analyze the stock level that needs essential inventory control. In practice, the supply chain is of length n, means having n number of members in supply chain such as factory, distribution centers, suppliers, retailers and so on. Here the exemplary supply chain model consists of a four-stage supply chain having seven members as depicted in Fig. 22.1.

Fig. 22.1
figure 1

Four stage-seven member supply chain

As illustrated in Fig. 22.1, the factory is the parent of the chain producing two products p1,p2 and it is having two distribution centers Distribution center 1 and distribution center 2, each having an agent. From the distribution center, the respective stocks will be moved to the corresponding agents. Also the raw materials required for manufacturing the products are sourced from 2 suppliers namely, Supplier1 and Supplier 2.

The methodology flow as illustrated in Fig. 22.2 is intended to determine the emerging excess or shortage amount of stock levels of the product at different members of the supply chain by analyzing the past records very effectively and thus facilitating efficient inventory management in order to minimize supply chain cost. The analysis flow is initiated by the selection of valid records. In the valid record set selection, records having nil values are neglected and the records having positive or negative values are selected for the analysis using clustering algorithm.

Fig. 22.2
figure 2

Genetic Algorithm flow for the proposed inventory management analysis

2.1 Generation of Individuals

A random individual generated along with the product representation for various members of the chain is illustrated in Fig. 22.3.

Fig. 22.3
figure 3

The dataset format for the representation of a chromosome

In Fig. 22.3, the stock levels of the product at each member is represented with positive values representing excess stock levels of the product and the negative values representing shortage level of the product.

The database holds the information about the stock levels of products in each of the supply chain member, lead time of products in each supply chain member. For \(l\)members from factory to end-level-Agents, there are \(l-1\) lead times for a particular product and these times are collected from the past records. Each and every dataset recorded in the database is indexed by a Transportation Identification (TID). For \(p\)periods, the TID will be\(\{{{T}_{1}},{{T}_{2}},{{T}_{3}},\cdots ,{{T}_{p}}\}\).

Then each individual is queried into the database for obtaining the details regarding the TID and frequency of the individual. This will bring T i and P(occ), number of periods of occurrence of that particular individual. This TID will be used as an index in mining the lead time information. After all these queries, the lead time of stocks is obtained as follows

$$ {{T}_{s}}=[{{t}_{1}}\text{ }{{t}_{2}}\text{}\cdots \text{}{{t}_{l-1}}] $$

And the lead time for raw materials is obtained as

$$ {{T}_{r}}=[{{t}_{1}}\text{}{{t}_{2}}\text{ }\cdots \cdots \text{}{{t}_{r}}] $$

where, r is the number of raw materials required for the product.

Then, for each individual the evaluation function is calculated.

2.2 Determination of Evaluation Function

The evaluation function is determined for each randomly generated individual. The function is given by

$$ f(a)={{w}_{1}}\left( 1-\frac{P(occ)}{T(periods)} \right)+\log (w{}_{2}.{{t}_{stock}}+{{w}_{3}}.{{t}_{raw}}) $$
(22.1)

where a =  1,2,3,……..,m

P(occ) is the number of counts of past records that occurs throughout the period.

T(periods) is the total number of periods of records in database.

m is the total number of chromosomes for which the fitness function is calculated.

In Eq. 22.1, w 1, w 2 and w 3 are the weightings of the factors, stock levels, lead time of stocks and lead time of raw materials in optimization, respectively and they are determined as

$$ {{w}_{1}}=\frac{{{R}_{1}}}{{{R}_{1}}+{{R}_{2}}+{{R}_{3}}} $$
$$ {{w}_{2}}=\frac{{{R}_{2}}}{{{R}_{1}}+{{R}_{2}}+{{R}_{3}}} $$
$$ {{w}_{3}}=\frac{{{R}_{3}}}{{{R}_{1}}+{{R}_{2}}+{{R}_{3}}} $$

R 1 , R 2 and R 3 are the priority levels of influence of stock levels, lead time of stocks and lead time of raw materials in optimization respectively. Increasing the priority level of a factor increases the influence of the corresponding factor in the evaluation function. Hence this R 1 , R 2 and R 3 decide the amount of influence of the factors.

The lead time of the stocks t stock is determined as follows

$$ {{t}_{stock}}=\sum\limits_{i=1}^{l-1}{{{t}_{i}}} $$
(22.2)

And the lead time required to fill the raw materials is given as

$$ {{t}_{raw}}=\sum\limits_{i=1}^{r}{{{t}_{i}}} $$
(22.3)

When the values of t stock and t raw from Eqs. 22.2 and 22.3 are also substituted in Eq. 22.1, it gives an evaluation value for each individual chromosome.

The fitness function is carried out for each chromosome and the chromosomes are sorted on the basis of the result of the fitness function.

In the fitness function, the ratio (P(occ)/T(periods)) plays the role of finding the probability of occurrence of a particular chromosome; and [1−(P(occ)/T(periods))] will ensure minimum value corresponding to the maximum probability; t stock will find the total lead time of stocks and t raw will find the total lead time of raw materials in optimization respectively for the chosen record.

So, the fitness function is structured to retain the minimum value corresponding to the various chromosomes being evaluated iteration after iteration and this in turn ensures that the fitness function evolution is towards optimization.

2.3 Genetic Operations

Once fitness calculation is done, Genetic operations are performed. Selection, Crossover and Mutation comprise the Genetic operations.

2.3.1 Selection

The selection operation is the initial genetic operation which is responsible for the selection of the fittest chromosome for further genetic operations. This is done by assigning ranks based on the calculated fitness value to each of the prevailing chromosome. On the basis of this ranking, best chromosome is selected for further processing. The chromosome generating value as minimum as possible will be selected by the fitness function since the objective is to minimize the inventory levels and lead times.

2.3.2 Crossover

Among the numerous crossover operators in practice, for our complex operation, we have chosen two point crossover. From the matting pool, two chromosomes are subjected for the two point crossover. The crossover operation performed in our analysis is illustrated in Figs. 22.4 and 22.5.

Fig. 22.4
figure 4

Chromosomes before two-point crossover

Fig. 22.5
figure 5

Chromosomes after two-point crossover

As soon as the crossover operation is completed, the genes of the two chromosomes present within the two crossover points get interchanged. The genes before the crossover point C1 and the genes beyond the crossover point C2 remain unaltered even after the crossover operation.

2.3.3 Mutation

The crossover operation is succeeded by the final stage of genetic operation known as Mutation. In the mutation, a new chromosome is obtained. This chromosome is totally new from the parent chromosome. The concept behind this is the child chromosome thus obtained will be fitter than the parent chromosome. The performance of mutation operation is illustrated in the Figs. 22.6 and 22.7.

Fig. 22.6
figure 6

Chromosome before mutation

Fig. 22.7
figure 7

Chromosome after mutation

For mutation, four mutation points Mp1, Mp2, Mp3 and Mp4 are chosen randomly. The mutation is done on the particular gene present at the Mutation point. This pointing of gene is done randomly. Hence, the four mutation points may point any of the seven genes.

The mutation operation provides two new chromosomes corresponding to the initial two chromosomes from the crossover operation. Then out of the four chromosomes resulting from the first iteration, the chromosome with the minimum fitness function value will be chosen. To this chosen chromosome, another randomly generated chromosome will be added and subjected further to the genetic operations, crossover and mutation. This process repeats for a particular number of iterations or till convergence criteria is satisfied. Eventually the final best chromosome will represent the emerging excess or shortage of stock levels at different members of the supply chain thus giving the essential information for supply chain inventory optimization leading to cost minimization.

3 Implementation Results

The analysis based on GA for optimal inventory control is implemented in the platform of MATLAB using relevant past records in the format of Tables 22.1 and 22.2 which contain sample data of past records.

Table 22.1 Sample data from database of different stock levels
Table 22.2 Sample data from database which is having lead times (number of days) for stocks

Table 22.1 is having the Transportation ID, the stock levels which are in excess or in shortage at each supply chain member. The transportation ID mentioned in table is used as an index in extracting the lead times for movements of stocks.

Table 22.2 depicts the sample data which is having the transportation ID and the lead times for stocks between the supply chain members.

Here T1 is the lead time of product1 from F to D1

T2 is the lead time of product2 from F to D1

T3 is the lead time of product1 from F to D2

T4 is the lead time of product2 from F to D2

T5 is the lead time of product1 from D1 to A1

T6 is the lead time of product2 from D1 to A1

T7 is the lead time of product1 from D2 to A2

T8 is the lead time of product2 from D2 to A2

Table 22.3 represents the lead time to fill the raw materials which are essential to manufacture the products. In the Table 22.3, for Transaction period 1, for manufacturing the products three raw materials having the raw Material ID ‘RM1’, ‘RM2’ and ‘RM3’ are sourced and the lead times involved are ‘20’, ‘7’ and ‘19’ respectively for Supplier 1 and the lead times involved are ‘25’, ‘9’ and ‘16’ respectively for Supplier 2.

Table 22.3 Sample raw material lead time (number of days)

Table 22.4 describes two random individuals generated initially.

Table 22.4 Initial random individuals

The simulation run on a large database of past records showing Fitness function improvement at different levels of iteration is as follows:

Simulation Result of GA showing Fitness function improvement with

w 1 = 0.6250; w 2 = 0.3125; w 3 = 0.0625;

For iteration 20: fitness = 5.7845

For iteration 50; fitness = 5.6450; Improvement: 2 %

For iteration 70; fitness = 5.3749; Improvement: 5 %

For iteration 100; fitness = 4.8220; Improvement: 10 %

As for deciding the total number of iterations required, the criteria followed is that as long as minimization of the fitness function is still possible, then the iteration continues till such a time that no improvement in the fitness function value is noticeable. After a certain number of iterations, if the fitness function value is not improving from the previous iterations, then this is an indication that the fitness function value is stabilizing and the algorithm has converged towards optimal solution. For greater accuracy, the number of iterations should be sufficiently increased and run on the most frequently updated large database of past records.

The best chromosome obtained as result after satisfying the above mentioned convergence criteria is depicted in the Fig. 22.8.

Fig. 22.8
figure 12

The final best chromosome obtained from the analysis

The final individual thus obtained represents the emerging excess or shortage stock levels at each of the seven members providing essential information for supply chain inventory optimization.

This final chromosome obtained from the GA based analysis shown in Fig. 22.8 is the inventory level that has the potential to cause maximum increase of supply chain cost including lead time considerations. By taking necessary steps to eliminate the identified emerging excesses/ shortages at different members of the supply chain, the supply chain cost can be minimized to that extent. Thus by following the predicted stock levels, we can avoid the increase of supply chain cost.

4 Conclusion

Inventory management is an important component of supply chain management. The members of the supply chain are responsible for minimizing the costs of a supply chain by managing inventory levels in a number of production and distribution operations associated with different chain stages. As the lead time plays vital role in the increase of supply chain cost, the complexity in predicting the optimal stock levels increases. We have proposed an innovative and efficient methodology that uses Genetic algorithm presented that is aimed at reducing the total supply chain cost as it undoubtedly established the most probable surplus stock level and shortage level along with the consideration of lead time involved in supplying the stocks that are required for inventory optimization in the supply chain such that the total supply chain cost is minimal. The proposed approach was implemented and its performance was evaluated using MATLAB 7.4. The performance of Genetic Algorithm was well as predicted. By following the proposed genetic algorithm based approach for inventory management, we determined the products due to which the members of the supply chain incurred extra holding or shortage cost in the whole supply chain. The proposed approach of inventory management has achieved the objectives which are the minimization of total supply chain cost as well as lead time and the determination of the products due to which the respective supply chain members endured either additional holding cost or shortage cost with lead time consideration which is a vital information for supply chain inventory optimization.