You are on page 1of 23

This article was downloaded by: [193.190.253.

145] On: 30 January 2021, At: 14:27


Publisher: Institute for Operations Research and the Management Sciences (INFORMS)
INFORMS is located in Maryland, USA

Transportation Science
Publication details, including instructions for authors and subscription information:
http://pubsonline.informs.org

Ship Scheduling and Network Design for Cargo Routing in


Liner Shipping
Richa Agarwal, Özlem Ergun,

To cite this article:


Richa Agarwal, Özlem Ergun, (2008) Ship Scheduling and Network Design for Cargo Routing in Liner Shipping. Transportation
Science 42(2):175-196. https://doi.org/10.1287/trsc.1070.0205

Full terms and conditions of use: https://pubsonline.informs.org/Publications/Librarians-Portal/PubsOnLine-Terms-and-


Conditions

This article may be used only for the purposes of research, teaching, and/or private study. Commercial use
or systematic downloading (by robots or other automatic processes) is prohibited without explicit Publisher
approval, unless otherwise noted. For more information, contact permissions@informs.org.

The Publisher does not warrant or guarantee the article’s accuracy, completeness, merchantability, fitness
for a particular purpose, or non-infringement. Descriptions of, or references to, products or publications, or
inclusion of an advertisement in this article, neither constitutes nor implies a guarantee, endorsement, or
support of claims made of that product, publication, or service.

Copyright © 2008, INFORMS

Please scroll down for article—it is on subsequent pages

With 12,500 members from nearly 90 countries, INFORMS is the largest international association of operations research (O.R.)
and analytics professionals and students. INFORMS provides unique networking and learning opportunities for individual
professionals, and organizations of all types and sizes, to better understand and use O.R. and analytics tools and methods to
transform strategic visions and achieve better outcomes.
For more information on INFORMS, its publications, membership, or meetings visit http://www.informs.org
informs ®
Vol. 42, No. 2, May 2008, pp. 175–196
issn 0041-1655  eissn 1526-5447  08  4202  0175 doi 10.1287/trsc.1070.0205
© 2008 INFORMS

Ship Scheduling and Network Design for


Cargo Routing in Liner Shipping
Richa Agarwal, Özlem Ergun
School of Industrial and Systems Engineering, Georgia Institute of Technology,
Atlanta, Georgia 30332 {ragarwal@isye.gatech.edu, oergun@isye.gatech.edu}

A common problem faced by carriers in liner shipping is the design of their service network. Given a set
of demands to be transported and a set of ports, a carrier wants to design service routes for its ships as
efficiently as possible, using the underlying facilities. Furthermore, the profitability of the service routes designed
depends on the paths chosen to ship the cargo. We present an integrated model, a mixed-integer linear program,
to solve the ship-scheduling and the cargo-routing problems, simultaneously. The proposed model incorporates
relevant constraints, such as the weekly frequency constraint on the operated routes, and emerging trends, such
as the transshipment of cargo between two or more service routes. To solve the mixed-integer program, we
propose algorithms that exploit the separability of the problem. More specifically, a greedy heuristic, a column
generation-based algorithm, and a two-phase Benders decomposition-based algorithm are developed, and their
computational efficiency in terms of the solution quality and the computational time taken is discussed. An
efficient iterative search algorithm is proposed to generate schedules for ships. Computational experiments are
performed on randomly generated instances simulating real life with up to 20 ports and 100 ships. Our results
indicate high percentage utilization of ships’ capacities and a significant number of transshipments in the final
solution.
Key words: maritime transportation; liner shipping; Benders decomposition
History: Received: July 2006; revision received: February 2007; accepted: April 2007. Published online in
Articles in Advance April 7, 2008.

Introduction An increase in sea-borne trade worldwide has led


Sea cargo is the freight carried by ships, and it includes to similar trends in the growth of the world fleet. In
anything travelling by sea other than mail, people, 2005, world sea-borne trade increased to 7.11 billion
and personal baggage. A global sea carrier is a person, tons of loaded goods (a 3.8% annual growth rate),
business, or organization that offers transportation and the world fleet expanded to 960.0 million dead-
services via the sea on a worldwide basis. A shipper weight tons (a 7.2% increase) (United Nations Con-
is a person or company that is either the supplier or ference on Trade and Development 2006). Although
the owner of the cargo that is to be shipped. With the fleet mix and size have changed considerably over
rates for sea cargo transportation at approximately time, the efficient utilization of ships remains one
one-tenth of air freight rates, fewer accidents and of the main determinants of a carrier’s profitability.
less pollution, maritime transportation is regarded as A ship involves a major capital investment, in mil-
a cheap, safe, and clean transportation mode, com- lions of U.S. dollars, and its daily operating costs can
pared with other modes of transportation. Increasing be in tens of thousands of dollars. Hence, develop-
globalization and interdependence of various world ment of optimization-based decision support systems
economies is leading to a tremendous positive growth is necessary for efficient fleet management.
in the sea cargo industry. International and domes- The sea cargo industry is going through many
tic trade of many nations depends on this mode of changes that are reshaping its face. One of the most
transportation. According to the American Associa- prominent changes is the increasing use of containers.
tion of Port Authorities (2006), in the United States, Containerized cargo is the cargo that has been phys-
which is the largest trading nation in the world for ically and economically stored in a container. Con-
both imports and exports—accounting for nearly 20% tainerization of cargo has revolutionized the sea cargo
of world trade—sea cargo is responsible for moving industry by minimizing port labor and facilitating
more than 99% of the international cargo. U.S. ports cargo handling. The dimensions of containers have
and waterways handle more than 2.5 billion tons of been standardized. The term twenty-foot equivalent unit
trade annually, and this volume is projected to double (TEU) is used to refer to one 20-foot long container.
within the next 15 years. According to Drewry (2001), at the start of 1980s only
175
Agarwal and Ergun: Network Design for Liner Shipping
176 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

the world’s busiest port in terms of shipping tonnage,


are transshipments.
335
Collaboration among sea carriers is not new. Car-
riers used conferences as a means to curb competi-
Millions of TEUs

tion and control tariff rates in the market, as early


235
as 1875. More recently, carriers are forming strategic
alliances that allow them to realize economies of scale,
extend their customer base, and increase asset utiliza-
135
tion while providing customers with more frequent
sailings and faster transit times (Song and Panayides
2002). Since 1990, when Sea-Land and Maersk intro-
35
1980 1985 1990 1995 2000 2005 duced the alliance system and began sharing ships
Year in the Atlantic and Pacific, strategic alliances have
Figure 1 Growth in Container Movements Worldwide
become increasingly common. Today smaller alliances
Source. Drewry Container Market Quarterly 2001. collaborate to form even bigger alliances; for exam-
ple, the Grand Alliance and the New World Alliance
laid down the foundation for cooperating in 2006.
about 20% of all general cargo shipments were car-
This trend of consolidating fleets and service routes
ried in containers. In 2001, this figure had increased
demands better decision support systems to control a
to 60%. An IBM white paper (Hingorani, Moore, and
large fleet of ships and to solve large-scale scheduling
Tornqvist 2005) shows that the container shipping
and optimization problems.
market is still growing at 8%–10% per year. This trend
Christiansen, Fagerholt, and Ronen (2004) describe
is depicted in Figure 1.
in detail the division of the global shipping indus-
A serious challenge associated with containerized
try into three different modes of operation: industrial,
shipping is the repositioning of empty containers.
tramp, and liner. In industrial shipping, the shipper
Because of the huge imbalance in trade volume on
owns the ships and aims to minimize the total ship-
some routes, carriers need to reposition empty con-
ping costs. In tramp shipping, a carrier engages in
tainers, incurring significant costs. According to ROI
contracts with shippers to carry bulk cargo between
(2002), a 10% reduction in equipment and reposi-
tioning costs can potentially increase profitability by specified ports within a specific time frame. Addi-
30%–50%. tional cargo (if any is available in the market) is
The sea cargo industry has seen a tremendous picked depending on the fleet capacity to maximize
growth in number as well as in size of transshipment revenue. In liner shipping, a carrier decides on a set
ports. A transshipment port is a port where cargo of trips, makes the schedule available to shippers, and
is transferred from one ship to another. Through a operates on it. Thus, one can identify industrial ship-
sequence of moves by cranes, cargo is transferred ping with owning a car, tramp shipping with a taxi
either directly from one ship to another or tem- service, and liner shipping with a bus service with
porarily stored at the port before being loaded onto definite schedules and a published itinerary.
outbound ships for further transportation. Use of The focus of this paper is liner shipping. Liner ship-
containers makes this transfer very convenient and ping mainly involves carrying containerized cargo
cost effective. Transshipment services provide carri- on regularly scheduled service routes. Liner services
ers with additional routing options and reduced tran- involve higher fixed costs and administrative over-
sit times and act as facilitator of international trade. head than, for example, tramp shipping because
For example, the Hutchinson terminal in Freeport, tramps usually wait until they are full before depart-
Bahamas, has become a major transshipment port ing from a port, whereas liner services promise
among the eastern Gulf Coasts of the United States, to depart on predetermined schedules regardless of
the Gulf of Mexico, the Caribbean, South America, whether the ship is full. The number of ships required
and trade lanes to European, Mediterranean, far East- for a given liner service route is determined princi-
ern, and Australian destinations. Other major inter- pally by the frequency required on the service route,
national transshipment ports include Singapore, Port the distance travelled by a ship on the route, and the
Klang in Malaysia, and Hong Kong. In 2003, approxi- speed of the ship. For example, a weekly liner service
mately 30% of worldwide container movements were between New York and Hamburg may require four
transshipped, and it is believed that this number is ships to maintain the necessary frequency.
rising. According to the U.S. Customs Service (2003), As observed by Christiansen, Fagerholt, and Ronen
80% of all containers handled at the port of Singa- (2004), liner shipping is growing at a high pace be-
pore, the world’s second largest container port and cause of the increasing global container traffic. In the
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 177

