Abstract

We study the ship speed optimization problem with the objective of minimizing the total fuel consumption. We consider multiple time windows for each port call as constraints and formulate the problem as a nonlinear mixed integer program. We derive intrinsic properties of the problem and develop an exact algorithm based on the properties. Computational experiments show that the suggested algorithm is very efficient in finding an optimal solution.

1. Introduction

According to the report of World Shipping Council in 2008, fuel cost represents as much as 50–60% of total ship operating cost. Since fuel consumption is known to be the third power function of ship speed [1], many global shipping companies are trying to reduce fuel consumption by slowing down ship speed (called slow steaming). In this study, we consider the ship speed optimization problem with the objective of minimizing total fuel consumption of a (tramp or liner) ship operated on a given route. For a tramp ship, the ship speed optimization problem is a tactical problem which should be solved for every sailing, while it is a strategic problem to be solved just one time when designing a shipping route for a liner ship [2]. We determine ship speed on each leg under time window restrictions related with port calls. Time window sizes are narrow for congested ports, while they are wide for noncongested ones.

There are two kinds of time windows: hard time window and soft one [3, 4]. A hard time window should be kept at all costs while the soft one can be violated with appropriate penalties. There usually exist multiple time windows for each port call depending on the available service time of the port. Most ports have restricted operating hours since they are closed for service at night and during weekends. In this case, the wide time windows can be regarded as multiple time windows [5]. Also, ports have restrictions on the draft of ships that may safely enter [6, 7]. Many ports have time-dependent draft restrictions due to the tide that leads to multiple time windows at each port. Therefore, our aim in this study is to develop a mathematical model and an exact algorithm for the ship speed optimization problem with multiple hard time windows.

There are some previous studies on the ship speed optimization problem which are related to our problem although they consider different objective functions, decision variables, and constraints. Ronen [1] performs pioneering research on determining optimal ship speed by considering the tradeoff between fuel savings by slow steaming and the loss of revenues due to the resulting voyage extension on the other hand. Ting and Tzeng [8] propose a dynamic programming model for the ship scheduling problem with both soft and hard time window constraints with the objective of meeting the time window constraints as closely as possible. Brown et al. [9] suggest a linear programming model for optimizing operation modes of a naval ship to minimize the fuel consumption when the ship transit time is given. Corbett et al. [10] evaluate the effect of the speed reduction on mitigation of CO2 emissions quantitatively. Ronen [11] determines the optimal speed and fleet size (the number of deployed ships) for containerships on a single route with a weekly service cycle. Wang and Meng [12] propose a model and an algorithm to determine an optimal sailing speed of container ships on each leg of each ship route in a liner shipping network while considering transshipment and container routing. Previous literature on the speed optimization problem can also be found in the airline industry such as Lovegren and Hansman [13], Jensen et al. [14], and Aktürk et al. [15].

Our study stems from the ship speed optimization problem to minimize total fuel consumption with hard time windows studied by Fagerholt et al. [16], Norstad et al. [17], Hvattum et al. [18], Kim et al. [2], and Zhang et al. [19]. Fagerholt et al. [16] formulate the problem as a nonlinear programming model and propose a heuristic algorithm by discretizing the time window and reformulating the problem as the shortest path model. Norstad et al. [17] develop a recursive smoothing algorithm (RSA) for speed optimization and present a multistart local search heuristic for the tramp ship routing and scheduling problem with speed optimization. Hvattum et al. [18] prove that the RSA of Norstad et al. [17] guarantees optimality. Kim et al. [2] also propose an exact algorithm for the ship speed optimization problem. Zhang et al. [19] establish the optimality properties for the problem. Although the suggested algorithms and properties are very efficient for the problem with a single time window constraint, they cannot handle multiple time windows which are common in maritime transportation.

In this study, we extend the studies of Hvattum et al. [18] and Kim et al. [2] to solve a more general ship speed optimization problem with multiple time window constraints. The remainder of this paper is organized as follows: the next section presents a mathematical formulation of the problem with a small example problem. In Section 3, we derive optimality properties of the problem. We present an exact algorithm based on the optimality properties in Section 4. Section 5 reports the computational test results on randomly generated test instances followed by concluding remarks in the last section.

2. Problem Description

The notations used throughout the paper are shown in the Notations.

The daily fuel consumption function can be approximated by a well-known cubic function of speed as , where is a factor of converting speed to the fuel consumption [1]. Then, the total amount of fuel consumption of a vessel sailing from port to port can be expressed as

Using (1), the considered problem can be formulated as the following nonlinear mixed integer programming model. We set since port 1 is the start port.

