Professional Documents
Culture Documents
Multi-Heuristics Based Genetic Algorithm
Multi-Heuristics Based Genetic Algorithm
This paper discusses a multi-heuristics based Genetic inventory routing problem (IRP) that uses ships to
Algorithm (GA) to solve maritime inventory routing distribute products. Many papers have discussed this
problems (mIRP). The problem is to transport multiple oil problem, for example a single product model in [3, 4, 5],
products from a production facility to some consumption and multiple non-intermixable products with dedicated
ports by using several heterogeneous ships with undedicated
compartments in [1, 11]. An extensive survey on maritime
compartments. The objective of the problem is to find a
minimum cost solution, while satisfying a number of scheduling research and models is given in [6, 7].
technical and physical constraints, within a given planning This paper extends the problem in [1, 11] to have an
horizon. The strategies to assign a ship are transformed to a undedicated compartment that can hold a desired product,
set of heuristic combinations represented by a chromosome. similar to the recent paper in [8]. However, in our model
At every iteration a number of chromosomes are evaluated we assume that ships may visit up to two ports in one
and evolved within a GA framework. The approach has been assignment, instead of one port in [8]. Moreover, they
applied on several test cases. The multi-heuristic results developed a heuristic to construct a solution, but the
show that the best optimum values of the case problems are solution given depends on the parameters generated in a
not different from the ones from a MILP method solved
GA. They used a GA to modify the parameters in an
using Lingo, but they do so with a significant decrease in
computation time. objective function so as to have different scenarios. Their
domain is in the solution space, while ours is in the
Keywords – Heuristics, scheduling, inventory routing solution methods.
The objective of this paper is to present a new variant
and method for solving maritime inventory routing
I. INTRODUCTION problems. The outline of this paper is described as
follows: section 2 describes the description of the
Heuristics have become a popular tool for solving problem. Next, section 3 considers the design of a multi
various scheduling problems because of its superiority in heuristics based genetic algorithm. Then, section 4
solving problems within a reasonable time. However, as reports the computational results of the case problems.
stated by Cowling [9] and Chakhlevitch [2], heuristics Finally, the last section gives some concluding remarks.
may perform well for certain problem instances, but it is
not guarantee to have good results when applied to a
different instance of the problems. This problem specific II. PROBLEM DESCRIPTION
method is thus hard to implement for a problem that has
many variations, such as inventory routing problems as The problem discussed in this paper is motivated by a
reported in [13]. real world problem faced by a national oil company in the
Many papers have been proposed to overcome this South East Asia region. In this region, a company
problem specific limitation. Cowling et.al [9] has produces and distributes a set of oil products and also
introduced a concept of hyper heuristics and has applied controls their inventories. The company has a production
the method in several scheduling problems [9, 10]. That port and a set of consumption ports. Since the demand
method used heuristics to choose a lower level of nodes are located in geographically dispersed islands, the
heuristics. An extensive survey of the development of this company operates several heterogeneous ships to
method can be seen in [10]. distribute the products. The detailed characteristics of the
This paper proposes to use an indirect method problem are defined as follow:
involving heuristics referred to a multi-heuristics based x Each port has one or more storages.
genetic algorithm. Our approach can be classified as a x Each storage contains only one product.
hyper-heuristic as defined in [9]. It consists of several x Each product has a daily production rate or a
heuristic combinations represented by a chromosome that consumption rate.
is evaluated and evolved within a GA framework. As far x Each storage has lower and upper inventory limits
as we know, our approach is the first to combine GA and x Ships differ in the number and capacity of
multiple heuristics to solve maritime inventory routing compartments, and speed.
problems. x The ships travel between ports to ensure that the
In this paper, we present a maritime inventory routing levels of storages are within their limits.
and scheduling problem. This problem is a class of
x A ship may visit up to two consumption ports in one less coverage days, the more urgent a port needs to be
assignment. served by a ship. The term CD has the same meaning as
x Partial loading and/or unloading are allowed. the term “urgency” as described in [11, 12] and the term
x A ship may load any types of products, but only one “capacity breach” in [8].
product in each compartment.
x Each port can receive more than one ship at a time. A. Chromosome Representation
Several ships can load or unload products
simultaneously. We developed a chromosome based on the characteristic
x The loading and unloading of products can only occur of a mathematical model solution solved using Lingo. The
one at a time. It cannot be done simultaneously. genes are grouped by decision points as follows:
There exists loading or unloading rate for each 1) Ship selection.
product and a fixed setup time for changing product This decision point only needs one gene, called as gene0.
in this process. The possible value of this gene depends on the number of
x A ship may need a fixed setup time to enter a port. ships.
x Waiting time is permitted in a port to when there are
more products or more space in their storages so as to 2) Routing determination
unload more products. Three genes are needed to describe the routing of the
x All ships satisfy the draft limit of all ports. selected ship. Gene1 is used to determine whether the ship
x At the beginning of the planning horizon, initial needs to go to a production port or not. Gene2 determines
inventory levels of storages are known. Furthermore, the number of consumption port(s) that will be visited by
the compartment contents and position of ships are the ship. The last gene, gene3, determines the visiting port
also given as input. sequence. This sequence also depends on the value of
gene2 as described in the table below.
The objective of the problem is to find a minimum TABLE 1
THE ROUTING SEQUENCE
cost solution for the ship routing and loading/unloading
schedules during the planning horizon. Gene3 Gene2 The first The second
visiting port visiting port
0 The CD port [0]
0 1 The CD port [0] The CD port [1]
III. PROPOSED MODEL
0 The CD port [0]
1 1 The CD port [1] The CD port [0]
In solving a maritime inventory routing problem, our 0 The CD port [1]
algorithm can be divided into two parts: multi-heuristics 2 1 The CD port [1] The CD port [2]
algorithm and Genetic Algorithm (GA). As in Siswanto
In this table, the CD port is a result of the sorted storage
et.al [13], multi heuristics is a set of heuristic
process that will be explained in more detail in the next
combinations each of which consist of strategies at four
section.
decision points that need to be solved simultaneously. The
strategies are composed of (1) ship selection, (2) ship 3) Unloading procedure
routing determination, (3) unloading, and (4) loading This decision point only has one gene that determines
procedures. These strategies are encoded as a what kind of and how much product(s) need to be
chromosome to represent an assignment of a ship. unloaded from the ship’s compartment(s) into port’s
An assignment is defined as one movement of a ship storage(s). There are three values in this gene. The
from its current position to another port to deliver gene4=0 means that the unloading quantity is equal to the
products. A number of assignments in one chromosome least of the visiting port’s demand or the quantities on
are defined as a step. This can be seen as the number of board for both products. When gene 4=1 or gene4=2, only
step look ahead. Each assignment will change the product0 or product1 is unloaded as much as the product
condition or status of a collection of variables defined as a demand or quantity on board, respectively.
state, for example ship’s position, its compartment levels
and their contents, and storage levels. We denote SIn as an 4) Loading procedure
initial state of assignment n, while SAn as a state after In this decision point, the number of genes depends on the
processing assignment n. Obviously, SAn = SIn+1. maximum number of compartments among the modeled
Coverage day (CD) is used to determine which port ships. If we have a maximum of two compartments, this
and its storage needs to be served next. We have two point needs three genes. The first gene, gene 5, determines
definitions of CDik depending on the type of ports. For a the quantities loaded in the ship compartments. The next
discharge port, CDik means the number of days that port i two genes, gene6 and gene7 determine how to allocate
can cover the demand of product k from its storage before products into ship’s compartments. Three possible values
it runs out. While for a production port, it means the of gene5 are described as:
number of days that port i can continue producing product x Gene5=0 means that if the products available in the
k before its storage reaches the maximum capacity. The production storages are less than the compartment
117
Authorized licensed use limited to: KU Leuven Libraries. Downloaded on January 28,2021 at 21:00:32 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the 2011 IEEE IEEM
118
Authorized licensed use limited to: KU Leuven Libraries. Downloaded on January 28,2021 at 21:00:32 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the 2011 IEEE IEEM
time or the waiting time, whichever is greater. The last Core 2 CPU 6300 1.86 GHz machine. We use five
part is the time to wait for getting more product(s). generated datasets which represent (2,3,2,2)
The same procedure is carried out for any unloading configurations of the number of ships, ports, products and
activities. compartments. Each dataset is run for 10 and 15 days
planning horizon. Then, we compared the method results
5) Fitness function with the ones of the mathematical model. The detailed
Each chromosome in a population is evaluated in the mathematical model and problem instances can be found
GA framework by using a fitness function. The function in [13].
is composed of three parts: total transportation cost,
penalty cost, and completion cost, as described in Based on table II, for each test instance, the ones with
equation (1). 15 days planning horizon need significant longer running
time to solve, in comparison to the ones for 10 days by
Fitness function = w1 total cost + w2 penalty cost + using the mathematical model. On the contrary, there are
w3 completion cost (1) no dramatic changes in running time to solve between 10
The fitness function is highly influenced by the and 15 days planning horizon problems by using the
values of three parameters: w1, w2, and w3. We set w2 and proposed method, as seen in table III.
w3 significantly high compared to w1 because we would
like to avoid solutions that have storage shortage or
overflow and to have also solutions that satisfy demand
through the planning horizon.
C. Genetic Algorithm
119
Authorized licensed use limited to: KU Leuven Libraries. Downloaded on January 28,2021 at 21:00:32 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the 2011 IEEE IEEM
TABLE III
THE RESULT OF MULTI HEURISTICS BASED GA
Figures 3, 4, and 5 represent a solution of test [2] K. Chakhlevitch, and P. Cowling, “Hyperheuristics: Recent
instance no. 4 with 15 day planning horizon. These Developments”’ In: C. Cotta, M. Sevaux, & K. Sorensen,
figures show the progress of fitness function, total cost Adaptive and Multilevel Metaheuristics, Springer-Verlag
and the least urgency among all storages in the ports as a Berlin Heidelberg, pp. 3-29, 2008.
[3] M. Christiansen, and B. Nygreen, "A method for solving
function of generation. At the beginning of period the ship routing problems with inventory constraints," Annals
minimum total cost is the lowest value, on the other hand of Operations Research, vol. 81, pp. 357-378, 1998.
the fitness function is the highest one at that time. This is [4] M. Christiansen and B. Nygreen, "Modeling path flows for
caused by the highest completion cost, added to the total a combined ship routing and inventory management
cost since the least urgency is the lowest value at this problem," Annals of Operations Research, vol. 82, pp. 391-
time. When the number of generation becomes larger, all 413, 1998.
the demands have been fulfilled and they reach their [5] M. Christiansen, “Decomposition of a combined inventory
levels to satisfy the demands until the end of planning and time constrained ship routing problem," Transportation
horizon. At this point, the total cost will have the same Science, vol. 33, no.1, pp. 3, 1999.
[6] M. Christiansen, and K. Fagerholt, et.al, “Chapter 4
value with the fitness function because there is no late Maritime Transportation”, Handbooks in Operations
shipment. Research and Management Science, Elsevier. Vol. 14, pp.
189-284, 2007.
V. CONCLUSION AND FUTURE WORK [7] M. Christiansen, and K. Fagerholt, “Maritime Inventory
Routing Problems”, in Encyclopedia of Optimization. C. A.
In this paper, we show that a multi-heuristics based Floudas and P. M. Pardalos. Second Edition, pp. 1947-
GA may reach the same global optimal as the solutions in 1955, 2009.
the mathematical model, but with a significant decrease in [8] M. Christiansen, and K. Fagerholt, et al, "Maritime
computational time. However, for solving larger problems inventory routing with multiple products: A case study from
the cement industry." European Journal of Operational
(i.e. more than six assignments: longer planning horizon Research, vol. 208, no. 1, pp. 86-94, 2011
or modeling more ports or/and products to be served), the [9] P. Cowling, and G. Kendall, et al, "A hyperheuristic
method needs to be modified to deal with the approach to scheduling a sales summit," Lecture Notes in
chromosome representation. Longer chromosomes make Computer Science, pp. 176-190, 2001.
it more difficult to converge and also take more time to [10] P. Cowling, G. Kendall, and E. Soubeiga, “Hyperheuristics:
solve. Moreover, the methods can also be applied in A Tool for Rapid Prototyping in Scheduling and
strategic decision by setting different number of ships to Optimisation,” In: Cagnoni, S., et. al, Applications of
get the optimal number and the type of ships serving the Evolutionary Computing, pp. 1-10. Springer Berlin/
ports during the predefined planning horizon. This will be Heidelbergparameters, 2002.
[11] S.J. Hwang, “Inventory Constrained Maritime Routing and
an interesting challenge for our intended future extension Scheduling for Multi-Commodity Liquid Bulk,”
of this problem. Unpublished thesis, School of Industrial and Systems
Engineering, Georgia Institute of Technology, 2005.
[12] M. Savelsbergh, M. and J.H. Song, ”Inventory routing with
REFERENCES continuous moves,” Computers & Operations Research,
vol. 34, no. 6, pp. 1744-1763, 2007.
[1] F. Al-Khayyal, and S.J. Hwang, “Discrete Optimization- [13] N. Siswanto, D. Essam, and R. Sarker, "Solving the ship
Inventory constrained maritime routing and scheduling for inventory routing and scheduling problem with undedicated
multi-commodity liquid bulk, Part I: Applications and compartments," Computers & Industrial Engineering, in
model”, European Journal of Operational Research, vol. press.
176, pp. 106–130, 2007.
120
Authorized licensed use limited to: KU Leuven Libraries. Downloaded on January 28,2021 at 21:00:32 UTC from IEEE Xplore. Restrictions apply.