Strategic planning (long term) selected cargo. This is referred to as the cargo-routing
Acquire resources, determine fleet size and mix problem. A carrier may elect not to transport some
General policies Revenue and cargo, either because it is not profitable or because
and guidelines cost information there is other cargo, perhaps at other ports, that is rel-
atively more profitable. A cargo starts its trip from an
Tactical planning (medium term)
Design the service network (frequency of routes, port selection, in-land location and arrives at its origin port. This net-
port rotation), assign ships to routes work, which utilizes trucks, railroads, or waterways
to bring cargo from an inland location to its origin
Goals, rules, Revenue and
and limits cost information port, is known as the feeder network. Cargo then moves
from its origin port to its destination port, possibly
Operational planning (short term)
after visiting some intermediate ports. From there it
Choose which cargo to accept/reject for routing, route the
selected cargo is taken to its final in-land destination using another
Simultaneous ship-scheduling and cargo-routing problem
feeder network. Some of the intermediate ports that a
cargo visits during its journey from the origin port to
Figure 2 Planning Levels for Liner Shipping the destination port may act as transshipment ports,
where cargo is transferred from one ship to another.
United States, in 2003, liner shipping with its net- The decisions made at one planning level affect the
work of ships, containers, port terminals, and infor- decision making at other planning levels as well. The
mation systems handled more than 60% of the total decisions at the strategic level set the general policies
sea-borne trade. According to Barry Rogliano Salles- and guidelines for decisions at the tactical and oper-
AlphaLiner (2006), between January 2000 and Jan- ational levels. Similarly, the decisions at the tactical
uary 2006, the TEU capacity deployed on global liner level set the capacity limitations and network struc-
trades rose from 5,150,000 TEUs to 9,135,000 TEUs, a ture for the operational planning level. In the reverse
77.4% increase. direction, the information on cost and revenue gener-
Liner shipping involves decision making at strate- ated by the system given the set parameters provides
gic, tactical, and operational planning levels. Figure 2 the much-needed feedback for decision making at a
outlines the key decisions that need to be made at higher level.
different levels of the planning horizon. Over the years, the sea cargo industry has been
In the strategic planning stage, the optimal num- conservative in terms of adopting new decision sup-
ber and mix of ships in a fleet are determined. Given port systems. It has a long tradition of manual plan-
that owning a ship involves a huge capital invest- ning by experienced planners. Moreover, in general,
ment (usually in millions of U.S. dollars) and the cost ship scheduling involves a large variety of problems.
of holding a 2,000 TEU ship idle is $20,000–$25,000 Hence, mostly tailor-made models for specific prob-
per day, the strategic level decisions are extremely lems with specialized constraints and objectives are
important. available. Furthermore, most of the available liter-
In the tactical planning stage, the service network ature has been developed for industrial and tramp
is designed by creating the ship routes, that is, the shipping (Christiansen, Fagerholt, and Ronen 2004).
sequence of port visits by a given fleet and the assign- Because of the many differences in modelling and
ment of ships to these routes. Ships move in cycles problem structure itself, it is difficult to draw compar-
from one port to another, following the same port isons between the existing literature.
rotation for the entire planning horizon. To maintain We next briefly review a set of representative
a customer base and to provide customers with a reg- papers related to container and liner shipping. For a
ular schedule, most carriers have at least one depar- comprehensive review of literature on ship schedul-
ture each week from each port on a service route (i.e., ing and cargo routing, we recommend Ronen (1983)
a cycle). This requires that the number of ships that for the work done before 1983, Ronen (1993) for the
operate on a cycle be at least equal to the number of decade 1982–1992, and Christiansen, Fagerholt, and
weeks that it takes to complete the cycle. Some cycles, Ronen (2004) for the last decade.
such as those connecting Asia to North America, may Rana and Vickson (1991) provide a nonlinear inte-
take up to eight weeks to complete, which means that ger program to maximize total profit by finding an
a carrier requires at least eight ships to introduce a optimal sequence of ports to visit for each contain-
new service on such a route. The problem of design- ership and an optimal number of cargo units to be
ing the service network of a carrier is referred to as transported between each pair of ports by each ship.
the ship-scheduling problem. They allow multiple pickups and deliveries on their
In the operational planning stage, a carrier makes ships. However, a special network structure with a
decisions regarding which cargo to accept or reject restriction on loading and unloading of cargo at the
for servicing and which path(s) to use to ship the end ports is considered. Furthermore, the model does
Agarwal and Ergun: Network Design for Liner Shipping
178 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

not consider transshipments by not allowing cargo to multiple pickups and deliveries on our ships; that
be carried on ships that do not visit either the port of is, we allow containers loaded at one port to have
origin or the destination port. They report that their more than one port of destination. Moreover, a fleet
algorithms solve instances with three ships and up to usually consists of various ship types with different
20 ports within an hour. characteristics that may change over time. We con-
Fagerholt (1999) considers the liner shipping prob- sider a heterogeneous fleet with ships of different
lem in a special network where all cargo is trans- sizes, cost structures, and speeds. In the literature,
ported from a set of production ports to a single although there are references (see, for example, Fager-
depot. The problem is solved by first generating all holt 1999) to models with a heterogeneous fleet, most
feasible single-ship routes and then solving a set parti- of these models consider ships with identical service
tioning problem. Again, the model does not allow for speeds. Repositioning of empty containers efficiently
transshipments. Although a weekly frequency con- is a big problem in liner shipping. Our model, with
straint is imposed on the operated routes, the feasi- some modifications, has the flexibility to incorporate
ble routes for the particular problem considered have empty container repositioning. Empty container repo-
a maximum route time of only one week. Thus, on sitioning has been studied by Shen and Khoong (1995)
any of the feasible routes a single ship can maintain and Cheung and Chen (1998) also; however, these
weekly frequency. Instances with up to 19 ships on a papers consider only the movement of empty contain-
network with up to 40 ports are reported to be solved ers on a given network. We also allow cargo routes to
within a couple of seconds. encompass a combination of cycles rather than a sin-
Finally, Perakis (2002) provides a review of linear gle cycle (with some simplifying assumptions on the
and integer programming models that only consider cost of transshipment), thus providing carriers with
the deployment of a fleet of liner ships with different increased routing opportunities. We are not aware of
ship types on a set of predetermined routes with tar- any earlier results on transshipment of containers at
geted service frequencies to minimize operating and an intermediate port from one ship to another. These
features allow the use of our model in a wide variety
lay-up costs.
of settings.
As noted earlier, decisions made at one planning
In the most general approach for solving ship-
level affect decision making at other planning levels.
scheduling problems to date, Fagerholt (1999)
Given a fleet size and mix, the service network laid at
generates a set of feasible schedules by including non-
the tactical planning level governs which routes can
linear and intricate constraints, and then solves a set-
be formed at the operational planning level to route
partitioning problem. Our goal in this paper is to
cargo. The cargo picked at the operational planning
model the simultaneous ship-scheduling and cargo-
level and the routes selected determine the cost and
routing problem in its generality and solve it for
revenue that can be generated and thus the profitabil- large-scale instances. Hence, rather than being lim-
ity of the given service network. These two problems ited to an initial set of routes or exhaustively list-
are highly interdependent; thus, it is important that ing all the routes for ships, we design algorithms
they be studied in an integrated framework. that exploit the separability of the problem to itera-
The contribution of this paper is twofold. First, tively generate good cycles for ships and efficiently
a new mixed-integer programming (MIP) model is route the demand. More specifically, we utilize the
presented for the integrated ship-scheduling and the fact that the ship-scheduling problem can be reduced
cargo-routing problem for containerized cargo. As to a cycle generation problem and the cargo-routing
shown in Figure 2, we refer to this problem as the problem can be reduced to a multicommodity flow
simultaneous ship-scheduling and cargo-routing problem. (MCF) problem. We develop a greedy heuristic, a col-
Second, because the proposed integer program is too umn generation-based algorithm, and a two-phase
large to be solved economically by general mixed- Benders decomposition-based algorithm and compare
integer programming codes, we develop algorithms the computational effectiveness and efficiency of these
to solve it efficiently. approaches.
Our model handles many relevant constraints and Our computational results are encouraging and
emerging trends that appear in practice but that have establish that some of the algorithms developed can
not been considered previously in the literature. For be used to solve larger instances, compared with the
instance, customers expect carriers to maintain a regu- literature, in terms of fleet size that arise as a result of
lar schedule by following at least a weekly frequency collaborations and mergers in the sea cargo industry.
on their routes. To the best of our knowledge, this We report computational results on problem instances
constraint has not been considered in the literature in with up to 100 ships and 20 ports.
its full generality. We successfully impose the weekly The rest of the paper is organized as follows. The
frequency constraint at the ports visited by a car- next section introduces our notation, the mathemat-
rier. As is common in container shipping, we allow ical formulation, and a note on the complexity of
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 179

the problem. Three different algorithms, a greedy ship type a ∈ , we construct ground edges by con-
heuristic, a column generation-based algorithm, and necting nodes vp i to vp i+1 ∀ p ∈  and 1 ≤ i ≤ 6. We
a Benders decomposition-based algorithm are dis- also connect vp 7 to vp 1 ∀ p ∈ . For a ship, these
cussed in §2. Section 3 provides various algorithmic edges represent an overnight stay at a port, and for
and implementation details. Computational experi- cargo they represent an overnight stay at a port either
ments are presented in §4. Conclusions and directions on ground or on the same or a different ship before
for future work are discussed in the final section. continuing. Next, for every ship type a ∈  and pair of
ports p q ∈ , we construct voyage edges, vp i  uq j a
a
for 1 ≤ i j ≤ 7 such that i − j = lp q mod 7. The
1. Problem Description voyage edges represent the movement of ships and
We now present a mathematical formulation for cargo from one port to another at a given speed.
the simultaneous ship-scheduling and containerized Finally, we create a set of fictitious edges, vd j  uo i ,
cargo-routing problem after introducing our notation for all demand triplets o d i ∈ and 1 ≤ j ≤ 7. An
and a space-time network. edge vd j  uo i  only allows the flow of commod-
Let  denote the set of ports. We will treat demand ity o d i on it and enables us to view the flow of
as a set of commodities with a positive supply at the commodity o d i in the network as a circulation.
origin ports and a positive demand at the destination Let us denote the set of all ground edges by Eg , the
ports. Each such commodity is characterized by an set of all ground edges for ship type a by Ega , the
origin port, o; a destination port, d; the day of the set of all voyage edges by Ev , the set of all voyage
week, i, when the supply is available at port o; the edges for ship type a by Eva , and the set of all fictitious
maximum demand (in TEUs) that may arise at port d,  
edges by Ef . That is, Eg = a∈ Ega , Ev = a∈ Eva and
Do d i ; and the revenue obtained by satisfying one E = Eg ∪ Ev ∪ Ef . We also use the following additional
TEU of the demand, Ro d i . We use the triplet o d i notation: InEdgesv denotes the set of incoming edges
to identify a particular demand, and we let be the into vertex v and OutEdgesv denotes the set of out-
set of all such triplets. We call such triplets demand going edges from vertex v; for an edge e = u v ∈ E,
triplets. taile denotes vertex u and heade denotes vertex v.
A carrier typically has several different types of Figure 3 represents a space-time network with four
ships in its fleet. Each ship type usually has a different ports and two cycles, C1 and C2 . Note that port C
capacity and speed and specifies the characteristics acts as a transshipment port to transport cargo from
of a group of ships that are considered identical. We port A to port D.
denote by  the set of all ship types and use the index The length of voyage edge e = v u ∈ Eva , lea , is
a to represent a particular ship type. We associate the equal to the number of days it takes for a ship of
following information with each ship type a ∈ : T a type a to get from portv to portu. We also let le = 1
denotes the capacity of a ship in TEUs for a ship of for e ∈ Eg and le = 0 for e ∈ Ef . The capacity of an
a
type a; for ports p q ∈ , lp q denotes the number of edge represents the total amount of flow in TEUs that
days it takes a ship of type a to sail from port p to the edge can sustain. Ground edges at a port may
port q; and N a denotes the number of ships of type a have finite or infinite capacity, depending on whether
available in the given fleet.
Given that the temporal aspects of the problem
are important, we formulate the simultaneous ship- Port A Port B Port C Port D
scheduling and cargo-routing problem as an MCF T
Mon
problem with side constraints on a space-time net- 1
6
work. Furthermore, we use days as our time units Tue 3
in the space-time network, because in general the C2
Wed
transoceanic routes do not visit more than one port in C1 3
a given day. Let G = V  E be a directed space-time Thu 1 6
network with vertex set V and edge set E. Each ver- Fri
tex v ∈ V represents a port, portv, on a day of the
week, timev. That is, for each port p ∈  we create Sat
seven vertices in V . For notational convenience, we Sun
associate a subscript with each vertex, that is, v = vp i
where portv = p and timev = i. We refer to the ver- Ground edges Cycle C2
tices of G either by v or vp i  depending on the ease T Transshipment port Cycle C1
of exposition.
The network G = V  E contains three types of Figure 3 Network with Four Ports and Two Cycles
edges. The first is the set of ground edges. For every Note. Numbers on edges represent the length of the edge.
Agarwal and Ergun: Network Design for Liner Shipping
180 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

we wish to impose a limit on the amount of cargo of the cycle is maintained using ships of the same
a port can handle/store. Capacity on a voyage edge type. We characterize a cycle C by the port rotation
depends on the number of ships (and their capacities) that it follows, the days of the week it visits each
that cover the edge. port in its rotation, the type of ship that is used to
Various fixed and variable costs are associated with service C, and the number of ships LC it takes to
the simultaneous ship-scheduling and cargo-routing maintain a weekly frequency on C. Because of the
problem. Although some of these costs are incurred indivisibility of ships, LC is integral, by definition.
by ships, others are incurred by cargo. For the costs A cycle is said to be feasible if it satisfies prespeci-
related to ports, we let cvs a be the one-time cost fied rules in terms of the number of ships required
incurred by a ship of type a ∈  when visiting portv to maintain a weekly frequency on the cycle and the
and cvc be the total cost that a TEU of cargo incurs number of ports visited. We denote the set of all fea-
at portv per day. The port visit costs may be differ- sible cycles for ship type  a by  a . Mathematically,
a a
ent at different ports. Similarly, ces a reflects the cost of for a cycle C ∈  , LC = e∈C le /7
. Whenever neces-
operating a ship of type a on edge e in deep sea if sary we represent a cycle C by a sequence of vertices;
e ∈ Eva and the cost of an overnight stay for a ship of for example, a cycle from vertex v1 to vertex vr via
type a at portheade if e ∈ Ega . For cargo, cec for e ∈ Ev v2      vr−1 is represented as C = v1 − v2 · · · vr − v1 .
reflects the cost of shipping a TEU of cargo on edge e Cost of a cycle C ∈  a is denoted
 by CostC and is cal-