Objective function (2) expresses the total amount of fuel consumption of the ship. Constraint (3) ensures that cargo service at each port starts after the ship arrives at the port. Constraints (4) and (5) ensure that the start time of cargo services lies in exactly one of the time windows at each port. Constraint (6) represents that the ship speed on a leg is bounded by its allowable minimum and maximum speeds. Constraints (7) and (8) specify feasible ranges of decision variables.

A small example with four ports is used throughout the paper to help readers understand the problem and suggested properties and algorithm. In the example, , , , and cargo service time is assumed to be zero at all ports. Figure 1 depicts time windows at ports, distances between ports, and a feasible solution of the example. In the feasible solution, , , and .

3. Optimality Properties

We define an outer time window at a port as a single time window that covers all time windows at the port. Let be the outer time window at port . Then, we have . Using the time window reduction method of Kim et al. [2], we can reduce the size of the outer time window at each port as much as possible without affecting the feasible region of the problem. In the method, the size of the outer time window at a port is reduced by increasing the start time of the outer time window to the earliest possible time at which the ship can arrive at the port, while decreasing the end time of the outer time window to the latest possible time at which the ship can arrive. In the remainder of this paper, we assume that was already reduced using the time window reduction method of Kim et al. [2]. Then, the th time window at port , , can be updated as follows for and .(i)If or , the th time widow of port is no longer valid; thus it is eliminated.(ii)If , let .(iii)If , let .In the remainder of this paper, we assume that and were already updated. In the four-port example, time windows at each port cannot be reduced any longer.

Proposition 1. An optimal value of , .

Proof. We refer readers to Proposition  4 of Kim et al. [2].

Proposition 2. If the time window constraints and the ship speed limits are relaxed, the optimal ship speed, , is a constant along the entire route and obtained as .

Proof. We refer readers to Proposition  1 of Hvattum et al. [18] and Proposition  5 of Kim et al. [2].

Let be the time at which service starts at port and be a set of ports at which start time of service is not within any of the ports’ time windows, when the ship sails at a constant speed . If , then or for or . For , we define left and right time gaps of infeasibility at port , denoted by and , respectively, as follows.If , and does not exist.If for , and .If , and does not exist.

Proposition 3. If , is an optimal ship speed throughout the entire route.

Proof. According to Proposition 2, it is obvious.

Proposition 4. If , there exists at least one port (say port ) in for which for all and an optimal value of , denoted by , is obtained as follows:

Proof. If or (i.e., the outer time window is violated at port ), it is clear that the time window violation should be adjusted by moving to the right or left, respectively. On the other hand, if (i.e., the inner time window is violated at port ), there exist two possible directions of violation adjustment, that is, left or right. If , we assume that or arbitrarily. Let be the total number of ports at which inner time windows are violated. Then, there exist total possible cases to consider. For each case, we define a time gap of infeasibility at port , denoted by , for all as follows.If , .If and , , where .If and , , where .If , If and , it means that the violation should be adjusted to the left, while the violation should be adjusted to the right if . Since it is known whether or if in each of the cases, violation adjustment direction is also determined for all violations in each case. This means that the inner time window violation can be treated as the outer time window violation in each of the cases. According to Propositions  2 and 3 of Hvattum et al. [18], the (outer) time window constraint with the largest violation should be binding. Let . Then, for all . By applying Propositions  2 and 3 of Hvattum et al. [18] to each of the cases, we have An optimal solution belongs to one of the cases and in any case. Therefore, there exists at least one port for which for all and

In the four-port example, and . Since , , and , we have and , (as shown in Figure 2), , and . According to Proposition 4, or 700. Note that or 300 is not ensured because .

4. An Exact Algorithm

Based on the proposed propositions, we develop a recursive partitioning algorithm (RPA) to find an optimal solution for [P]. The RPA is an extension of the RSA of Norstad et al. [17] and Hvattum et al. [18]. The basic idea of the algorithm is to maintain a constant ship speed throughout the entire route as best as possible and divide the ship route into two subroutes recursively if start time of service is not within any of the ports’ time windows by fixing start time of service at one of its optimal candidates obtained by Proposition 4. In the algorithm, all possible optimal partitions are evaluated and the best one is selected. Pseudocode of the RPA is given as shown in Algorithm 1.

(1)   
(2)   for to
(3)   
(4)   for to
(5)   
(6)  
(7)  for to
(8)   if there does not exist any such that for all
(9)     
(10)  if
(11)    total fuel consumption
(12)    for to
(13)    
(14)    return()
(15)  if
(16)    
(17)    for
(18)    if
(19)       and
(20)    else if
(21)       and
(22)    else
(23)       and
(24)   for
(25)    if for all
(26)      if
(27)         and Partition()
(28)      else if
(29)         and Partition()
(30)      else
(31)        for to
(32)           if
(33)               and Partition()
(34)           else
(35)               and Partition()
(36)   for to
(37)     
(38)   for to
(39)    
(40)   return(min)
Partition( )
(41) 
(42) if
(43)   
(44)   for to
(45)     