and cec for e ∈ Eg reflects the cost of storing or holding culated as CostC = v∈C cvs a + e∈C ces a .
a TEU of cargo at portheade. Fictitious edges are 1.1. Mathematical Model
assigned zero costs. We now present a mixed-integer programming for-
We make sure that the port visit cost is incurred mulation for the simultaneous ship-scheduling and
only once at each port even if a ship makes an over- cargo-routing problem. Our formulation has two sets
night stay at the port. To account properly for the of variables. First, for every feasible cycle C we define
port visit cost in the time expanded network, we sub- a binary variable xC . xC = 1 if a weekly frequency is
tract the port visit cost for ship type a at the port maintained on cycle C and is 0 otherwise. The xC vari-
from the ship cost ces a on the ground edge e. Thus, ables are taken to be binary rather than integer, as the
if a ship makes an overnight stay at a port, then possibility of departing two ships of same type from
although the port visit cost is counted twice via the a port following the same port calls on the same days
node costs, it is subtracted once via the ground edge of the week is highly unlikely.
cost. Idling of a ship at a port is penalized by impos- Next, we define nonnegative continuous variables
ing the overnight stay cost on the ship. Long stay of representing the flow on edges. For each edge
cargo at a port that is different from its port of des- e ∈ Eg ∪ Ev and each triplet o d i ∈ we define
tination is penalized through the holding cost at the fe
o d i
to denote the flow of commodity represented
port. In this paper, we are using days of the week by o d i on edge e. For a fictitious edge e =
as the level of time discretization; thus, we assume vd j  uo i  ∈ Ef , a single flow variable, fe
o d i
, for
that if ships on two different cycles meet at a port on commodity o d i is defined because the flow of
the same day, transshipment can occur in both direc- other commodities on this edge is not allowed. Note
tions (i.e., cargo can be transferred from either ship that we let the flow variables be continuous because
on to the other). By considering finer discretization adjusting for picking a fractional container does not
of time, one can account for smaller time windows influence the solution quality much for the purposes
during which ships at a port meet for transshipments of our tactical model.
and determine if transshipment is possible in only one Before presenting the model we summarize the fol-
direction (without incurring the holding cost). lowing additional assumptions: Assumptions 1–3 are
Given that in the space-time network the level of for the clarity of exposition and in no way restrict
discretization is in days, a commodity that becomes the usability of our model; however, Assumption 4 is
available at port o on the ith day of the week is rep- more significant.
resented as a supply on vertex vo i in the network.
Assumption 1. Capacity on ground edges is assumed
We assume that supply appears at vertex o (for des- to be infinite; that is, we do not put any restriction on the
tination d) on the same day of week every week. We amount of cargo that can be handled/stored at a port.
believe assuming that an average amount of demand
arises at a port on a given day is reasonable in our Assumption 2. We assume that all costs on cargo can
context because we are considering a tactical model. be modelled via edge costs; that is, we set cvc = 0 ∀ v ∈ V .
Because the demand from week to week is taken to Assumption 3. We assume that all cargo is available
be the same for a carrier, the service characteristics in identical 1-TEU containers. Thus, Do d i represents the
may also remain the same every week. To this end, number of containers of a commodity required at port d
we assume that given any cycle, the weekly frequency that become available at port o on day i of the week.
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 181

Assumption 4. Finally, we do not consider the costs total flow into vertex v of each commodity o d i ∈
involved with transferring cargo from one ship to another. is equal to the total flow out for the same commod-
As discussed before, cargo incurs holding costs whenever ity. Constraints (3) and (4) are capacity constraints on
it stays at a port overnight. To account for transshipment the edges. Constraint (3) requires that the total flow
costs correctly, we need to distinguish between the capacity on a voyage edge be less than the sum of the capaci-
provided by different cycles on the same edge of the net- ties of ships servicing that edge. Constraint (4) models
work. If the edges are duplicated for all the feasible cycles, that the total flow of a given commodity from an ori-
it will increase the size of the graph tremendously. Thus, gin port to a destination port must be less than the
it is hard to account correctly for transshipment costs if demand at the destination port. Note that we do not
the network is not known (i.e., the cycles to be operated have a capacity constraint on ground edges because
have not been selected). Because our aim is to consider the of Assumption 1. Constraint (5) requires that for each
network design and cargo-routing problems simultaneously fleet type, we do not use more ships than are avail-
and generate feasible cycles as a subproblem, we ignore the able. Note that if cycle C ∈  a is selected, i.e., xC  = 1,
transshipment costs for now. then it will utilize LC ships of type a to maintain a
weekly frequency. Finally, (6) denotes xC as binary
In §4.4 we present a computational study to discuss o d i
the effects of transshipment costs on cargo routing variables, and (7) denotes fe as nonnegative con-
decisions once a set of cycles, to be operated by the tinuous flow variables.
given fleet, has been selected.
1.2. Hardness of the Problem
The simultaneous ship-scheduling and cargo-rout-
The decision version of the simultaneous ship-
ing problem can be formulated as the following
scheduling and cargo-routing problem is in NP; that
mixed-integer program:
is, given a set of cycles to be operated and a flow
 
7 of cargo on the edges, it can be determined in
o d i
SSSCR! max Ro d i fvd j  vo i  polynomial time whether the total revenue gener-
o d i∈ j=1 ated is greater than a given constant K. We show
   the NP completeness of the problem by reducing a
− cec feodi − CostC xC (1)
odi∈ e∈E a∈ C∈ a well-known NP-complete problem, 0–1 Knapsack, into
a simultaneous ship-scheduling and cargo-routing
such that problem.
  The decision version of the 0–1 Knapsack problem
feo d i − feo d i = 0 is defined as follows: Given set N = "1 2     n#, inte-
e∈InEdgesv e∈OutEdgesv
gers K, ci , and wi , for every i ∈ N is there a subset S
∀ v ∈ V  ∀ o d i ∈ (2)  
of N such that i∈S wi ≤ W and i∈S ci ≥ K.
  
feo d i − T a xC ≤ 0 ∀ e ∈ Ev (3) Theorem 1. The decision version of the simultaneous
o d i∈ a∈ "C∈ a ! e∈C#
ship-scheduling and cargo-routing problem is NP-complete.

7
o d i Proof. Suppose there are W identical ships with
fvd j  vo i  ≤ Do d i ∀ o d i ∈ (4)
j=1 capacity T TEUs each. Construct a sea cargo network
 as follows. For each i ∈ "1 2     n# construct two
L C xC ≤ N a ∀a ∈  (5) ports, a demand port(di ) with demand ci TEUs and
C∈ a
an origin port oi . Let a ship in the fleet take wi /2
xC ∈ "0 1# ∀ C ∈ a ∀ a ∈  (6) weeks to sail from port oi to port di . Assume sym-
feo d i ≥ 0 ∀ e ∈ E ∀ o d i ∈  (7) metric distances between ports and that the distances
between oi and dj , ∀ 1 ≤ i = j ≤ n, is large. Thus wi
We now explain the above formulation. The objec- ships are needed to maintain weekly frequencies on
tive function (1) maximizes the net profit by sub- cycles Ci = oi − di − oi for 1 ≤ i ≤ n, and all other cycles
tracting the sum of operating costs from the revenue are infeasible. Let T = maxi∈N ci and let revenue gener-
generated. The first term in the objective function ated by satisfying unit demand between any o-d pair
denotes the total revenue generated by transporting be 1. Assume there are no operating costs involved.
cargo between various origin and destination pairs. Observe that:
The second term captures the cost incurred by cargo • All feasible cycles are disjoint.
during its routing from the origin port to the desti- • A cycle Ci needs wi ships to maintain weekly fre-
nation port. The third term denotes the total cost of quency and can generate ci units of revenue.
operating ships on the selected cycles. • If a set S ⊂ N of cycles is chosen to be serviced,
 
Constraint (2) is a flow balance constraint at every then i∈S wi ≤ W and a total of i∈S ci units of rev-
vertex of the space-time network. It ensures that the enue is generated.
Agarwal and Ergun: Network Design for Liner Shipping
182 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

It follows easily now that a set of chosen cycles, S, 


7
o d i
will give a revenue of K units or more if and only fvd j  vo i  ≤ Do d i ∀ o d i ∈ (11)
j=1
if the 0–1 Knapsack problem has a feasible solution.
Thus, the 0–1 Knapsack can be solved by solving a feo d i ≥ 0 ∀ e ∈ E ∀ o d i ∈  (12)
SSSCR problem. 
Note that (8)–(12) is a linear program with no inte-
grality constraints, as it only involves the flow vari-
2. Solution Methodology o d i o d i o d i
ables fe . Let ) = ")v ! )v unrestricted,
The linear program given by (1)–(7) contains a large
∀ v ∈ V  ∀ o d i ∈ #, * = "*e ! *e ≥ 0 ∀ e ∈ Ev #, and
number of variables even for moderate-size problems.
+ = "+o d i ! +o d i ≥ 0 ∀ o d i ∈ # be the set of
The large size of the model is a direct result of the
dual variables associated with constraints (9), (10),
exponential number of possible feasible cycles. Fur-
and (11), respectively.
thermore, each demand triplet adds a set of flow vari-
Next, we present three heuristic algorithms that
ables to the MIP model. An interesting observation,
however, is that if we determine the set of cycles to be exploit the above observation to solve the SSSCR
operated for each fleet type, that is, given nonnegative problem. First, we provide a simple greedy heuris-
values xC satisfying fleet availability constraints (5), tic that selects good cycles one by one and then
model (1)–(7) reduces to the following MCF problem, assigns cargo to routes. Then we present a column
where each demand triplet is considered a different generation-based algorithm that generates a pool of
commodity. good cycles and then selects the best cycles among
these while also routing cargo in the network. Finally,
we present the details of a more involved Benders
 
7
o d i decomposition-based algorithm. Figure 4 presents an
MCF! max Ro d i fvd j  vo i  outline of the three algorithms.
o d i∈ j=1
 
− cec feo d i (8) 2.1. Greedy Algorithm
o d i∈ e∈E Let S represent the set of cycles that are in opera-
tion; that is, ships have been assigned to maintain
such that
weekly frequencies on cycles in set S. The desirabil-
  ity or the value of cycle C depends on the revenue
feo d i − feo d i = 0
e∈InEdgesv e∈OutEdgesv generated by routing flow on ships employed in C,
the number of ships required to maintain weekly fre-
∀ v ∈ V  ∀ o d i ∈ (9) quency on C, and the various costs involved in oper-
  
feo d i − T a xC ≤ 0 ∀ e ∈ Ev (10) ating the cycle C. The marginal value of cycle C also
o d i∈ a∈ "C∈ a ! e∈C# depends on the cycles already present in set S. Thus,

Greedy heuristic Column generation Benders decomposition


Initialize: capacitye = 0, S = ∅ Initialize: S = {o-d-o cycles} Initialize: S = {o-d-o cycles}
Set LB = 0, UB = ∞

All ships used/ Yes Solve the column generation


demand met? master problem Solve the relaxed Benders master
Stop problem. Update UB
For each ship type a No For each ship type a
Construct auxiliary network G a
Construct auxiliary network G a
Find negative cost cycles in G a Solve the Benders subproblem.
Find negative cost cycles in G a
Update LB
No
∃ negative cost No
∃ negative cost
cycle?
cycle? Yes
Yes UB – LB < ε ?
Yes
Pick the most negative cycle, C No
S = S∪{C}. Assign ships to cycles Add a subset of negative
cost cycles Add the optimality cuts

Update capacity on the edges, Solve the integer program Solve the integer program
solve the cargo-routing problem

Figure 4 Outline of the Three Algorithms Considered


Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 183

a greedy selection of cycles must take into account the Dual variable values from the master problem are
set of existing operational cycles and demand triplets used to assign costs to the edges and the vertices of
o d i ∈ . the auxiliary network. Each edge e ∈ E a is assigned
Let Aa  ∀ a ∈ , represent the number of ships of a cost ce = ces a + T a *e + le /7- a and each vertex
type a that are currently available. The greedy algo- v ∈ V a is assigned a cost cv = cvs a so that negative
rithm starts with an empty set of selected cycles. cost cycles in Ga correspond to columns with positive
To find profitable cycles an auxiliary network Ga = reduced costs in the master problem. Note that since
V a  E a  is created utilizing dual information from the SSSCR is a maximization problem, profitable columns
solution of the MCF problem to assign edge costs. Ga are the ones with positive reduced cost. Procedure
is constructed for each ship type a such that V a = V FindCycleGa  (described in §3) is used to identify neg-
and E a = Eva ∪ Ega . Each edge e ∈ E a is assigned a cost ative cost cycles in the auxiliary network and corre-
ce = ces a + *e , and each vertex, v ∈ V a is assigned a sponding columns are added to the master problem.
cost cv = cvs a . For every ship type, the algorithm then The process is continued until no new cycles can
finds a minimum cost cycle in the auxiliary network be found. Finally, integrality constraints are imposed
by using a procedure FindCycleGa . Details of this
on the cycle-selection variables and a branch-and-
procedure will be provided in §3. Finally, if feasible,
bound framework is used to obtain an integer solu-
the cycle with minimum cost is selected and a suit-
tion for the SSSCR problem. No new columns are
able number of ships, to maintain weekly frequency,
generated during the branch-and-bound phase. Dif-
is assigned to it. The process is repeated while there
ferent branching rules, with different advantages, can
are ships to be assigned.
be devised to obtain the integer solution. For exam-
2.2. Column Generation-Based Algorithm ple, branching on the largest feasible cycle forces
Although the greedy algorithm is simple and pro- many other binary variables also to satisfy the inte-
vides a feasible solution quickly, it is not very effec- grality constraints. However, we use the variable that
tive. It works with a very small set of feasible cycles, affects the solution quality the most as the variable to
and once a feasible cycle is generated it is picked in branch on, giving preference to the up (xC = 1) branch,
the final solution without any further considerations. because this strategy performed the best in our com-
Next, we propose a column generation-based algo- putational experiments.
rithm that iteratively generates a good pool of prof-
itable cycles for solving the linear programming (LP) 2.3. Benders Decomposition-Based Algorithm
relaxation of (1)–(7). As the number of ports, ships, and demand triplets
Column generation is an effective way of solv- increases, solving model (1)–(7) by column genera-
ing linear programs with a large number of columns tion becomes increasingly difficult. The number of
(see Bertsimas and Tsitsiklis 1997 for an introduction). constraints and variables increases with the increase
Rather than enumerating all the columns explicitly, in the number of ports, ships, and demand triplets,
it begins by solving a restricted problem (called the in the column generation master problem. We next
master problem) with a select set of columns. A sub-
decompose the LP relaxation of the model using Ben-
problem is solved to generate “attractive” columns,
ders decomposition to obtain a pair of problems that
and they are subsequently added to the master
utilize the separability of SSSCR. The decomposition
problem. The process is repeated until no further prof-
results in both a master problem, where the number of
itable columns can be generated. The column gener-
variables increases as the number of cycles increases,
ation technique has been used successfully to solve
many large-scale optimization problems; please see and a subproblem, where the number of constraints
(Barnhart et al. 1994) for an example in solving airline increases as the number of demand triplets increases.
crew assignment problems. Thus, the effect of the increase in problem size is
To solve the LP relaxation of SSSCR, the master divided between a master problem and a subproblem.
problem in the column generation is initialized by Further, this decomposition is used to solve the LP
restricting the set of cycle-selection variables to one relaxation effectively, and the solution is embedded
simple cycle for every demand triplet. At every step in a branch-and-bound approach to obtain an integer
of the column generation process, the master prob- solution.
lem is solved to find the best value for all the deci- Benders decomposition (Benders 1962) is a popular
sion variables. The pricing subproblem for the column technique to solve mixed-integer linear programming
generation is equivalent to identifying negative cost problems with linking constraints. This approach is
cycles in an auxiliary network for every ship type. useful when the master problem has all the integer
The auxiliary network Ga = V a  E a  is constructed for variables and it is difficult to treat them in subprob-
each ship type a such that V a = V and E a = Eva ∪ Ega . lems. The solution process iterates between an integer
Agarwal and Ergun: Network Design for Liner Shipping
184 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

master problem and subproblem(s). The master prob- Let D be the feasible region of the dual problem and
lem passes on the value of integer variables to sub- PD and QD be the set of extreme points and extreme
problem(s), and subproblem(s) generate cuts (feasibil- rays of D, respectively. Note that D does not depend
ity and optimality) to pass back to the master prob- on xC . Also, because Ro d i ≥ 0 ∀ o d i ∈ and cec =
lem. Although this approach has proved to be suit- 0 ∀ e ∈ Ef , a feasible solution for the dual subproblem
able for many problems, it has the drawback that an is )v
o d i
= 0 ∀ v ∈ V  ∀ o d i ∈ , *e = 0 ∀ e ∈ Ev ,
integer master problem has to be solved at each iter- and +o d i = Ro d i ∀ o d i ∈ , and thus D = .
ation. McDaniel and Devine (1977) proposed a mod- By strong duality, either the MCF problem is infea-
ification to this approach in which the solution of a sible or it is feasible and bounded. Clearly, the null
sequence of integer programs is replaced by the solu- vector 0 is a feasible solution for MCF. This means
tion of a sequence of linear programs and a few inte- that the primal-dual pair of MCF and DP is feasible
ger programs. and bounded. Thus, the optimal value of MCF and
The basic techniques of McDaniel and Devine DP can be characterized in terms of only the extreme
(1977) and their modifications have been used suc- points of DP; that is, the set PD , and can be written as
cessfully to solve many hard problems. Florian et al.
 
(1976) used the techniques to solve an engine schedul-    a
ing problem, and Vander Wiel and Sahinidis (1996) min T xC *e
) * +∈PD
e∈Ev a∈ "C∈ a ! e∈C#
used them for solving a time-dependent travelling 
salesman problem. More recently, these techniques + Do d i +o d i 
have been used successfully to solve locomotive o d i∈
car-assignment (Cordeau, Soumis, and Desrosiers
2000, 2001a) and aircraft-routing and crew-scheduling Introducing an additional free variable z, model
(Cordeau et al. 2001b) problems. For these problems, (1)–(7) can be reformulated as the following Benders
enormous time reductions and significant improve- master problem (BMP). This problem has integer vari-
ments in solution quality were achieved by first relax- ables xC and one free continuous variable z:
ing the integrality constraints in the master problem.
BMP! max z (19)
After the relaxation is solved to acceptable time or
optimality criteria, the integrality constraints are in- such that
troduced back into the master problem. We now  
present the use of Benders decomposition method to    
z≤ T a xC * e + Do d i +o d i
solve the SSSCR problem. e∈Ev a∈ "C∈ a ! e∈C# o d i∈
2.3.1. Benders Reformulation. As noted earlier  
− CostC xC ∀ * + ∈ PD (20)
for given nonnegative values xC satisfying fleet con- a∈ C∈ a
straints (5), the LP relaxation of model (1)–(7) reduces 
to the MCF. Because MCF is a problem with no LC xC ≤ N a ∀a ∈  (21)
C∈ a
integrality constraints, the optimal value of the MCF
problem is equal to the optimal value of its dual. The xC ∈ "0 1# (22)
dual problem DP of the MCF problem can be writ- z free (23)
ten as
  Note that we do not have any feasibility con-
DP! min T a xC *e
e∈Ev a∈ "C∈ a ! e∈C#
straints in the Benders master problem because DP
 is bounded. The optimality constraints (20) ensure
+ Do d i +o d i (13) that z is restricted to be smaller than or equal to the
o d i∈
value of the right-hand side of constraint (20) at vari-
such that ous extreme points of DP. In general, the above model
o d i o d i
contains many more constraints than the LP relax-
)heade − )taile + *e ≥ −cec ation of model (1)–(7), but most of them are inactive at
∀ e ∈ E − Ef  ∀ o d i ∈ (14) optimality. Thus, a natural approach to solve (19)–(23)
is by dropping constraints (20) and generating them
o d i o d i
)heade − )taile + +o d i ≥ Ro d i − cec as needed. We now present the basic Benders algo-
rithm to solve the linear relaxation of SSSCR prob-
∀ e ∈ Ef  ∀ o d i ∈ (15)
lem to optimality. Later, integrality constraints are
)vo d i unrestricted ∀ v ∈ V  ∀ o d i ∈ (16) introduced to solve the original SSSCR problem. We
denote the linear relaxation of BMP as LPBMP and
* e ≥ 0 ∀ e ∈ Ev (17)
the relaxation of LPBMP obtained by dropping con-
+o d i ≥ 0 ∀ o d i ∈  (18) straints (20) as the RLPBMP.
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 185

2.3.2. Overview of the Algorithm. The basic Ben- optimality cuts generated in Phase I can be used
ders decomposition-based algorithm for solving the to generate corresponding cuts for the mixed-integer
LP relaxation of SSSCR iteratively selects good cycles, program in Phase II. Additional optimality cuts are
by solving the RLPBMP for the ship-scheduling generated at each iteration. Note, however, that in
problem, and then efficiently solves the cargo-routing Phase II, Algorithm 1 in Step 1 solves an integer prob-
problem by solving the MCF problem. The MCF prob- lem at every iteration. Thus, in Phase II no new cycles
lem utilizes the RLPBMP solution to assign capacity are generated, and SOLVE simply refers to a branch-
to voyage edges before solving the flow problem. In and-bound solution of the relaxed BMP. This two-
return, at each iteration, the dual solution of the MCF phase approach for solving integer programs using
problem provides an optimality cut to the RLPBMP. Benders decomposition was originally proposed by
Let t be the iteration number and PDt be the re- McDaniel and Devine (1977); the intuition behind it
stricted set of extreme points of D available at itera- is the hope that many of the necessary constraints for
tion t; that is, the RLPBMP at iteration t is obtained the master problem may be generated by solving a
from LPBMP by replacing PD with PDt in (20). Note linear program in place of the more computationally
that the solution of the RLPBMP at each iteration t, expensive integer program.
denoted by zt , provides an upper bound for the orig- The branch-and-bound tree in Phase II is searched
inal LPBMP (because the RLPBMP has fewer con- by a depth first search, giving preference to the up
straints than the LPBMP). (xC = 1) branch. As in §2.2, the variable that affects the
Algorithm 1. The basic Benders decomposition- solution quality the most is chosen as the branching
based algorithm: variable. Note that solving the mixed-integer program
in BMP is a computationally expensive step. Because
Procedure Basic Benders( ) any feasible integer solution can be used to generate
Set t = 1, PDt = , lower_bound = 0, an optimality cut, the mixed-integer program BMP
upper_bound = . does not need to be solved to optimality at every iter-
while (upper_bound > lower_bound + 4) do
ation. However, if the BMP is solved heuristically, the
Step 1. SOLVE the RLPBMP to obtain solution
upper bound it provides during the Benders iterations
zt and " x C #t .
could be much smaller than the true upper bound,
Set upper_bound = zt .
which might lead to a premature termination of the
Step 2. Solve the MCF problem taking " xC #t as
t algorithm.
input to obtain v" xC #  and optimal dual
¯ +̄. In the worst case, the upper bound could become
solution )  *
smaller than the lower bound. To avoid such a pre-
Set lower_bound = max"lower_bound v" x C #t 
  mature termination of the algorithm, the branch-and-