The RPA can be seen as a tree search algorithm as the RSA of Norstad et al. [17] in that it recursively partitions the problem into two subproblems at each node. In the RSA, the way of optimally partitioning the problem is unique in each node; that is, the problem is divided into two subproblems by binding the largest violation, while possible candidates of optimal partitioning are up to for the RPA in each node. Since in level , where , the total number of possible ways of partitioning is up to . According to Hvattum et al. [18], the RSA, a one-way partitioning algorithm, has the worst-case running time of . The worst-case running time of the RPA is times that of the RSA. Therefore, the RPA has the worst-case running time of . Although the RPA has a very bad worst-case performance, it is expected to perform well in practice because is usually much less than in each level (especially in high levels) and furthermore we only need to consider , where according to Proposition 4, which is validated through computational experiments in the next section.

For the four-port example, is executed at first to obtain in line (1), , , and in lines (4)~(5). Since (=250) (=300) and (=550) (=700), we obtain in lines (7)~(9), and , , , and in lines (17)~(23). Since , is not executed for in line (25). For , is executed in line (33) and and are recursively called in line (41). In , , , , and . returns 24,099.2 in line (14). In , , , , and . returns 10,666.6. Then, has of 34,765.8 in line (41) and the variables min and s are updated in lines (42)~(45). On the other hand, is executed in line (35) and has of 38,877.6 after executing and . In , min and are not updated since (=38,877.6) is greater than min (=34,765.8). Lastly, obtains an optimal solution in which , , , , , and in lines (36)~(39) and returns the objective function value of the optimal solution (=34,765.8) in line (40).

5. Computational Experiments

To test performance of the RPA, 25 test instances were randomly generated. We modified the problem generation method of Kim et al. [2] to generate the test instances. In our method, parameters of the test instances were set as follows:(1)The number of ports in the route, , is set to five levels: 10, 20, 30, 40, and 50. (Very large-sized problem instances are included in the test set to gain deeper insights into the performance of the suggested algorithm although the number of port calls is usually less than 20 in the maritime industry.)(2)The maximum number of time windows (MNTW) at each port is set to five levels: 2, 4, 6, 8, and 10. (At each port, the number of time windows is between 1 and MNTW.)(3) and are set to 12 knots and 25 knots, respectively.(4) is randomly generated between 500 and 2,000 nautical miles for , corresponding to about 1~11 sailing days when sailing at 18.5 knots.(5)The factor of converting speed to the fuel consumption, , is set to 0.02.(6)The outer time window size of port , , is set to 120 hours for all .(7), where is a randomly generated real value using a uniform distribution from to .(8) and for all , where .(9) and for all and , where .(10)If , . Otherwise, for all and .

The RPA was run on a PC with an Intel i5 CPU at 3.3 GHz. Table 1 shows CPU time required by the algorithm and the total number of recursive calls in the algorithm to find an optimal solution for each instance. The RPA was very fast; it required only 0.98 seconds on the average even for the largest-sized instances. The CPU time was affected by the number of ports but not by the MNTW. This is because the CPU time is directly related to the total number of recursive calls of which is again related to , the number of ports at which start time of service is not within any of the ports’ time windows when the ship sails at a constant speed .

6. Concluding Remarks

In this study, we suggest a nonlinear mixed integer programming model for the ship speed optimization problem with multiple time windows. We extend existing literature to derive optimality properties and develop an exact algorithm for the problem. Computational experiments show that the suggested algorithm is very fast in finding optimal solutions even for very large-sized problem instances. The suggested algorithm itself can be used to determine the economic ship speed and as a subroutine in the ship routing and scheduling algorithms in the shipping industry.

Notations

Parameters
Number of ports on the route
:Nautical distance between port and port [nautical miles]
:Daily fuel consumption of a ship navigating in speed [tons/day]
:Number of time windows at port
:Start time of the th time window at port
:End time of the th time window at port
:Cargo service time at port
:Minimum allowable speed of the ship [knots]
:Maximum allowable speed of the ship [knots].
Decision Variables
:Speed of the ship sailing from port to port [knots]
:Time at which service starts at port
: Equalling 1 if service starts at port within the th time window and 0 otherwise.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work was supported by 2012 Assistant Professor Support Program of Engineering College, Myongji University.