− a∈  C∈ a CostC xC #. bound search is terminated only when the solution
  
Set PDt+1 = "PDt ∩ "x z! z ≤ e∈Ev a∈ "C∈ a !e∈C# quality obtained reaches an acceptable optimality gap
a
  o d i o d i
T xC *e + o d i∈ D + (the gap between the best integer objective and the
 
− a∈ C∈ a CostC xC ##. objective of the best node remaining). Searching the
t = t + 1. branch-and-bound tree for a solution with small opti-
end while mality gap is likely to take large computation time
but it is also likely to provide better solution qual-
The original BMP (or SSSCR) problem with inte- ity by providing better bounds for the Benders itera-
grality constraints is solved heuristically in two tions. Thus, a suitable optimality gap must be chosen
phases. In Phase I, all integrality constraints are re- to avoid the premature termination of the algorithm
laxed and the LPBMP is solved to optimality by and to keep it computationally efficient.
using basic Benders decomposition algorithm (Algo-
rithm 1). Because the set of feasible cycles can be 2.3.3. Column Generation for Solving the
exponential, the RLPBMP in this phase is solved in RLPBMP. The master problem in the Benders
a column generation setting. For Phase I, SOLVE in decomposition (the RLPBMP in Algorithm 1) is
Algorithm 1 refers to this column generation. solved in a column generation setting. The pricing
Retaining all optimality cuts and cycles generated subproblem in the column generation reduces to
in the first phase, Phase II puts the integrality con- identifying negative cost cycles in an auxiliary
straints back on the master problem. Algorithm 1 network, Ga = V a  E a , for every ship of type a.
is started once more; however, in this phase the As before, Ga is constructed such that V a = V and
RLPBMP in Step 1 is replaced with the mixed-integer E a = Eva ∪ Ega . We next present how we compute the
program BMP, together with the cuts and cycles costs on the vertices and the edges of network Ga .
generated in the first phase. Because the DP poly- Let 5* + and - a denote the dual variables cor-
tope is not affected by the integrality constraints, all responding to constraints (20) and (21), respectively.
Agarwal and Ergun: Network Design for Liner Shipping
186 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

The reduced cost c̄C of a cycle C ∈  a can now be 3.1. Solving the Pricing Subproblem
written as The pricing subproblems for both the column gen-
  eration and Benders decomposition-based algorithms
 
c̄C = 0− CostC − T a *e reduce to finding profitable cycles in the auxiliary
*+ "e!e∈C∩Ev # network Ga . Similarly, the greedy algorithm needs to
find profitable cycles in the auxiliary network. It is
a
·5*+ +LC -  (24) tempting to directly solve a minimum cost circulation
problem in the network Ga , to identify negative cost
Note that in (24) the second summation is only over cycles. However, the cycles obtained by decompos-
the voyage edges of cycle C. Since the ground edges ing the solution of the circulation problem into simple
have infinite capacity, at optimality, by complemen- cycles are not guaranteed to be practical. For example,
our initial computational experiments with the circu-
tary slackness conditions *e = 0 ∀e ∈ Eg . Thus, ground
lation problem suggest that most of the cycles gener-
edges can also be included in the summation in (24).
ated this way are too long and require a large number
From LP theory, we know that if the reduced cost
of ships to maintain weekly frequency. Hence, we first
c̄C ≤ 0 for each cycle C ∈  a and every fleet type a ∈ ,
discuss rules based on the real-world practice of liner
then we have the optimal solution to our problem.
shipping companies to define feasible cycles. Next,
That is, the column generation iterates as long as there
a recursive algorithm, F indCycleG, is presented to
exists a cycle C ∈  a for some a ∈  such that
find negative cost cycles efficiently, satisfying prede-

fined feasibility conditions in a given network G.
     lea
cvs a + cesa − a
T *e 5*+ + -a <0
* + v∈C e∈C e∈C e∈C
7 3.1.1. Defining Feasible Cycles. To solve the pric-
  ing subproblem to optimality one must consider all
   
⇒ 5*+ cvsa − 5*+ ∗*e T a sequences of ports as candidates for possible prof-
v∈C *+ e∈C *+ itable cycles. However, searching for negative cost

cycles in such an unconstrained manner not only
   lea
+ 5*+ cesa + - a < 0 (25) makes our algorithms inefficient by generating cycles
e∈C *+ e∈C
7 that create undesirable effects such as large integral-
ity gaps, but also it generates cycles that would never
For the network Ga , we assign cost be operated in practice. Hence we impose a set of
 constraints that a cycle must satisfy to qualify as a

cv = 5*+ cvsa feasible cycle.
*+ Global carriers operate in different regions—for ex-
 ample, Orient Overseas Container Line (OOCL) oper-
to every v ∈ V a and cost ce = le /7- a − *+ 5*+ ∗ ates mainly in North America, Europe, and Asia—

*e T a + *+ 5*+ cesa to every edge e ∈ E a . Let CostC and cater to the demand of various markets, such
represent the cost of cycle C with the above cost struc- as trans-Atlantic, trans-Pacific, intra-Asia, and Asia-
ture. Let CostC
be the cost when we replace the Europe trade routes. Figure 5 represents an Asia-
 a
 a
e∈C le /7 term in CostC with e∈C le /7
. Note that, Europe cycle for OOCL. For a carrier it is important
since x
≥ x, if the optimal value of the pricing sub- to tap the benefits of both interregion and intrare-
problem ∀a ∈  is greater than zero, then there are no gion markets. Whereas some of the interregion mar-
more profitable cycles because CostC ≥ 0 ⇒ CostC
≥ 0. kets, for example, the trans-Pacific, are the most prof-
If however, the optimal value of the pricing subprob- itable ones, some intraregion markets, for example,
lem for some a ∈  is less than zero, then we need to the intra-Asia market, form the backbone of interna-
check if CostC
< 0. If it is, then we have found a prof- tional shipping.
itable cycle; otherwise, either there are no more prof- We considered the cycles published by OOCL
itable cycles to be added or profitable cycles have very (2005) and APL (2005) in trans-Pacific and intra-Asia
low negative cost (>−1) and are therefore ignored. trade routes to come up with the following guidelines
We use Procedure F indCycleGa  (as will be described for defining the set of feasible cycles distributed in
in §3) to identify negative cost cycles in Ga . two regions, ri and rj .
1. The number of ports visited by a cycle must
not be too high. Most of the current trans-Pacific
3. Algorithmic Issues cycles visit 10–15 ports, and intra-Asia cycles visit
In this section we discuss several algorithmic ideas we 7–10 ports. Let Rri rj  denote the maximum number of
use to make our algorithms more effective, efficient, ports that a cycle visiting region ri and rj is allowed
and stable. to visit.
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 187

Southampton Hamburg
Amsterdam
Le Havre

Shimizu Tokyo
Nagoya
Kobe

Singapore

Figure 5 An Asia-Europe Cycle for OOCL


Source. OOCL.

2. The length (in weeks) of a cycle must be Lemma 1. For a negative cost (directed) cycle C = v1 −
bounded by a suitable number; that is, the number of v2 −···−vr −v1 there exists a node vh in C such that each
ships that can be committed to a particular cycle is partial (directed) path vh −vh+1 , vh −vh+1 −vh+2 , vh −
limited. Most of the trans-Pacific cycles are up to 15 vh+1 −vh+2 −··· (where indices are modulo r) is a negative
weeks long, and most of the intra-Asia cycles are up cost (directed) path.
to six weeks long. Let Lri rj  be the maximum allowed
We now present a cycle generation algorithm for
length in weeks for a cycle visiting region ri and rj .
ports distributed in two regions: r1 and r2 . Note that
3. Cycles that operate in multiple regions must these ideas can easily be carried over to ports dis-
enter and leave a region only once; that is, no inter- tributed in more than two regions. Before present-
region loops are allowed. However, 1–2 intraregion ing the algorithm we define some notations. With
loops are allowed. each directed path p, we associate the following infor-
4. Each cycle must directly (without using capacity mation: headp and tailp denote the last node and
on other cycles) serve the origin and destination ports first node on p, respectively. Costp denotes the cost
of at least one demand triplet. It is highly unlikely for of path p. NRr1 p and NRr2 p denote the number
a carrier to introduce a cycle that does not satisfy any of ports from region r1 and r2 , ERp denotes the
demand directly. number of interregion edges, and lp denotes the
length of path p. Note that each edge in the net-
3.1.2. Finding Negative Cost Feasible Cycles. In-
work is either between two nodes of the same region
corporating any of the rules that guide the feasibil-
(intraregion edge) or between two nodes of different
ity of a cycle into the circulation problem yields an
regions (interregion edge) and that the set "NRr1 p
NP-hard problem. (This is easily seen from the fact
NRr2 pERp# completely describes the region(s) vis-
that shortest weight-constrained path problem is NP
ited by a path p. For a path p we denote the set
complete (Garey and Johnson 1979).) Furthermore, an "headptailpERp# as DSetp. We say that a path
exhaustive enumeration of cycles following the above p dominates another path q if DSetp = DSetq and
rules still yields a large number of cycles. For ports Costp < Costq.
distributed in two regions, up to 10,000 cycles for A cycle can be obtained by connecting the end-
a 10-port, 30-demand-triplets problem, more than 1 points of a path. Lemma (1) suggests that to find neg-
million cycles for a 15-port, 50-demand-triplets prob- ative cost cycles it is enough to consider paths with
lem, and more than 10 million cycles for a 20-port, negative cost. Further, the above definition of domi-
80-demand-triplets problem exist. nance suggests that among the paths with the same
We now describe an iterative search algorithm for DSet only the path with the least cost needs to be
constrained negative cycle detection that yields good explored further. A path p is said to be feasible if it
computational results. In essence, the algorithm uti- has negative cost and if it can be extended to form a
lizes Lemma (1) (Lin and Kernighan 1973) to prune feasible cycle. Let Pk denote the set of all nondomi-
the search tree by ignoring paths with nonnegative nated, feasible paths with k nodes.
costs. This pruning helps the algorithm to maintain For each ship type a, Algorithm (2) detects nega-
time- and space-efficiency. Ahuja, Orlin, and Sharma tive cost cycles in the auxiliary network Ga , described
(2003) have used Lemma (1) to develop a similar algo- earlier with various cost structures. It works induc-
rithm for detecting subset disjoint negative cycles. tively by constructing set Pk+1 from the set Pk . For each
Agarwal and Ergun: Network Design for Liner Shipping
188 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

path p ∈ Pk it examines if the path can be extended and +odi = 0 ∀odi ∈ is a feasible solution for
by adding a single edge to form path p , that is, the DP polytope and provides the valid cut
if path p is feasible. Procedure if_ feasible_ pathp  
  
checks for the feasibility of path p depending on the z ≤ max Rodi T a xC
region(s) visited by p, by ensuring that the guide- odi∈
e∈Ev a∈ C∈ a !e∈C
lines set in §3.1.1 are met, and accounts for the 
fact that for a ship type a no cycle can be longer − CostC xC  (27)
a∈ C∈ a
than N a (number of available ships for ship type a)
weeks. The path is then checked for dominance in Pk+1 Algorithm 2. An iterative constrained negative
using procedure if_dominatedp Pk+1 , and nondomi- cycle detection algorithm:
nated paths are added to Pk+1 . For a cycle C, proce- Procedure FindCycles(Ga )
dure if_feasible_cycleC checks whether the cycle C is for all e ∈ E a do
feasible. p = "e#
For a path p all information can be maintained in if if _feasible_pathp then P1 = P1 ∪"p#
O1 time. For example, to maintain ERp, we assign end for
a value 0 to all intraregion edges and value 1 to inter- k = 1, C ∗ = , CostC ∗ = 0
region edges. Thus, whenever an edge is appended while k < R do
to a path p ∈ Pk to obtain path p ∈ Pk+1 , ERp  can be while Pk =  do
obtained by adding the value of the appended edge to Remove a path p from Pk
ERp. Because we maintain all information regarding Connect the ends of path p to form cycle C.
the region(s) visited by a path, the feasibility check for if if _feasible_cycleC and CostC < CostC ∗
a path and a cycle can be done in constant time. To then C ∗ = C
check the dominance of a path p ∈ Pk , we first need to for all {headpj ∈ OutEdgesheadp} do
check if there exists a path q ∈ Pk such that DSetp = p = p ∪"headpj#
DSetq. This is a computationally expensive step. We if {if _feasible_pathp } then
use standard hashing techniques to efficiently detect Pk+1 = Pk+1 ∪"p #
paths with the same DSet. Once such a path is found, if if _dominatedp Pk+1  then Remove the
dominance can be checked in O1 time. Note that at dominated path
any given time, set Pk will contain only one path with end if
a particular DSet, that is, the nondominated path. end for
Rather than storing only the most negative cycle C ∗ , end while
Algorithm (2) can easily be modified to maintain a k+1
predefined number of best cycles. end while
3.2. Choosing an Initial Set of Cuts 3.3. Making Column Generation Effective
Even though the Benders decomposition-based Algo- While performing column generation, both in the
rithm (1) may be initialized with an empty set of pure column generation-based algorithm for SSSCR
extreme points, the choice of an initial set may affect and for solving the RLPBMP in a Benders decomposi-
its convergence. In our experiments, the addition of tion-based algorithm, we identify and add more than
several cuts helped us improve the performance of one profitable column per iteration. During the itera-
Algorithm (1). tive cycle generation, instead of maintaining just the
odi
Note that )v = 0 ∀v ∈ V  ∀odi ∈ , *e = 0 ∀e ∈ most negative cycle, we maintain a set of 5–10 most
odi
E, and + = Rodi ∀odi ∈ is a feasible but not profitable cycles at almost no extra cost. This helps
necessarily an extreme point solution of the DP poly- significantly reduce the number of iterations during
tope. It can thus be used to obtain the valid cut column generation without substantially increasing
 odi odi   the time taken per iteration.
z≤ R D − CostC xC  (26)
odi a∈ C∈ a During a typical column generation, the problem
keeps growing as the column generation process
The above cut is equivalent to adding the constraint keeps adding columns to the master problem. To keep
that the value of the optimal solution must be less the list of columns manageable, we frequently delete
than or equal to the revenue that can be generated by nonbasic columns with high negative reduced cost
satisfying all the available demand minus the cost of from the master problem. This reduces the time per
operating the picked cycles. iteration significantly, although it increases the num-
Similarly, ber of iterations slightly in many cases. As another
way to speed up the column generation process, if no
*e = max Rodi ∀e ∈ E new cycle is detected for a ship type in an iteration,
odi∈
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 189

then cycle generation for that ship type is suspended with 2,000 TEU and 4,000 TEU capacity are currently
for two to five iterations. in use. According to OOCL (2005), OOCL has ships of
different types with capacity varying from 2,500 TEU
to 8,063 TEU. A recent increase in literature regarding
4. Computational Experiments the viability of larger ships (Imai et al. 2006) points
In this section, we present the results of our compu-
toward the increasing use of big ships, and Bendall
tational study after describing the schema employed
and Stent (1999) suggest that ships of up to 8,000+
for generating test cases. We first establish the domi-
TEUs are being designed.
nance of the Benders decomposition-based algorithm
There are various fixed and variable costs involved
over the greedy heuristic and the column generation-
in shipping cargo. As in Christiansen and Nygreen
based algorithm. Next, we present a deeper anal-
(1998), we do not consider the daily running costs,
ysis of the Benders decomposition-based algorithm.
including cost of capital, personnel, insurance, etc.
Finally, we discuss some of the interesting character-
because they are fixed during the planning period.
istics of the solutions obtained by our algorithm and However, we consider various operational costs that
show that it supports the recent trends observed in affect a carrier’s decision regarding which ports to
the sea cargo industry. All our algorithms were imple- visit and which cycles to operate on. For every ship
mented in C++ in an Unix environment, and we type, a ∈ , and for all the ports, v ∈ , we consider a
made extensive use of the callable libraries in CPLEX port visit cost incurred by a ship of type a if it visits
9.0. All computational experiments were performed port v. At port p, port visit cost for a ship is pro-
on a Sun280R workstation with an UltraSparc-III pro- portional to the capacity of the ship; that is, a ship
cessor. All times are reported in minutes. with 8,000 TEU capacity incurs a higher port visit cost
compared with a 2,000 TEU capacity ship.
4.1. Data Generation
At every port, v ∈ , we consider a per unit cargo
We performed our computational experiments on net-
per night holding cost. This cost is incurred by a unit
works with ports distributed in two regions. Each
of cargo if it is held at a port for one night and is
generated port is randomly assigned to one of the
assumed to be the same for all cargo types. At a port,
two regions, with equal probability, and the sailing
holding cost per unit of cargo is chosen to be con-
distance between ports is chosen to represent the sail-
siderably smaller than the port visit cost for a ship.
ing distance between ports distributed in the Asian
For every ship type, a ∈ , and for every pair of ports,
and North American regions. Typically, as observed
"uv#, we consider the operation cost for sailing a ship
from OOCL (2005) and APL (2005) service networks, from port u to v. The operation cost depends on the
intraregion sailing times for ports in Asia and North type of ship used for the sailing and is proportional
America are 2–30 days, whereas the interregion sail- to the distance between the ports.
ing times are 14–42 days. We generate various classes of random instances,
Origin-destination pairs are chosen randomly from utilizing the above schema, to test the robustness of
the pairs of ports. Day of the week on which sup- our algorithm. Classes are characterized by specify-
ply arises at the origin port is assumed to be the ing the number of ports (P ), the number of ships (S),
same every week and is chosen uniformly at ran- and the number of demand triplets (D). For example,
dom from the seven days of a week. The demand an instance with six ports, 30 ships, and 18 demand
sizes are randomly generated from the interval 0.1 triplets is represented as P6S30D18. We tested our
to 1.0 times the capacity of the largest ship avail- algorithm on networks with 6, 10, 15, and 20 ports
able. Similar proportions are used in Fagerholt (1999), to be serviced. In each of the test classes, 20%–30%
and it is suggested that this represents the demand of all pairs of ports are considered to be origin-
sizes observed by a liner shipping company. Revenue destination pairs. A fleet size of up to 100 ships is
generated by satisfying demand for a given demand scheduled. Grand Alliance, which is one of world’s
triplet odi is chosen to be in direct proportion to largest alliances, has a fleet of 100 ships, and APL
the distance between port o and port d; that is, more (2005) has a fleet of more than 80 container ships.
revenue is generated by satisfying a demand at a port For each test class, results reported in this section
in North America from a port in Asia, as compared were obtained by generating five random instances
with satisfying a demand between two ports in North and then taking an average over them.
America. The proportionality constant is chosen ran- To report the results of our computational study in
domly from ;100200<. tabular form we use the following abbreviations:
Because a carrier’s fleet usually consists of ships G: The greedy algorithm.
of different types, we considered three different ship C: The pure column generation-based algorithm.
types in our fleet. The three ship types have capacity B: The two phase Benders decomposition-based algo-
2,000 TEU, 4,000 TEU, and 8,000 TEU. Bendall and rithm, where column generation is used for solv-
Stent (1999) and Imai et al. (2006) suggest that ships ing the master problem in Phase I.
Agarwal and Ergun: Network Design for Liner Shipping
190 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

F : The cycle generation algorithm based on the flow with algorithm F and algorithm I for cycle genera-
decomposition of the circulation problem. tion, respectively. The last three columns report the
I: The cycle generation algorithm based on the iter- gap corresponding to the relative difference between
ative search algorithm. the solution value of the GI and the BI algorithm,
Combinations of these are used to represent the the CI and the BI algorithm, and the BF and the BI
overall algorithm tested. For example, the two-phase algorithm, respectively. Initial cuts described in §3.2
Benders decomposition-based algorithm with the iter- are used in both of the Benders decomposition-based
ative search algorithm for cycle generation is repre- algorithms. Also, columns with reduced cost of less
sented by BI. than 1,000,000 are removed after every 10 iterations,
during the column generation phase in Algorithm C
4.2. Effectiveness of the Algorithms and while solving the master problem in Phase I of
We now compare the Benders decomposition-based Algorithm B. As discussed at the end of §2.3.2, care
algorithm with the other proposed algorithms. While must be taken in setting the stopping conditions for
solving the problem with the pure column generation- the mixed-integer program BMP in Phase II of the
based algorithm, the LP relaxation is first solved to Benders decomposition-based algorithm. In our com-
optimality and then the integer solution is obtained putational experiments, stopping the MIP when a 1%
using branch-and-bound. However, while solving the optimality gap for small instances (6–10 ports) and a
problem with the two-phase Benders decomposition- 3%–5% gap for large instances (15–20 ports) is reached
based algorithm, in Phase I the cuts are generated provided a good balance of computational time and
until the relative difference between the upper bound solution quality. These parameters were set after ini-
provided by the Benders relaxed master problem and tial computational experiments. Specifically, for the
the lower bound provided by the subproblem is less six port instances when the optimality gap is reduced
than 1% or the number of iterations in the first phase from 1% to 0.1%, the solution quality improves by
of Benders are less than 200. Phase I terminates when only ∼004%, whereas the time taken to solve the inte-
one of these criteria is met. The LP solution obtained ger program increases by ∼55%. Hence, we believe
by the pure column generation-based algorithm is that heuristically solving the MIPs did not have a sig-
used as an upper bound to estimate the quality of the nificant effect in prematurely terminating the Benders
final integer solution. algorithm if the optimality gap was chosen properly.
Table 1 presents a comparison among the greedy Also, in our computations when we use the above
algorithm, the pure column generation-based algo- optimality gaps as stopping criteria, we never ran into
rithm, and the Benders decomposition-based algo- a situation where the upper bound obtained by the
rithm. It also compares the flow decomposition-based MIP was less than the Benders lower bound. For the
cycle generation algorithm with the iterative search CI, BF , and BI algorithms, figures in the column No.
algorithm for cycle generation. The second and third of Cycles report the number of cycles in the integer
column of Table 1 report the number of cycles gen- program. Note that in these algorithms a larger num-
erated and the CPU time taken to solve the problem ber of cycles are generated during column generation,
using greedy algorithm with iterative cycle gen- while solving the LP, but subsequently removed if
eration. The fourth and fifth column report these they have high negative reduced cost.
statistics for the pure column generation-based algo- The results of our tests show that there is a very
rithm with iterative cycle generation. The next four significant difference in the solution quality obtained
columns, two each, report the corresponding statis- by the greedy algorithm and the solution quality
tics for the Benders decomposition-based algorithms obtained by the other two algorithms. Although the

Table 1 Comparison Between Different Algorithms

GI CI BF BI

No. of No. of No. of No. of Percent of Percent of Percent of


Test class cycles Time cycles Time cycles Time cycles Time GI−BI CI−BI BF−BI

P6S18D6 2 003 62 095 234 068 49 016 4927 001 392


P6S18D9 3 005 70 210 272 259 64 030 5784 060 290
P6S30D6 3 009 181 726 215 130 96 033 3728 110 281
P6S30D9 4 013 239 3442 366 173 120 057 3301 −021 199
P10S30D18 5 076 312 76020 1926 6797 213 1541 6029 −028 350
P10S30D27 5 165 358 131200 2355 16083 292 3056 6700 221 321
P10S50D18 7 178 607 207710 3102 58382 371 6134 4739 210 525
P10S50D27 8 264 790 291000 4587 131868 578 11635 4501 002 565
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 191

greedy heuristic is fast, it works with a very small infeasible for the integer program and are removed at
set of cycles and picks each cycle that it generates the start of the branch-and-bound. Moreover, in the
without any further considerations. The pure col- CI algorithm most of the time is spent solving the LP
umn generation-based algorithm yields solution qual- relaxation via column generation.
ities comparable to the Benders decomposition-based Table 1 reports results for test cases with up to
algorithm with iterative cycle generation; however, it 10 ports because the pure column generation-based
incurs a longer computational time, and this differ- algorithm and the flow decomposition-based cycle
ence increases as the problem size increases. Although generation algorithm become computationally very
the number of cycles passed on to the integer pro- expensive, making CI and BF ineffective. Also, the
gram in the pure column generation is not very high, solution quality of the greedy algorithm decreases
compared with the number of cycles at the end of further, compared with the Benders decomposition
Phase I in algorithm BI, the amount of time taken based algorithm. Table 1 establishes the superiority
is much greater. This can be contributed to the fact of the solution, in terms of both CPU time and rev-
that as the problem size (number of ports, ships and enue generated, obtained by the two-phase Benders
demand triplets) increases, the number of variables decomposition-based algorithm with iterative cycle
as well as the number of constraints increases in the generation. Thus, we used this algorithm to perform
column generation-based algorithm. However, in the all further experiments.
Benders decomposition-based algorithm, the effect of
increase in problem size is distributed between the 4.3. Analysis of the Benders Decomposition-Based
master problem and the subproblem. Algorithm
Although the BI algorithm outperforms the BF Our next set of experiments performs a deeper anal-
algorithm uniformly, the difference between the solu- ysis of the Benders decomposition-based algorithm;
tion quality obtained by these algorithms is less than results are presented in Table 2. In these experiments
6%. However, the time taken in the BF algorithm is we used initial cuts and removed columns with large
four to five times higher than the time taken by the negative reduced costs after every 10 iterations in the
BI algorithm. This can be attributed to the fact that, first phase of the Benders decomposition-based algo-
in algorithm BF , many infeasible cycles are generated rithm. The second column in Table 2 represents the
by solving the circulation problem and decompos- number of iterations in the first phase of the algo-
ing its flow in the first phase of the Benders decom- rithm. The third, fourth, and fifth columns present
position based algorithm. For a 6- (10) port prob- a breakdown of the total time taken in various pro-
lem, BF generated about 65% (60%) infeasible cycles cesses while solving the LPBMP. The next column
in Phase I. Although more cycles are submitted at represents the additional time taken to obtain an inte-
the end of Phase I by algorithm BF , the branch-and- ger solution. The last column reports the gap corre-
bound takes far less time compared with the corre- sponding to the relative difference between the upper
sponding branch-and-bound in algorithm CI because bound, obtained by the CI algorithm, and the integer
most of the cycles generated by algorithm BF are solution value obtained by the BI algorithm. To keep

Table 2 Analysis of the Benders Decomposition-Based Algorithm

Phase I
Percent
Test class Iters Subproblem Master Cycle-gen. Phase II of gaps

P6S18D6 13 002 011 009 001 1024


P6S18D9 16 010 019 014 003 1210
P6S30D6 20 006 023 017 003 230
P6S30D9 27 016 036 027 005 332
P10S30D18 47 724 613 517 199 855
P10S30D27 56 1702 765 363 654 980
P10S50D18 75 2387 2064 1609 1965 191
P10S50D27 95 5269 3120 1837 3555 324
P15S45D42 130 10586 6946 5227 3525 863
P15S45D63 175 14160 11069 7200 3380 853
P15S75D42 181 17225 15249 11880 16772 530
P15S75D63 200 25426 21256 15608 17478 592
P20S60D76 200 116587 7312 3992 4207 1270
P20S60D114 200 175063 11318 4738 17337 751
P20S100D76 200 250751 16461 7281 26245 505
P20S100D114 200 378438 38011 14965 47801 721
Agarwal and Ergun: Network Design for Liner Shipping
192 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

Table 3 Effect of Algorithmic Refinements

No cuts+all cols. Cuts+all cols. Cuts+remove cols.

No. of No. of No. of


Test class cycles Iters Time cycles Iters Time cycles Iters Time

P6S18D6 62 15 020 51 13 017 49 13 016


P6S18D9 93 15 034 87 15 033 64 16 030
P6S30D6 194 22 066 105 20 044 96 20 033
P6S30D9 240 30 103 131 27 088 120 27 057
P10S30D18 494 52 1882 464 45 1868 213 47 1541
P10S30D27 673 60 6450 603 55 5045 292 56 3056
P10S50D18 882 79 27103 790 71 16882 371 75 6134
P10S50D27 1102 99 74823 889 91 36481 578 95 11635

computational time under control, in Phase II, only of columns. Parameters are chosen so that the solu-
two to three iterations of the Benders algorithm were tion quality is not affected by these refinements; how-
performed. ever, the computational time is reduced significantly.
Table 2 suggests that as the number of demand Table 3 reports cycles generated, iterations performed,
triplets increases, the time taken to solve the subprob- and the time taken for each of these cases. The total
lem increases. This is mainly because every demand CPU time taken to find an integer solution is also
triplet is considered a different commodity; thus, as reported.
the number of demand triplets increases, the com- Table 3 reports results for networks with up to
plexity of the multicommodity flow problem or the 10 ports because the time taken in both phases of
the Benders decomposition-based algorithm becomes
subproblem increases (in the number of variables and
prohibitively high for networks with more than 10
constraints) significantly. Note that an increase in the
ports if we remove the initial cuts or do not remove
number of demand triplets results in an increase in
cycles with large negative reduced costs. Note that
the time taken to solve the master problem also. This removing columns with a negative reduced cost of
is because of the increased possibilities with regard less than 1,000,000 does not reduce the number of
to the cycles that can be generated. The overall time cycles significantly for six port instances, because not
increases as we increase the number of ports, the many cycles for such a small network have a large
number of ships, or the number of demand triplets. negative reduced cost. However, the same refinement
For the same number of ports, as the number of reduces the number of cycles for 10 port instances
ships increase, the integrality gap reduces signifi- to approximately half the size, suggesting that this
cantly. This suggests that the set of cycles generated refinement must be tuned according to the problem
in the first phase is good for the second phase also, size to properly control the number of columns in the
and given a sufficient number of ships, the gap can linear program.
be reduced further. For small test cases with six ports, Table 3 suggests that the CPU time as well as the
we observed that the integer solution obtained by our number of iterations in the first phase of the Ben-
algorithm is indeed close to the optimal solution in ders decomposition-based algorithm are reduced by
many cases and that the LP-based upper bound is not introducing the initial cuts. However, a more sig-
very tight. It is easily seen that the integrality gap can nificant reduction in time is achieved by removing
be very bad. Consider a two-port, one-ship instance columns with large negative reduced cost. Removing
such that the sailing time between ports is one week. very negative reduced cost cycles does not affect the
time taken in Phase I very much, but the number
An LP solution will assign half a ship to each edge,
of columns that the integer program works with in
whereas an integer solution will yield zero revenue,
Phase II is reduced considerably; thus the time taken
resulting in a 100% integrality gap. However, given
in the second phase of the Benders decomposition-
a sufficient number of ships, such extreme cases are based algorithm reduces significantly.
highly unlikely to occur. Finally, we study the effect on the solution qual-
Our next set of experiments studies the effect of ity of having only one ship type in the fleet. Table 4
using the refinements described in §§3.2 and 3.3. reports results for a fleet of identical ships with a
Using the two-phase approach we solve each instance 4,000 TEU capacity. For each test class, we report the
first without the initial set of cuts, then without CPU time taken in Phases I and II of the Benders
removing any column at intermediate steps, and decomposition-based algorithm with iterative search
finally by incorporating the initial cuts and removing for cycle generation, the total number of cycles gen-
columns at intermediate steps, to keep only a subset erated, and the optimality gap. In this case also, two
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 193

Table 4 Effect of Identical Ships in the Fleet

Phase I
No. of Percent
Test class Subproblem Master Cycle-gen. Phase II cycles gap

P6S18D6 002 009 007 000 35 143


P6S18D9 004 017 014 001 42 214
P6S30D6 003 011 009 000 60 016
P6S30D9 006 020 018 004 72 201
P10S30D18 392 297 241 030 190 225
P10S30D27 506 216 182 062 202 223
P10S50D18 832 698 525 202 243 145
P10S50D27 1338 836 682 254 275 174
P15S45D42 5172 1740 1535 372 398 253
P15S45D63 9705 2559 2197 497 520 201
P15S75D42 17112 5277 3777 520 583 193
P15S75D63 20907 8728 5278 683 647 156
P20S60D76 102353 10696 9160 1283 450 132
P20S60D114 186977 19379 11776 1350 791 116
P20S100D76 182567 18185 14467 1482 957 191
P20S100D114 292328 18913 14151 1650 980 201

to three iterations of the Benders algorithm were per- The second column in Table 5 reports the number
formed in Phase II. of cycles or service routes picked in the final solu-
Table 4 suggests that if all the ships are identical, tion. The number of service routes increases as the
the optimality gap reduces even further in all the test numbers of ships and ports increase. The next two
classes. Because all ships are identical, in Phase II it columns in Table 5 report the average percentage uti-
becomes easier to operate a service route using ships lization of capacity on the edges of the network and
of a similar kind to maintain the weekly frequency. the percentage of the cargo that is transshipped. These
Comparing Table 2 with Table 4 suggests that the results are for the case when we do not consider trans-
overall time taken also reduces. The time taken in shipment cost, that is, when the cost of transshipment
the cycle generation process reduces significantly, as is 0. Utilization of capacity on an edge is calculated
now the cycle generation needs to be solved only by dividing the total flow on that edge by the total
for one ship type at every iteration. Thus, the time capacity of the edge. Recall that the capacity of an
taken in the master problem decreases. Also note that edge is defined by the number of ships (and their
fewer cycles are generated, and thus the time taken in capacities) that cross the given edge. Across our prob-
Phase II reduces significantly. As a result, the overall lem instances, our algorithm consistently reports high
solution time is reduced. average percentage utilization (70%–90%) of capacity.
Note that higher the number of service routes, the
4.4. Analysis of the Solution higher the number of possibilities for cargo routes.
In this section, we take a closer look at the solution As a result, the percentage of the cargo transshipped
generated by the Benders decomposition-based algo- increases as the problem size increases. This trend
rithm and its implications. Also, we perform prelimi- is observed in our computational study also as the
nary experiments to study the effect of transshipment amount of transshipped cargo increases from ∼19%
cost on cargo routing. for a 6-port problem to ∼30% for a 10-port problem.
Table 5 Analysis of the Obtained Solutions

Trans_cost = 0 Trans_cost = 20 Trans_cost = 100 Trans_cost = 1,000

No. of Percent of Percent of Percent diff. Percent of Percent diff. Percent of Percent of Percent of
Test class picked cycles utilization transshipped demand transshipped demand transshipped demand transshipped

P6S18D6 3 058 1728 000 1284 0 1284 3099 1517


P6S18D9 3 082 2126 000 1712 065 1686 2896 641
P6S30D6 4 071 2003 000 1377 027 1348 5354 001
P6S30D9 5 079 1733 000 1447 159 1348 3379 658
P10S30D18 6 083 2230 000 1563 066 1499 2300 371
P10S30D27 6 086 2807 000 2308 0 2308 1394 1196
P10S50D18 7 088 3409 025 2946 108 2881 3179 1442
P10S50D27 8 091 3253 026 2784 074 2744 3044 1141
Agarwal and Ergun: Network Design for Liner Shipping
194 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

Port A Port B Port C Port D distance (proportionality constant being chosen ran-
domly from ;100200<) between the origin and desti-
Mon 1 6 nation ports. Note that as the distance between ports
Tue
3 is chosen from ;242< days, the revenue generated
C2 is chosen from ∼;200 8000<. Thus, the first scenario
Wed
C1 3 represents the case when the transshipment cost is
Thu 1 low and is comparable to the holding cost at a port.
6
The third scenario represents the case when the trans-
Fri
shipment cost is very high and is comparable to the
Sat revenue generated by satisfying demand. Such high
Sun transshipment costs are highly unlikely; however, we
discuss this scenario to present an extreme case.
Our computations yield that when the cost of trans-
Ground edges Cycle C2
Loading/unloading edges
shipment is of the order of the holding cost at a
Cycle C1
port or is low compared with the revenue generated
by satisfying demand, the routing decision in both
Figure 6 New Network to Study the Effects of Transshipments
networks is similar. However, as the transshipment
cost increases, the routing decisions change. Specif-
Next, we perform preliminary experiments to study ically, as the transshipment cost increases from 20
the effect of transshipment cost on cargo routing. to 1,000 units, the percentage change in the amount
Depending on the set of chosen service routes, we of demand satisfied increases from 0% to ∼36%. We
construct a new network. In the new network, at note that as the transshipments become more and
every port where two or more cycles meet a new node more expensive, the percentage of the cargo trans-
is constructed for every cycle. The new nodes are shipped decreases. An anomaly occurs in the first
connected to the original port node via edges. These row of the last column of Table 5 as the percent-
edges act as loading/unloading edges and have cor- age of transshipped cargo increases from 12.84% to
responding costs associated with them. For example, 15.17% when the transshipment cost increases from
for the network represented in Figure 3, the new net- 100 units to 1,000 units. This occurs because as the
work is given by Figure 6. At port p, cpu and cpl denote transshipment cost increases, not only do the trans-
the unloading and loading cost, respectively, and the shipments decrease but also the demand that is sat-
transshipment cost is given by cpu +cpl . Thus, a trans- isfied decreases in many cases because the routing
shipment occurs when at an intermediate port cargo options become limited. Thus for the last column
travels on an unloading and then a loading edge. In the numerator as well as the denominator decreases.
Figure 6, cargo that is routed from port B to port D For instances in the class P6S186, the denominator
is transshipped at port C and it uses the unloading decreases faster than the numerator because for this
edge from cycle C1 to port C and the loading edge class of instances we have very few demand pairs
from port C to cycle C2 . (few things to route) and on average very few selected
To perform the experiment, we construct the new cycles (very few alternative routing options).
network for the cycles selected at the end of the sec-
ond phase of the Benders decomposition-based algo-
rithm. The cargo-routing problem is solved for both 5. Concluding Remarks and
the new and the original networks. The effect of Future Research
the transshipment costs on the cargo-routing deci- In this paper we presented a new mathematical model
sions is studied by observing the percentage differ- for the simultaneous ship-scheduling and container-
ence between the demand satisfied in the original ized cargo-routing problem for liner shipping. The
network (in the absence of transshipment costs) and proposed model captures the important weekly fre-
the new network (in the presence of transshipment quency constraint faced by the carriers and allows
costs). We also compute the percentage of cargo trans- them to take advantage of transshipping cargo. The
shipped to the total cargo shipped. These two statis- structure of the model makes it well suited for decom-
tics are reported in Table 5 for three different scenar- position, leading to efficient algorithms. Effective ser-
ios: transshipment cost = 20 units per unit of cargo; vice routes for ships are generated selectively in a
transshipment cost = 100 units per unit of cargo; and column generation setting using an iterative search
transshipment cost = 1000 units per unit of cargo. algorithm. Finally, the proposed solution approach is
Recall that the holding cost at ports is chosen ran- tested on various test classes. Considering the prelim-
domly from ;110< and the revenue generated by sat- inary results obtained, we believe that the suggested
isfying demand is chosen to be proportional to the solution approach has the potential to help planners
Agarwal and Ergun: Network Design for Liner Shipping
Transportation Science 42(2), pp. 175–196, © 2008 INFORMS 195

develop better routes for a fleet of up to 100 ships. lth best cycle. Note that a successful branch-and-
The planners can also add their predetermined ser- price algorithm requires a pricing problem that can
vice routes to the model as a set of initial cycles and be solved very efficiently, as it will be invoked many
thus be a part of the solution process to obtain a solu- times. Explicitly excluding the specified cycles from
tion that is a user’s rather than a computer’s solu- the pricing problem is computationally expensive.
tion. Our results indicate high percentage utilization Even if a pool of cycles is generated at every col-
of ships’ capacities and a significant number of trans- umn generation step, one needs to keep track of all
shipments in the final solution. the cycles that need to be excluded. Furthermore,
Our aim in this paper is to provide a basic frame- because commercial software such as CPLEX can-
work for simultaneous ship scheduling and cargo not handle the branch-and-price framework, manag-
routing. The model and the solution strategy pre- ing the search tree efficiently poses many implemen-
sented here can be enhanced in different ways. tation challenges, such as deciding which nodes to
Next, we present some directions for future re- branch on and which search technique (e.g., breadth
search. The model presented in this paper allows for first search, depth first search, best bound, etc.)
transshipping the cargo from one ship to another. At to use.
the end of §4.4 we presented an approach to account
for transshipment costs during cargo routing. How- Acknowledgments
ever, the model does not take into account the trans- The second author was supported in part under National
shipment costs while designing the service routes. Science Foundation Grant DMI-0238815. The authors thank
Further research is required to extend or modify the the anonymous referees for their valuable suggestions.
model to include transshipment costs. This aspect is
expected to increase the complexity of the model and
the solution procedures significantly. References
In this paper we allow only one ship type to main- Ahuja, R. K., J. B. Orlin, D. Sharma. 2003. A composite very large
scale neighborhood structure for the capacitated minimum
tain weekly frequency on a service route. This pro- spanning tree problem. Oper. Res. Lett. 31 185–194.
vides the same capacity in the network every week American Association of Port Authorities. 2006. America’s ports
and is useful when a carrier faces the same demand today. AAPA Policy Paper, http://www.aapa-ports.org/.
each week. However, it is possible that the demand APL. 2005. American President Lines. http://www.apl.com.
structure is not the same each week. Further research Barnhart, C., E. L. Johnson, R. Anbil, L. Hatay. 1994. A column-
is required to allow for multiple ship types on a ser- generation technique for the long-haul crew-assignment prob-
lem. T. Ciriano, R. Leachman, eds. Optimization in Industry 2:
vice route. Changes in demand from week to week Mathematical Programming and Modeling Techniques in Practice.
can be incorporated easily by expanding the planning John Wiley & Sons, New York, 7–24.
horizon; however, incorporating cycles with multiple Barry Rogliano Salles-AlphaLiner. 2006. Liner shipping report.
ship types will require changes in the model and the http://www.alphaliner.com.
cycle generation scheme. Bendall, H. B., A. F. Stent. 1999. Longhaul feeder service in an era
In terms of the solution approach, in the pure col- of changing technology: An Asia-Pacific perspective. Maritime
Policy Management 26(2) 145–159.
umn generation algorithm and the Benders decom-
Benders, J. F. 1962. Partitioning procedures for solving mixed-
position-based algorithm, no new columns are gener- variables programming problems. Numerische Mathematik 4
ated when solving the integer program. New columns 238–252.
can be generated by solving the integer program Bertsimas, D., J. N. Tsitsiklis. 1997. Introduction to Linear Optimiza-
in a branch-and-price (rather than the branch-and- tion. Athena Scientific, Belmont, MA.
bound used in this paper) framework. The branch- Cheung, R. K., C.-Y. Chen. 1998. A two-stage stochastic network
model and solution methods for the dynamic empty container
and-price framework is expected to improve the solu- allocation problem. Transportation Sci. 32(2) 142–162.
tion quality. However, there are many important and Christiansen, M., B. Nygreen. 1998. A method for solving ship rout-
challenging issues that must be resolved to develop ing problems with inventory constraints. Ann. Oper. Res. 81
a successful branch-and-price algorithm. Specifically, 357–378.
a good branching rule needs to be devised. Stan- Christiansen, M., K. Fagerholt, D. Ronen. 2004. Ship routing and
scheduling: Status and perspectives. Transportation Sci. 38(1)
dard branching on the cycle or the xC variables cre- 1–18.
ates a problem along the branch where a variable Cordeau, J.-F., F. Soumis, J. Desrosiers. 2000. A Benders decomposi-
has been set to zero. xC = 0 means that cycle C needs tion approach for the locomotive and car assignment problem.
to be excluded. However, it is possible that the next Transportation Sci. 34(2) 133–149.
time the pricing problem is solved to generate a prof- Cordeau, J.-F., F. Soumis, J. Desrosiers. 2001a. Simultaneous assign-
itable cycle in this branch, the optimal solution is pre- ment of locomotives and cars to passenger trains. Oper. Res. 49
531–548.
cisely the cycle C. Thus the second best cycle must
Cordeau, J.-F., G. Stojkovic, F. Soumis, J. Desrosiers. 2001b. Ben-
be considered. Moreover, at depth l in the branch- ders decomposition for simultaneous aircraft routing and crew
and-price tree it might be necessary to construct the scheduling. Transportation Sci. 35(4) 375–388.
Agarwal and Ergun: Network Design for Liner Shipping
196 Transportation Science 42(2), pp. 175–196, © 2008 INFORMS

Drewry. 2001. The Drewry Container Market Quarterly, September Rana, K., R. G. Vickson. 1991. Routing container ships using
issue. Drewry Shipping Consultants, Ltd., London. Lagrangean relaxation and decomposition. Transportation Sci.
Fagerholt, K. 1999. Optimal fleet design in a ship routing problem. 25(3) 201–214.
Internat. Trans. Oper. Res. 6 453–464. ROI. 2002. Profit optimization for container carriers. http://
Florian, M., G. Bushell, J. Ferland, G. Guerin, L. Nastansky. 1976. www.imsworldgroup.com/Downloads/ROI%20Product@
The engine scheduling problem in a railway network. INFOR Services%20v1.8.pdf.
14 121–138. Ronen, D. 1983. Cargo ships routing and scheduling: Survey of
models and problems. Eur. J. Oper. Res. 12 119–126.
Garey, M. R., D. S. Johnson. 1979. Computers and Intractability: A
Guide to the Theory of NP-Completeness. W. H. Freedman and Ronen, D. 1993. Ship scheduling: The last decade. Eur. J. Oper. Res.
Co., San Francisco, 214–215. 71(3) 325–333.
Hingorani, N., D. Moore, K. Tornqvist. 2005. Setting a new course Shen, W. S., C. M. Khoong. 1995. A DSS for empty container distri-
in the container shipping industry. IBM Technical Report, IBM bution planning. Decision Support Systems 15 75–82.
Institute for Business Value Study. Song, D. W., P. M. Panayides. 2002. A conceptual application of
cooperative game theory to liner shipping strategic alliances.
Imai, A., E. Nishimura, S. Papadimitriou, M. Liu. 2006. The eco-
Maritime Policy Management 29(3) 285–301.
nomic viability of container mega-ships. Transportation Res. E
42 21–41. United Nations Conference on Trade and Development. 2006.
Review of maritime transport, UNCTAD Secretariat Report,
Lin, S., B. W. Kernighan. 1973. An effective heuristic algorithm for
http://www.unctad.org/en/docs/rmt2006_en.pdf.
the travelling salesman problem. Oper. Res. 21(2) 498–516.
United States Customs Service. 2003. Singapore, the World’s
McDaniel, D., M. Devine. 1977. A modified Benders partitioning busiest seaport, implements the container security initiative
algorithm for mixed integer programming. Management Sci. 24 and begins to target and pre-screen cargo destined for U.S.
312–379. (March 17, 2003) http://www.cbp.gov/xp/cgov/newsroom/
OOCL. 2005. Orient Overseas Container Line. http://www.oocl. press_releases/archives/cbp_press_releases/032003/03172003.
com. xml.
Perakis, A. N. 2002. Fleet operations optimization and fleet deploy- Vander Wiel, R. J., N. V. Sahinidis. 1996. An exact solution approach
ment. C. T. Grammenos, ed. The Handbook of Maritime Economics for the time dependent travelling salesman problem. Naval Res.
and Business. Lloyd’s of London, London, 580–597. Logist. 43 797–820.

You might also like