Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

A Maritime Inventory Routing Problem: Discrete Time

Formulations and Valid Inequalities

Agostinho Agra
Department of Mathematics and CIDMA, University of Aveiro, Aveiro, Portugal

Henrik Andersson and Marielle Christiansen


Department of Industrial Economics and Technology Management, Norwegian University of Science and
Technology, Trondheim, Norway

Laurence Wolsey
CORE, University of Louvain, Louvain-la-Neuve, Belgium

A single-product maritime inventory routing problem formulation, most of our test instances are solved to opti-
(MIRP) is studied in which the production and consump- mality. © 2013 Wiley Periodicals, Inc. NETWORKS, Vol. 62(4),
tion rates vary over the planning horizon. The problem 297–314 2013
involves a heterogeneous fleet and multiple production
and consumption ports with limited storage capacity. Keywords: inventory routing; maritime transportation; mixed
Two discrete time formulations are developed: an orig- integer linear formulation; lot-sizing relaxations
inal model and a reformulated model that is a pure fixed
charge network flow (FCNF) model with side constraints.
Mixed integer sets arising from the decomposition of
the formulations are identified. In particular, several lot- 1. INTRODUCTION
sizing relaxations are derived for the formulations and
used to establish valid inequalities to strengthen the pro- Maritime transportation is a major mode of transporta-
posed formulations. Until now, the derivation of models tion covering more than 80% of the world trade by volume
and valid inequalities for MIRPs has mainly been inspired (UNCTAD [28]). Large quantities are transported over long
by the developments in the routing community. Here, we
have developed a new model leading to new valid inequal-
distances and often inventories exist at the loading or dis-
ities for MIRPs obtained by generalizing valid inequalities charge ports of the sailing legs. When one actor or cooperat-
from the recent lot-sizing literature. Considering a set of ing actors in the maritime supply chain have the responsibility
instances based on real data, a computational study is for both the transportation of goods and the inventories at the
conducted to test the formulations and the effectiveness ports, the underlying planning problem is a maritime inven-
of the valid inequalities. The FCNF formulation is gen-
erally much stronger than the original formulation. The
tory routing problem (MIRP). Such problems are complex,
developed valid inequalities reduce the integrality gap but, as it is a capital intensive industry, a modest improve-
significantly for both formulations. By using a branch- ment in the fleet utilization and loading/discharge quantities
and-bound scheme based on the strengthened FCNF can translate into a large increase in profit. This means that
there is a great potential and need for research in the area of
MIRPs.
The problem analyzed in this article is a single-product
MIRP. The product is produced at loading (production) ports
Received May, 2011; accepted June, 2013 and consumed at discharge (consumption) ports. It is possible
Correspondence to: M. Christiansen; e-mail: marielle.christiansen@
iot.ntnu.no
to store the product in inventories with time-dependent capac-
Contract grant sponsors: FCT and CIOMA (PEst-C/MAT/UI4106/2011) ities at both types of ports. The production and consumption
(A.A.) rates are deterministic but may vary over the planning hori-
Contract grant sponsor: Research Council of Norway (DOMinant II-project) zon. There are berth capacities at the ports, limiting the
(H.A. and M.C.). number of ships that can load or discharge at the same time. A
DOI 10.1002/net.21518
Published online 5 October 2013 in Wiley Online Library
heterogeneous fleet of ships is used to transport the product.
(wileyonlinelibrary.com). Each ship has a given capacity, speed, and loading/discharge
© 2013 Wiley Periodicals, Inc. rate. The ships can wait outside a port before entering for

NETWORKS—2013—DOI 10.1002/net
a loading or discharge operation. A ship can both load and a combined MIRP and production scheduling problem. Also
discharge at multiple ports in succession. The initial position Grønhaug et al. [14] and Engineer et al. [10] include valid
and load on board each ship is known at the beginning of inequalities to improve the path flow formulation presented
the planning horizon. The sailing costs, waiting costs, and for their inventory routing problems. Agra et al. [1] develop
port costs are all ship-dependent. The planning problem is strong mixed integer formulations for a short sea fuel oil
to design routes and schedules for the fleet that minimize distribution problem. Finally, Song and Furman [27] present
the transportation and port costs and determine the load or valid inequalities for MIRPs including several practical con-
discharge quantity at each port visited without exceeding the straints for solving problems in different shipping segments.
storage capacities. Depending on the segment the fleet is oper- Even though Savelsbergh and Song [22] do not handle a
ating in, the typical planning period spans from 1 week up to MIRP, their inventory routing problem has many parallels
several months. to the MIRP studied in this article and is relevant due to the
MIRPs have received increasing attention in the literature formulation and valid inequalities presented.
in the last decade; see the surveys on MIRPs in Andersson The objective of this research has been to study a gen-
et al. [3] and Christiansen and Fagerholt [5] and the general eral MIRP with time varying production and consumption
reviews on ship routing and scheduling by Christiansen et al. rates and to develop tight mixed integer linear programming
[7] and Christiansen et al. [8]. Most of the published con- formulations for the problem. Therefore, the article starts
tributions are based on real cases from the industry due to a with a formulation called the original formulation for the
demand for support when taking complex routing and inven- MIRP studied, and then a stronger formulation which is a
tory management decisions. Similar to the problem analyzed fixed charge network flow formulation (FCNF) is presented.
here, many of the studies describe single-product MIRPs; see In addition, valid inequalities for the problem are developed
for instance Christiansen [4] and Flatberg et al. [11] consid- that are based on known families of valid inequalities from
ering ammonia supply chains, Furman et al. [12] focusing on the lot-sizing literature. Several of these valid inequalities can
the transportation of oil products and Grønhaug et al. [14] dis- potentially be used for other inventory routing problems and
cussing liquefied natural gas (LNG) distribution. However, in tailor-made solution approaches such as column genera-
several cases are described in the literature where multiple tion to solve even larger instances than those presented here.
products need to be taken into account; see for instance Al- Research on models and valid inequalities for inventory rout-
Khayyal and Hwang [2], Christiansen et al. [6], Rakke et al. ing problems has mainly come from the routing community.
[20], Ronen [21], and Siswanto et al. [26]. Now, we develop a new model and valid inequalities for the
As discussed in both Anderson et al. [3] and Song and MIRP from the lot-sizing theory.
Furman [27], most combined maritime routing and inven- The remainder of the article is organized as follows.
tory management problems described in the literature are a Section 2 presents the two alternative mixed integer linear
particular version of the MIRP and tailor-made methods that programming formulations for the MIRP. In sections 3 and 4,
are developed to solve the specific problem. These methods several mixed integer relaxations are derived for the formula-
are often based on heuristics or decomposition techniques. tions. These relaxations are used to develop valid inequalities
The choice of these solution approaches might be explained to strengthen the proposed formulations. Section 5 presents
by the high complexity of real MIRPs and the opportunity the computational study. Some concluding remarks follow in
to utilize the special structure of the problem. However, con- section 6.
stant hardware developments combined with the theoretical
advances in optimization techniques have produced optimiza- 2. PROBLEM FORMULATIONS
tion solvers capable of handling increasingly large instances.
Currently, it is possible to obtain optimal or near optimal To formulate the problem as a mixed integer linear pro-
solutions to small real instances occurring in maritime trans- gram, a number of modeling decisions have been made. The
portation problems using commercial solvers, see Agra et al. first consideration is whether to work with continuous or dis-
[1], and Sherali and Al-Yakoob [24, 25]. It is well-known crete time periods. Continuous time models can be found
that the choice of mathematical formulation for mixed integer in the literature for the MIRP when the production and/or
programming problems is of crucial importance to efficiently consumption rates are considered given and fixed during
solve a problem, see Nemhauser and Wolsey [15]. This makes the planning horizon; see for instance Christiansen [4], Al-
the study of the mathematical formulation a key issue to solve Khayyal and Hwang [2], and Siswanto et al. [26]. In Ronen
larger MIRPs. [21], Grønhaug and Christiansen [13], Grønhaug et al. [14],
The study of valid inequalities for mixed integer sets Engineer et al. [10], Furman et al. [12], Rakke et al. [20], and
and the derivation of extended formulations are currently Song and Furman [27], discrete time models are developed to
receiving significant attention for solving both routing and overcome the complicating factors associated with variable
lot-sizing problems. However, relatively little work has been production and consumption rates. Because both production
done on applying these techniques to maritime transporta- and consumption rates may vary over the planning horizon
tion problems. Sherali et al. [23] include valid inequalities in the problem described here, discrete time formulations are
to strengthen the formulations of an oil products transporta- proposed. It is therefore assumed that the waiting time, the
tion problem and Persson and Göthe-Lundgren [16] develop time for loading and discharge, and the sailing times can
valid inequalities within a column generation approach for be expressed as an integer multiple of a basic time period.

298 NETWORKS—2013—DOI 10.1002/net


FIG. 1. Example of the movement of a ship in a time expanded network. The arc labels are O for operating, W
for waiting and S for sailing.

The length of the time period depends on the actual shipping are assumed to take one time period or a given number of time
segment. periods independently of the quantity loaded/discharged, see
In each time period, a ship can either be waiting, operating for instance Song and Furman [27] and Grønhaug and Chris-
in port (loading or discharging), or sailing. In the following, tiansen [13]. This means that the models proposed in this
we will use the terms operating in port or just operating for article fit short sea shipping instances with long loading and
loading and discharging. It does not include any waiting or discharge times relative to the sailing times. The first model
sailing. Two assumptions are made: (i) a ship does not visit a is called the original formulation. This formulation is then
port without carrying out a loading/discharge operation, and reformulated as a FCNF model in section 2.2. The main dif-
(ii) waiting always takes place on arrival at a port before any ference between the models can be found in the detail with
port operations start. The first is natural while the second which the load on each ship is modeled. Some advantages
is a restriction that can potentially lead to a worse optimal of a FCNF formulation are that it leads to a tighter linear
solution. We discuss how the models can be adapted if these programming relaxation, and the fact that certain families of
assumptions are dropped at the end of section 2. The assump- valid inequalities are known for such formulations.
tions imply that if a ship operates (loads or discharges) in a
port in one time period, it can either continue to operate in that 2.1. Original Formulation
port or sail to another port in the next time period. It cannot
To model the problem as a mixed integer linear program,
wait in a port and sail to another port immediately afterwards.
the following notation is introduced
This also means that if a ship waits outside a port in one time
period, it can either continue waiting or start operating in the Sets
port in the next time period, but it cannot sail to another port NP set of production ports with indices i and j,
before it has operated. When a ship has started operating in a ND set of consumption ports with indices i and j,
port, it continues operating until it starts to sail. This means N set of production and consumption ports with
that it is not possible to wait for one or several time periods indices i and j, N = N P ∪ N D ,
in a port after the loading/discharging has started. T set of time periods with index t,
The movement of a ship is illustrated in the time expanded V set of ships with index v.
network in Figure 1. The ship starts at its initial position O
and sails to Port 1. At Port 1, the ship operates for two periods Parameters
(periods 4 and 5) before sailing to Port 3 where it waits for one Bit berth capacity in number of ships at port i in time
period before operating. The ship then sails to Port 2 where it period t,
T
Cijv sailing cost from port i to port j with ship v,
waits and operates before it ends its schedule. For modeling
W
Cv waiting cost for ship v per time period,
purposes, it is assumed that the ship then sails to an artificial
end node D. The sailing to this node is marked with a dashed CivP port cost at port i for ship v per time period,
line in Figure 1. Each path through the network defines a Dit consumption at port i in period t,
schedule for the ship. A schedule consists of a geographical Pit production at port i in period t,
route, that is, a sequence of ports, and the time periods in Kv capacity of ship v,
which the ship operates at the ports. Lv0 initial load on board ship v,
In section 2.1, a mixed integer linear formulation of the Qv upper bound on the amount ship v loads/
problem is given. This formulation has some similarities in discharges per time period,
the definitions of arc, quantity, and load variables to other S it upper bound on the inventory level at port i at
MIRP formulations. However, here the port operations are the end of time period t,
modeled in more detail than in several other published dis- S it lower bound on the inventory level at port i at
crete time MIRP models where the loading and discharging the end of time period t,

NETWORKS—2013—DOI 10.1002/net 299


Si0 inventory level in port i at the beginning of wivt 1 if ship v is waiting outside port i in time
the planning horizon, period t, 0 otherwise,
o(v) initial position for ship v, lvt load on board ship v at the end of time
d(v) artificial end node for ship v, period t,
Tijv sailing time from port i to port j for ship v. qivt quantity loaded/discharged in time period t
at port i by ship v,
Variables sit inventory level in port i at the end of time
oivt 1 if ship v operates (loads/discharges) in period t.
port i in time period t, 0 otherwise, Only variables associated with relevant nodes and arcs are
xijvt 1 if ship v sails from port i to port j, starting defined, and the network construction is implicit in the model.
in time period t, 0 otherwise, The problem can now be formulated as follows

     
min T
Cijv xijvt + CivP oivt + CvW wivt , (1)
v∈V i∈N∪{o(v)} j∈N∪{d(v)} t∈T v∈V i∈N t∈T v∈V i∈N t∈T

subject to:
 
xo(v)jvt = 1, ∀v ∈ V , (2)
j∈N∪{d(v)} t∈T
 
xid(v)vt = 1, ∀v ∈ V , (3)
i∈N∪{o(v)} t∈T

xjiv,t−Tjiv + wiv,t−1 + oiv,t−1 =
j∈N∪{o(v)}

xijvt + wivt + oivt , ∀v ∈ V , i ∈ N, t ∈ T , (4)
j∈N∪{d(v)}

oiv,t−1 ≤ xijvt + oivt , ∀v ∈ V , i ∈ N, t ∈ T , (5)
j∈N∪{d(v)}

oiv,t−1 ≥ xijvt , ∀v ∈ V , i ∈ N, t ∈ T , (6)
j∈N∪{d(v)}

oivt ≤ Bit , ∀i ∈ N, t ∈ T , (7)
v∈V

0 ≤ qivt ≤ Qv oivt , ∀v ∈ V , i ∈ N, t ∈ T , (8)



si,t−1 + qivt = Dit + sit , ∀i ∈ N D , t ∈ T , (9)
v∈V

si,t−1 + Pit = qivt + sit , ∀i ∈ N P , t ∈ T , (10)
v∈V

S it ≤ sit ≤ S it , ∀i ∈ N, t ∈ T , (11)
si0 = Si0 , ∀i ∈ N, (12)
 
lv,t−1 + qivt − qivt − lvt = 0, ∀v ∈ V , t ∈ T , (13)
i∈N P i∈N D

0 ≤ lvt ≤ Kv , ∀v ∈ V , t ∈ T , (14)
lv0 = Lv0 , ∀v ∈ V , (15)
xijvt ∈ {0, 1}, ∀v ∈ V , i ∈ N ∪ {o(v)},
j ∈ N ∪ {d(v)}, t ∈ T , (16)
oivt , wivt ∈ {0, 1}, ∀v ∈ V , i ∈ N, t ∈ T . (17)

300 NETWORKS—2013—DOI 10.1002/net


have chosen to model the problem as a single-commodity
FCNF problem as this allows us to take advantage of known
inequalities for such problems. To obtain a pure FCNF struc-
ture with side constraints, we use an extended network in
which each arc representing either waiting or operating is
split into one arc representing waiting and another arc rep-
resenting operating. In addition, each node in the upper
layer in Figure 2 is split into one node in which a ship can
enter the port and one node in which it can depart from the
port.
FIG. 2. Discharge operation at port i for ship v. Because a ship only can depart from a port after an oper-
ation period, it is also necessary to distinguish between the
first time the ship operates during each call to a port and the
The objective function (1) is the sum of all sailing costs,
following operating periods. Thus, new nodes and arcs are
operating costs, and waiting costs. Constraints (2) and (3)
introduced together with the corresponding binary arc and
ensure that the route taken by each ship has a beginning and
flow variables to model the operations of the ship: oAivt indi-
an end. Note that a ship can be idle during the whole planning
cates whether ship v starts to operate at port i in period t and
horizon if it sails directly from the initial node to the artificial
oBivt indicates the succeeding operations at that port. Keep in
end node. Constraints (4) are the ship flow conservation con-
mind that a ship has to load or discharge continuously in port
straints at each port in each period. Constraints (5) prevent
once the ship has first started operating in the port.
a ship from waiting at a port after an operation, while con-
Figure 3 illustrates the extended network corresponding to
straints (6) make sure that a ship can only sail after operating.
the situation shown in Figure 2. The ship has arrived at port
The berth capacities are stated in constraints (7). Constraints
i at the beginning of period 2, waits in period 2, starts oper-
(8) ensure that a ship cannot load/discharge if it is not in
ating (unloading) in period 3, continues operating in period
operating mode and define the upper bound on the quantity
4, and then leaves for port k in period 5. The ship can only
loaded/discharged. The inventory balances for consumption
depart from the second layer, so it is forced to operate at least
and production ports are expressed in constraints (9) and (10),
once.
respectively. Constraints (11) and (12) define the upper and
With the new oAivt , oBivt variables, the ship flow conservation
lower inventory limits and the initial inventory. Constraints
constraints (4) can now be formulated as
(13), (14), and (15) model the the quantity on board the ship
when loading and unloading. All binary variable restrictions 
are stated in constraints (16) and (17). xjiv,t−Tjiv + wiv,t−1 = wivt + oAivt
The connections between the variables in the formulation j∈N∪{o(v)}
are shown in Figure 2. Ship v arrives at port i at the start ∀v ∈ V , i ∈ N, t ∈ T , (18)
of time period 2 and waits for one period before starting to 
discharge. The figure shows the movement of the ship through oAiv,t−1 + oBiv,t−1 = oBivt + xijvt ,
the x, w, and o variables, the quantity q discharged from the j∈N∪{d(v)}
ship, the external demand D, and the inventory levels s at the ∀v ∈ V , i ∈ N, t ∈ T , (19)
discharge port. Note that qivt only can be positive if the ship
is in loading/discharge mode, i.e oivt = 1 in which case the oAivt , oBivt ∈ {0, 1}, ∀v ∈ V , i ∈ N, t ∈ T , (20)
corresponding arcs are indicated in bold.
and together with constraints (2), (3), (16), and (17) they
2.2. Fixed Charge Network Flow Formulation describe the movement of the ships through the extended
network given in Figure 3.
As the linear programming bounds provided by formula- The coordination between the path of the ships and the
tion (1)–(17) are weak, it is natural to try to strengthen the loading or discharge of the product in a port is provided by
formulation. One way to do this is provided by the observa- the constraints
tion that the problem can be viewed as a single-commodity
FCNF problem in which the commodity is first supplied
externally at loading ports. It then flows along the arcs cor- oAivt + oBivt = oivt , ∀v ∈ V , i ∈ N, t ∈ T , (21)
responding to the routes taken by the ships and is finally
deposited at the discharge ports so as to satisfy the external which also provide the link between the old and the new
demands. operating variables.
This cannot be exactly modeled in the type of network To complete the FCNF formulation, the variable lvt and
presented in Figure 2 as there it is possible for a ship to the constraints (13)–(15) describing the quantity on board the
wait throughout its visit to a port and not operate at all. We ships are replaced by flow variables and flow conservation

NETWORKS—2013—DOI 10.1002/net 301


FIG. 3. Discharge operation at port i for ship v in the extended network.

constraints. A flow variable is defined for each arc in the and the variable upper bound and nonnegativity constraints:
extended network.
0 ≤ fijvt
X
≤ Kv xijvt
X
fijvt load on board ship v when traveling from port i to port j, ∀v ∈ V , i ∈ N ∪ {o(v)}, j ∈ N ∪ {d(v)}, t ∈ T , (26)
leaving at time period t,
OA 0≤ OA
fivt ≤ Kv oAivt ∀v ∈ V , i ∈ N, t ∈ T , (27)
fivt load on board ship v when starting to operate at port i
in time period t when it has not operated in time period 0 ≤ fivt
OB
≤ Kv oBivt ∀v ∈ V , i ∈ N, t ∈ T , (28)
t − 1,
OB
fivt load on board ship v before continuing to operate at port 0 ≤ qivt ≤ Qv oivt ∀v ∈ V , i ∈ N, t ∈ T , (29)
i in time period t after an operation in time period t − 1,
W 0 ≤ fivt
W
≤ Kv wivt ∀v ∈ V , i ∈ N, t ∈ T . (30)
fivt load on board ship v while waiting during time period t
at port i. The FCNF formulation is defined by (1)–(3), (7)–(12), (16),
(17), and (18)–(30). We denote by XFCNF the set of feasible
X , f OA , f OB , and f W represent the flow on the
Hence, fijvt solutions of the FCNF formulation.
ivt ivt ivt
arcs defined by the binary variables xijvt , oAivt , oBivt , and wivt , The original formulation is related to the FCNF formu-
respectively. This leads to the flow conservation constraints: lation as follows: (4)–(6) are replaced by (18)–(21) and
(13)–(15) are replaced by (22)–(30). It can also be shown
 that constraints (4)–(6) and (13)–(15) are valid for the FCNF
X
fjiv,t−T jiv
+ fiv,t−1
W
= fivt
W
+ fivt
OA
formulation, so that the FCNF formulation is stronger than
j∈N∪{o(v)}
the original formulation.
∀v ∈ V , i ∈ N, t ∈ T , (22)
 Example 2.1. Consider the following instance for T =
OA
fiv,t−1 + fiv,t−1
OB
+ qiv,t−1 = fivt
OB
+ X
fijvt , {1, . . . , 30}, with one loading port N P = {1}, one discharge
j∈N∪{d(v)} port N D = {2}, and a single ship. Thus, we omit the index
∀v ∈ V , i ∈ N ∪ {o(v)}, t ∈ T ,
P
(23) v from variables and parameters. Assume the initial position
 o(v) coincides with Port 1. Let Bit = 1, ∀t ∈ T , C12 T =
OA
fiv,t−1 + fiv,t−1
OB
− qiv,t−1 = fivt
OB
+ X
fijvt , T = 50, C W = 1, C P = C P = 2, D
C21 1 2 2t = 10, ∀t ∈ T ,
j∈N∪{d(v)} P1t = 10, ∀t ∈ T , K = Q = 50, L = 0, S 1t = S 2t = 0,
0

∀v ∈ V , i ∈ N D ∪ {o(v)}, t ∈ T , (24) S 1t = S 2t = 200, S10 = 0, S20 = 200, T12 = T21 = 5.


The optimal solution has a total cost of 162. An optimal
X
fo(v)jvt = Lv0 xo(v)jvt , ∀v ∈ V , j ∈ N ∪ {d(v)}, t ∈ T , (25) route is given by xo(v),1,1 = x1,2,6 = x1,2,18 = x2,1,12 =

302 NETWORKS—2013—DOI 10.1002/net


FIG. 4. Solution of the linear relaxation using the original formulation. Next to each arc, the variable and its
value is represented.

x2,d(v),24 = 1. There are two loading operations, in periods added, where Q > 0 is an appropriate minimum load/unload
5 and 17, and two unloading operations, in periods 11 and amount.
23, all of them at the maximum load/unload level of 50.
Using the original formulation, the value of the linear 3. STRENGTHENING THE FIXED CHARGE
relaxation is 12. This cost mainly comes from the port oper- NETWORK FLOW FORMULATION
ations. The transportation costs are very low because the
The FCNF formulation can be tightened by adding
routing variables are xo(v),1,6 = 0.08, xo(v),2,1 = 0.08. From
inequalities that are valid inequalities for mixed integer
period 6 to period 30, the ship simultaneously loads 4 units
sets derived as relaxations of the FCNF formulation. In
at port 1 and discharges 4 units at port 2. All the sailing vari-
this section, several such relaxations are identified, whereas
ables between the two ports are zero. This happens because
section 5 shows how the addition of valid inequalities for
constraints (13) only ensure the equilibrium onboard the ship.
these relaxations can be very important in solving the test
There are no flow constraints linking each unit loaded at Port
instances. The relaxations can be grouped into two major
1 to the same unit discharged at Port 2, see Figure 4.
types: mixed integer relaxations resulting from single-row
The linear relaxation of the FCNF formulation has value
relaxations along with simple or variable bound constraints,
160. In this case, there are many fractional routing variables
such as knapsack sets or single-row mixed integer sets, and
(that for brevity we omit their values here) that ensure the
lot-sizing relaxations which can be regarded as sets with
connection between the two ports as the load flow constraints
more structure. The sets of valid inequalities for different
force any unit discharged at Port 2 to have been loaded at
relaxations may overlap. In Pochet and Wolsey [19], a com-
Port 1.
prehensive study of valid inequalities and reformulations for
the mixed integer sets used in this article is given. Some
In Figure 5, the graph corresponding to loading port i and inequalities that are discussed in this section, such as knap-
ship v is depicted. The two top layers model the ship oper- sack inequalities, are also valid or can be easily adapted for
ations, whereas the third layer is for the port inventory. If the original formulation. For each port, simple mixed integer
there is more than one ship, then the two top layers must be relaxations are obtained from bounding the flow across cut-
replicated with one such network for each ship. The aggre- sets separating the given port from the remaining ports in the
X
gate arriving and departing flows f ivt and f Xivt are introduced FCNF network.
to ease the presentation.
3.1. Loading Ports
Remark 2.2. If the initial model assumptions are dropped, The idea here is to look at the flow in and out of loading
that is, obliging a ship to operate at least once during a visit port i over a given time interval. Define the time interval T =
to a port and imposing that a ship only waits before arrival at [k, ] ⊆ T . For each ship v, define a set Tv ⊆ T representing
a port, it suffices to replace the equality (21) by the inequality a subset of the time periods in T in which ship v is assumed
oivt ≤ oAivt + oBivt . Now periods in which oAivt + oBivt = 1 and to operate at port i. Also define T+
v = {t ∈ Tv : t + 1  ∈ Tv } as
oivt = 0 are waiting periods, so the cost term CvW (oAivt +oBivt − the time periods in T followed immediately by the departure
oivt ) must be added to the objective function. If a ship is forced of ship v from port i and T− v = {t ∈ Tv : t − 1  ∈ Tv } as the
to operate at least once, the constraint qivt ≥ Qoivt can be time periods in T in which ship v starts operating at i.

NETWORKS—2013—DOI 10.1002/net 303


FIG. 5. Example of the FCNF model at loading port i, only ship v is shown.

⎛ ⎞
Summing the flow conservation constraints (24) for load-     
ing port i over all ships v ∈ V and time periods t − 1 ∈ Tv , sik + ⎝ OB
fiv,t+1 + X
fijv,t+1 + qivt ⎠
gives v∈V t∈T+
v j∈N∪{d(v)} t∈Tv t∈T\Tv

  ≥ Pit + S i,−1 . (32)
qivt = OB
(fiv,t+1 − fivt
OB
) t∈T
v∈V t∈Tv v∈V t∈Tv Using the variable upper bound constraints (26)–(30),
   
+ X
fijv,t+1 − OA
fivt . inequalities (32) imply:
v∈V j∈N∪{d(v)} t∈Tv v∈V t∈Tv

   
sik + ⎝ Kv oBiv,t+1 + Kv xijv,t+1
Using v∈V t∈T+
v j∈N∪{d(v)} t∈Tv

  
   OB  + Qv oivt ⎠ ≥ Pit + S i,−1 . (33)
OB
fiv,t+1 − fivt
OB
= fiv,t+1 − OB
fivt
t∈T\Tv t∈T
v∈V t∈Tv v∈V t∈T+
v v∈V t∈T−
v

Inequality (33) can be viewed as a continuous binary knap-


OA OB sack set {(s, y) ∈ R1+ × {0, 1}n : nj=1 aj yj ≤ b + s}, see
and nonnegativity of fivt and fivt gives Pochet and Wolsey [19].
Replacing sik by its upper bound S ik gives knapsack sets.
 Valid inequalities for these knapsack sets are valid for XFCNF .
qivt Thus for arbitrary Q > 0, the following Chvátal–Gomory
v∈V t∈T inequalities are valid for XFCNF :
⎛ ⎞
     ⎛
≤ ⎝ OB
fiv,t+1 + X
fijv,t+1 + qivt ⎠ .  
Kv  
Kv
⎝ oBiv,t+1 + xijv,t+1
v∈V t∈T+
v j∈N∪{d(v)} t∈Tv t∈T\Tv Q Q
v∈V t∈T+ j∈N∪{d(v)} t∈T v
(31) v


Qv Pit + S i,−1 − S ik
oivt ⎠ ≥
t∈T
Summing the inventory constraints (10) over T, and taking + .
Q Q
S it as an under estimator of sit , that is, sit ≥ S it , it follows t∈T\Tv

from (31) that (34)

304 NETWORKS—2013—DOI 10.1002/net


FIG. 6. Mixed integer knapsack relaxation for ship v at loading port i.

In section 5.1, appropriate values for parameter Q are also be generalized by aggregating over any nonempty subset
considered. of loading ports. Similar inequalities to (35) and (36) have
been used for related problems, see Grønhaug et al. [14],
Example 3.1. Inequality (34) is derived for the situation Song and Furman [27], and Savelsbergh and Song [22].
illustrated in Figure 6. A loading port i, a single ship v, and Other inequalities can also be derived for the continuous
a time interval T = [1, 5] are given. Taking Tv = {2, 5}, binary knapsack set. Dividing (33) by Q > 0, one obtains:
implying that the ship can leave the port in time periods 3

or 6, one has by definition T+ −
v = {2, 5} and Tv = {2, 5}.
The ship has capacity Kv = 110 and loading rate Qv = 60. sik  ⎝  Kv B
+ o
Assume Si0 = 90, S i5 = 120, and Pit = 20 for all t ∈ T . Q +
Q iv,t+1
v∈V t∈Tv
Choosing Q = Qv = 60, inequality (34) gives ⎞
  Kv  Qv
2oBiv3 + 2oBiv6 + 2x iv3 + 2x iv6 + oiv1 + oiv3 + oiv4 + xijv,t+1 + oivt ⎠

Q Q
j∈N∪{d(v)} t∈Tv t∈T\Tv
100 + 90 − 120  
≥ =2
60 
≥ Pit + S i,−1 /Q.
where x ivt = j∈N,j=i xijvt . t∈T


Two special cases of inequalities (34) lead to simpler Setting y = v∈V ( t∈T+
KQv oBiv,t+1 + j∈N∪{d(v)}
inequalities. First, taking Tv = T implies T+
v = k and T\Tv =
Kv v
Qv

x +
o ), s = s /Q and b =
∅. Second, taking Tv = ∅ implies T+ v = ∅ and T \ Tv = T. t∈Tv Q ijv,t+1 t∈T\Tv Q ivt ik

With K = max{Kv : v ∈ V } and Q = max{Qv : v ∈ V }, the ( t∈T Pit + S i,−1 )/Q, this becomes a basic-mip set of the
corresponding knapsack inequalities are: form: {(s, y) ∈ R1+ × Z1 : s + y ≥ b} for which the simple
⎛ ⎞ mixed integer rounding inequality is derived:
  
⎝oBiv,k+1 + xijv,t+1 ⎠ s + fy ≥ f
b (37)
v∈V t∈T j∈N∪{d(v)}

t∈T Pit + S i,−1 − S ik where f = b − b . For a given Q > 0 and T, the separa-
≥ , (35) tion problem for the inequalities (34) and (37) can be solved
K
in polynomial time by finding a minimum capacity cut in a
 t∈T Pit + S i,−1 − S ik simple network similar to the one depicted in Figure 6, see
oivt ≥ . (36) Nemhauser and Wolsey [15] for more details.
v∈V t∈T
Q

Note that all variables have binary coefficients in inequalities


3.2. Discharge Ports
(35) and (36). Inequalities (35) impose a minimum number
of ship departures and inequalities (36) impose a minimum The simple mixed integer relaxations used to derive valid
number of loading periods at port i. These inequalities can inequalities for loading ports, see section 3.1, are based

NETWORKS—2013—DOI 10.1002/net 305


FIG. 7. Cut for the FCNF formulation at discharge port i for ship v.

⎛ ⎞
on ship arcs leaving a subgraph. For discharge ports, the   
network structure is a little more complex as ship arcs enter- OA
fivt = ⎝ X
fjiv,t−T + fiv,t−1
W W⎠
− fivt , (39)
jiv
ing a subgraph are used. This means that the subgraph t∈Rv2 t∈Rv2 j∈N∪{o(v)}
includes all three layers of the network, see Figure 7, and   
the corresponding incident arcs. OA
fiv,t−1 + fiv,t−1
OB
− qiv,t−1
Define the time interval T = [, k] ⊆ T as before. To t∈Rv2 ∪Rv1
construct the subgraph for ship v, T is partitioned into three ⎛ ⎞
disjoint sets Rv0 , Rv1 , and Rv2 . For all t ∈ T; if t ∈ Rv0 , node t  
= ⎝fivt
OB
+ X ⎠
fijvt . (40)
from the lowest layer is included in the subgraph and node
t∈Rv2 ∪Rv1 j∈N∪{d(v)}
t + 1 is not included, if t ∈ Rv1 , node t and node t + 1 are
included in the subgraph and node t is not included, and if
t ∈ Rv2 , node t, node t + 1, and node t are included in the Simplifying Equations (39) by canceling out variables
subgraph and node t − 1 is not included. Also define T2v = W
fivt , and Equations (40) by canceling out variables fivt OB
, and
{t ∈ Rv2 : t − 1  ∈ Rv2 } and T1v = {t ∈ Rv1 ∪ Rv2 : t − 1  ∈ W X OB
using the nonnegativity of fivt , fijvt , and fivt , we obtain from
(Rv1 ∪ Rv2 )}. In Figure 7, this gives Rv0 = {1, 2, 5}, Rv1 = {4}, (38),
Rv2 = {3}, and T1v = T2v = {3}.
Summing the inventory balance constraints (9) over T
and using S ik as the lower bound on sik gives the follow- ⎛
ing inequalities written in terms of the partition Rv0 , Rv1 , and     
si,−1 + ⎝ qivt + OA
fivt + X
fjiv,t−T
Rv2 ji
v∈V t∈Rv0 t∈Rv1 t∈Rv2 j∈N∪{o(v)}
⎛ ⎞ ⎞
       
si,−1 + ⎝ qivt + qivt + qivt⎠ ≥ Dit + S ik . + W
fiv,t−1 + OB ⎠
fivt ≥ Dit + S ik . (41)
v∈V t∈Rv0 t∈Rv1 t∈Rv2 t∈T t∈T2v t∈T1v t∈T
(38)

Summing the flow conservation constraints (22) and (24) over Using the variable upper bound constraints (26)–(30),
Rv2 and Rv2 ∪ Rv1 , respectively, gives inequality (41) can be relaxed as follows:

306 NETWORKS—2013—DOI 10.1002/net



   interval T = [1, 5] are given. T is partitioned into Rv2 = {3},
si,−1 + ⎝ Qv oivt + Kv oAivt Rv1 = {4}, and Rv0 = {1, 2, 5}. The ship has capacity Kv = 110
v∈V t∈Rv0 t∈Rv1 and its discharge rate is Qv = 60. Assume Si0 = 40, S i5 = 10,
⎞ and Dit = 20, t ∈ T . Choosing Q = Qv = 60, then gives
   
+ Kv xjiv,t−Tjiv + Kv wiv,t−1 + Kv oBivt⎠
j∈N∪{o(v)} t∈Rv2 t∈T2v t∈T1v
oiv1 + oiv2 + 2oAiv4 + oiv5 + 2x iv3 + 2wiv2 + 2oBiv3


100 − 40 + 10
≥ Dit + S ik . (42) ≥ =2
t∈T
60

Constraints (42) have the same structure as constraints where x ivt = j∈N∪o(v),j=i:u−Tji =t xjivu .
(33) and are thus the defining constraints of continuous binary
knapsack sets. Setting si,−1 to its upper bound (S i,−1 if  > 1
and Si0 if  = 1) gives an integer knapsack constraint. Using 4. LOT-SIZING RELAXATIONS
Chvátal–Gomory rounding, we obtain for arbitrary Q > 0
⎛ In this section, several possible single-item lot-sizing sets,
 
Qv 
Kv see Pochet and Wolsey [19], that arise from relaxations and
⎝ oivt + oAivt decompositions of XFCNF are presented. Single-item lot-
Q Q sizing is concerned with the production of a single product
v∈V 0 t∈Rv 1 t∈Rv
 
Kv for which there is a demand Dt in each time period. To model
+ xjiv,t−Tjiv the problem as a mixed integer program, the production qt in
Q each period, the stock of the product st at the end of the period
j∈N∪{o(v)} t∈Rv2
⎞ and a binary set-up variable taking the value ot = 1 if there

Kv 
Kv is production in the period (qt > 0) are defined. Additional
+ wiv,t−1 + oBivt ⎠ aspects involve upper and lower bounds on the stock, pro-
Q Q
t∈T2v t∈T1v duction capacity implying an upper bound Qt on the amount

− S i,−1 + S ik produced per period and start-up variables oAt = 1 if period
t∈T Dit
≥ . (43) t is the first period of an interval of set-ups (ot = 1 and
Q
ot−1 = 0). The variable ot can also be viewed as an integer
variable, in which case it represents the number of batches of
Three special cases of these inequalities are obtained by set-
maximum size Q that is required to produce qt . As we will
ting Rv2 = T, Rv1 = T, and Rv0 = T, respectively. Choosing
show below, this corresponds very closely to the situation in
K = max{Kv : v ∈ V } and Q = max{Qv : v ∈ V }, one
a discharge port, but it is also explained how to adapt it for
obtains:
loading ports.
⎛ ⎞
  
⎝ xjiv,t−Tjiv + wiv,−1 + oBiv ⎠
v∈V j∈N∪{o(v)} t∈T 4.1. Constant Capacity Lot-Sizing Relaxations

− S i,−1 + S ik The first lot-sizing relaxations that we derive correspond
t∈T Dit
≥ , (44) to one level of the fixed charge network at discharge port i,
K see Figure 8, by taking into account a constant upper bound
 
  − S i,−1 + S ik on the qivt variables. The constraints (7)–(9), (11), (12), (17)
t∈T Dit
oAivt + oBiv ≥ , lead to the relaxation
v∈V t∈T K

(45) si,t−1 + qivt = Dit + sit , ∀t ∈ T , (47)

 − S i,−1 + S ik v∈V
t∈T Dit
oivt ≥ . (46) 0 ≤ qivt ≤ Qv oivt , ∀v ∈ V , t ∈ T , (48)
Q
v∈V t∈T 
oivt ≤ Bit , ∀t ∈ T , (49)
Inequalities (44) establish the minimum number of arrivals
v∈V
at port i, (45) establish the minimum number of times a ship
must start operating, and inequalities (46) impose a mini- S it ≤ sit ≤ S it , ∀t ∈ T , (50)
mum number of operations. Inequalities (44)–(46) can be si0 = Si0 , (51)
generalized for any nonempty subset of discharge ports.
oivt ∈ {0, 1}, ∀v ∈ V , t ∈ T . (52)
Example 3.2. Inequality (43) is derived for the situation
illustrated in Figure 7 based on the entering arcs crossing the For the constant capacity lot-sizing set, the upper bounds on
cut-set shown. A discharge port i, a single ship v, and a time the inventory level variables s are relaxed. The lower bounds

NETWORKS—2013—DOI 10.1002/net 307


lower bounds on the inventory levels S i = (2, 2, 2, 2, 2), ini-
tial inventory Si0 = 6 and the capacity of the largest ship
Q = 5.
Calculating the modified lower bounds on the inventory
levels according to (53) and the demand according to (54)
it = (6, 3, 2, 2, 2, 2) and D̃it = (0, 1, 3, 4, 2). For the
gives S M
FIG. 8. A simple lot-sizing structure at discharge port i.
corresponding WWCC relaxation, a valid inequality is:

s̃i2 ≥ 3(1 − õi3 ) + 1(2 − õi3 − õi4 − õi5 )


on the same variables can then be eliminated. To do so, one
first updates the bounds as follows: Transforming back to the original variables s̃i2 = si2 −
SMi2 , õit = v∈V oivt and collecting the terms one obtains
it = Si if t = 0, and S it = max{S it , S i,t−1 − Dit } if t ∈ T
SM 0 M
the valid inequality for XFCNF :
(53)   
si2 ≥ 7 − 4 oiv3 − oiv4 − oiv5 .
it is the modified lower bound and S i0 = Si . Now,
where S M 0
v∈V v∈V v∈V
a new net inventory level variable s̃it and demand D̃it can be
defined as: For a loading port i, the relaxation is defined by constraints
(7), (8), (10), (11), (12), and (17)
s̃it = 0 if t = 0, and s̃it = sit − S M 
it if t ∈ T , si,t−1 − qivt = −Pit + sit , ∀t ∈ T ,
D̃it = Dit − S M
and i,t−1 + S it . (54)
M v∈V
0 ≤ qivt ≤ Qv oivt , ∀v ∈ V , ∀t ∈ T ,
on the subset (47)–(52) and setting q̃it = v∈V qivt ,
Based 
õit = v∈V oivt , and Q = max{Qv : v ∈ V }, one obtains the oivt ≤ Bit , ∀t ∈ T ,
lot-sizing set with constant capacity (LSCC) for discharge v∈V
port i:
S it ≤ sit ≤ S it , ∀t ∈ T ,
s̃i,t−1 + q̃it = D̃it + s̃it , ∀t ∈ T , (55) si0 = Si0 ,
q̃it ≤ Qõit , ∀t ∈ T , (56) oivt ∈ {0, 1}, ∀v ∈ V , t ∈ T .
q̃it , s̃it ≥ 0, ∀t ∈ T , (57)
To formulate this problem as a lot-sizing problem, new
õit ∈ Z+
1
∀t ∈ T . (58) variables ŝit = S i − sit are introduced that measure the spare
stock capacity available at period t in port i, where S i =
If it is assumed that the berth capacity Bit = 1, then (58) max{Si0 , maxt∈T S it }. This leads to the following equivalent
becomes õit ∈ {0, 1}. Several valid inequalities for LSCC formulation
are known, see Pochet and Wolsey [17]. For discharge port 
i, a relaxation of (55)–(58), known as the Wagner–Whitin ŝi,t−1 + qivt = Pit + ŝit , ∀t ∈ T , (59)
constant capacity lot-sizing set (WWCC), can now be given: v∈V


t 
t 0 ≤ qivt ≤ Qv oivt ∀v ∈ V , t ∈ T , (60)
s̃i,k−1 + Q õiu ≥ D̃iu , ∀k ∈ T , t ∈ T , k ≤ t, 
oivt ≤ Bit , ∀t ∈ T , (61)
u=k u=k
v∈V
s̃it ≥ 0, õit ∈ Z+
1
, ∀t ∈ T .
S i − S it ≥ ŝit ≥ S i − S it , ∀t ∈ T , (62)
A complete polyhedral description of the convex hull of solu- ŝi0 = S i − Si0 , (63)
tions of WWCC is known, as well as a polynomial size
extended formulation, see Pochet and Wolsey [18]. For a oivt ∈ {0, 1}, ∀v ∈ V , t ∈ T . (64)
comprehensive survey on the valid inequalities for LSCC
and WWCC, see Pochet and Wolsey [19]. Valid inequali- This formulation can now be used to derive the same
ties for LSCC and WWCC can be converted back into valid relaxations as for the discharge ports.
inequalities for XFCNF using the linear transformations:
  4.2. Two-Level Lot-Sizing Relaxations
s̃it = sit − S M
it , q̃it = qivt , õit = oivt .
v∈V v∈V The two-level relaxations are derived from two levels of
the fixed charge network, see Figure 9. In multi-level lot-
Example 4.1. Consider an instance based on Figure 8 over sizing problems, it is useful to aggregate the levels which
five time periods T = {1, 5} with demands Di = (3, 2, 3, 4, 2), also makes it natural to consider aggregated stocks, known

308 NETWORKS—2013—DOI 10.1002/net


FIG. 9. A two-level lot-sizing structure at discharge port i.

as echelon stocks. For a discharge port i such as the one Valid inequalities for this relaxation, denoted 2LWWCC, can
depicted in Figure 9, the appropriate echelon stock in period be derived, and then converted into valid inequalities for
t is shown below to be sit + fi,t+1
OB
. XFCNF .
Extending the lot-sizing relaxations defined in section 4.1, To derive similar inequalities for loading port i, new vari-
OA OB X
the two-level lot-sizing set (2LLS) for discharge port i can be ables, f ivt , f ivt , and f ijvt are defined. These variables indicate
defined as the unused capacity of each ship operating at that port, that is,

f˜itOA + f˜itOB = q̃it + f˜i,t+1 + f˜i,t+1


OA
OB X
, ∀t ∈ T , (65) f ivt = Kv oAivt − fivt
OA
,
f˜itOA ≤ K õAit , ∀t ∈ T , (66) OB
f ivt = Kv oBivt − fivt
OB
,
f˜itOA , f˜itOB , f˜itX ≥ 0, ∀t ∈ T , (67) X
f ijvt = Kv xijvt − fijvt
X
.
õAit ∈ Z1+ , ∀t ∈ T , (68) Using these new variables, a two-level lot-sizing set sim-
and (55)–(58) (69) ilar to (65)–(69) for loading ports can be formulated. Thus,
two-level lot-sizing relaxations can be derived at loading
where ports.
   
f˜itOA = OA ˜ OB
fivt , fit = OB ˜ X
fivt , fit = X
fivt , 4.3. Lot-Sizing with Start-Up Relaxations
v∈V v∈V v∈V j∈N∪{d(v)}
  An important extension of the lot-sizing problem is to
q̃it = qivt , õAit = oAivt include start-up costs, that is, a cost associated with the first
v∈V v∈V period of an interval of set-ups, and several lot-sizing relax-
ations of it have been studied in the literature. The first period
and K = max{Kv : v ∈ V }. Constraints (65) are the flow a ship operates in a port can be seen as a start-up and thus these
balance constraints (24) summed over v. relaxations can be used to derive valid inequalities. When
Summing constraints (55) and (65) and introducing the deriving lot-sizing relaxations from the original formulation,
echelon stock variable eit = f˜i,t+1
OB
+ s̃it gives the relaxation: as in section 4.1, it is not possible to handle start-ups as the
variable oivt does not give information on whether ship v
ei,t−1 + f˜itOA = D̃it + eit + f˜i,t+1
X
, ∀t ∈ T , operated at port i at time period t − 1 or not. In the FCNF
problem, oAivt can be interpreted as a start-up variable and can
f˜itOA ≤ K̄ õAit , ∀t ∈ T ,
be used to derive valid inequalities. Necessarily in the binary
eit , f˜itOA ≥ 0, õAit ∈ Z+
1
, ∀t ∈ T . case, the start-up variable oAivt = 1 if oivt = 1 and oiv,t−1 = 0.
This can be expressed by
From this, we again obtain a Wagner–Whitin constant
capacity relaxation: oAivt ≤ oivt , ∀t ∈ T , (70)
oAivt ≥ oivt − oiv,t−1 , ∀t ∈ T , (71)

t 
t
ei,k−1 + K õAiu ≥ D̃iu , ∀k ∈ T , t ∈ T , k ≤ t, oivt , oAivt ∈ {0, 1}, ∀t ∈ T . (72)
u=k u=k
Constraints (70) ensure that ship v starts operating if there
et ≥ 0, õAit ∈ {0, 1}, ∀t ∈ T . is a start-up, whereas constraints (71) force a start-up if the

NETWORKS—2013—DOI 10.1002/net 309


TABLE 1. Summary statistics for the base instances using the two models (with and without preprocessing).

Original formulation FCNF formulation

Inst. (| N |, | V |) Rows Columns Int. Var. Rows Columns Int. Var.

A (3,2) 982 (575) 952 (662) 694 (459) 1682 (1042) 1873 (1320) 875 (552)
B (4,2) 1308 (757) 1128 (795) 838 (569) 2050 (1252) 2235 (1466) 1078 (668)
C (4,2) 1724 (1197) 1756 (1542) 1364 (1200) 3100 (2225) 3574 (2677) 1726 (1243)
D (5,2) 2138 (1445) 2355 (1863) 1882 (1461) 4016 (2928) 4793 (3670) 2320 (1714)
E (5,2) 2138 (1446) 2367 (1878) 1894 (1476) 4028 (2949) 4817 (3699) 2332 (1731)
F (4,3) 2466 (1696) 2548 (2237) 2023 (1775) 4502 (3249) 5249 (3961) 2564 (1847)
G (6,5) 5836 (3150) 5652 (4165) 4692 (3346) 9731 (6350) 11537 (8089) 5678 (3837)

t
ship operates in the current time period and did not operate is valid for DLSCCS, where σit = u=1 õiu − Õit ≥ 0 and
in the previous time period. σi0 = 0.
Several lot-sizing relaxations with start-ups can be derived
by adding (70)–(72) to an existing lot-sizing set. In particular, Example 4.3. Consider the data from Example 4.1. Since
valid inequalities can be derived for the capacitated lot-sizing D̃it = (0, 1, 3, 4, 2) and Q = 5 it follows that δit =
set with start-ups, see Constantino [9], and then used to derive 0). Let [k, ] = [1, 4]. This gives t1 = 2, t2 = 4
(0, 1, 0, 1,
valid inequalities for XFCNF . and p = t=k Õit = 2. A valid inequality derived from (77)
Here, we derive a discrete lot-sizing relaxation with con- is then
stant capacity and start-ups (DLSCCS), for which valid
inequalities have been proposed by van Eijl and van Hoesel
σi0 + (õi1 + õAi2 ) + (õi2 + õAi3 + õAi4 ) ≥ 2
[29].
Constraints (70)–(72) are aggregated by summing over v. ⇒ õi1 + õi2 + õAi2 + õAi3 + õAi4 ≥ 2
This gives
Hence, the following inequality is valid for XFCNF :
õAit ≤ õit , ∀t ∈ T , (73)
    
õAit ≥ õit − õi,t−1 , ∀t ∈ T , (74) oiv1 + oiv2 + oAiv2 + oAiv3 + oAiv4 ≥ 2.
v∈V v∈V v∈V v∈V v∈V
õit , õAit ∈ {0, 1, · · · , Bit }, ∀t ∈ T , (75)

where õAit = v∈V oivt and õit =
A
v∈V oivt . Here, in the 5. COMPUTATIONAL RESULTS
integer case õivt is the increase of õivt from period t − 1 to t.
A

However, if it is assumed that the berth capacity Bit = 1, the This section presents some of the computational experi-
aggregated variables are still binary. ments carried out to test different strategies for the solution
t of instances of the MIRP. The strategies tested include the
D̃iu
Now let Õit =
u=1
Q
, where D̃it is the modified comparison of the two mathematical formulations presented
demand from (54) and Q = max{Qv : v ∈ V } is the largest in section 2, the effectiveness of the inclusion of the valid
ship capacity. Also set δit = Õit − Õi,t−1 . Note that Õit is inequalities discussed in sections 3 and 4, and the use of
a lower bound on the number of operating periods needed branching priorities.
during the first t periods. The set DLSCCS is obtained by First, the original and FCNF formulations with and with-
adding the constraints out the inclusion of valid inequalities are compared. This
initial study leads to the selection of some relevant inequal-

t
õiu ≥ Õit , ∀t ∈ T , (76) ities. Then, taking the two formulations tightened with the
u=1
selected inequalities, different branching priorities are tested.
Thus for each formulation, several different combinations of
to constraints (73)–(75). valid inequalities and branching priorities are tested. Finally,
The following set of inequalities was proved to be valid the scalability of the approaches are tested by changing the
for DLSCCS by Eijl and van Hoesel [29] in the case where discretization of the time periods and the length of the time
δit and Bit are binary, and thus õit and õAit are binary variables. horizon.
The instances used were generated from seven instances
Proposition 4.2. Consider a time interval [k, ] ⊆ T with
based on real data. They come from the short sea shipping
δi = 1. Let t=k δit = p > 0 and let t1 < t2 < · · · < tp = 
segment with long loading and discharge times relative to the
be the periods in [k, ] in which δit = 1. The inequality
sailing times. The number of ports and ships of each instance

p
is given in the second column of Table 1. The time horizon
σi,k−1 + (õi,k+j−1 + õAi,k+j + · · · + õAitj ) ≥ p (77) is 30 days. Traveling, operating, and waiting costs are time
j=1 invariant.

310 NETWORKS—2013—DOI 10.1002/net



TABLE 2. Lower bounds based on the original formulation. Q ∈ v∈V {Qv } in the last one. These inequalities will
henceforth be denoted K.
Gap closed (%)
Mixed integer rounding inequalities: These inequalities

Inst. Opt. L X K W K, W are stated in (37) and are generated for all Q ∈ v∈V {Qv }.
They are added dynamically as cuts (valid inequalities that
A 137.4 22.3 80.1 100.0 24.2 100.0
cut off the current factional solution), and will henceforth
B 370.6 32.0 21.8 78.6 48.4 91.4
C 413.5 44.7 16.0 79.6 51.0 89.2 be denoted M.
D 357.9 53.6 43.4 75.5 46.3 85.1
Wagner–Whitin constant capacity lot-sizing reform- ula-
E 355.5 52.3 25.8 74.5 43.9 85.4
F 504.9 105.2 11.3 81.3 23.5 79.2 tions: For the subsets of the form WWCC derived in
G 747.9 213.6 19.1 92.0 43.0 71.6 subsections 4.1 and 4.2. both the uncapacitated and con-
stant capacity reformulations used as described in Pochet
and Wolsey [22]. These reformulations are denoted W .
All tests were run on a computer with processor Intel Core Inequalities for lot-sizing with start-up relaxations: These
2 Duo, CPU 2.2 GHz, with 4GB of RAM using the optimiza- inequalities are stated in (77) and will henceforth be
tion software Xpress Optimizer Version 21.01.00 with Xpress denoted D. These inequalities consider every subset [k, ]
Mosel Version 3.2.0. Unless stated otherwise, all inequalities of T . These inequalities are also described in detail in [22].
used to tighten the formulations were added a priori to the
MIP model which was then fed to the MIP solver. Table 2 gives some characteristics of each instance and
In the last six columns of Table 1, we provide summary provides information on the lower bounds obtained with the
information for the two formulations considered. Columns original formulation. The first column specifies the instance,
“Rows” and “Columns” indicate the total number of con- the second column contains the optimal value, and the third
straints and variables, respectively. The column “Int. Var.” column gives the linear relaxation bound, denoted L, of the
indicates the number of integer variables. In parentheses, original formulation. The last four columns present the per-
we provide the corresponding values after the preprocessing centage of the gap closed with the inclusion of additional
phase. valid inequalities. X gives the gap reduced in the root node
after the inclusion of cuts from Xpress. K means that the valid
inequalities K are added to the formulation, K, W means that
5.1. Formulations, Valid Inequalities and Reformulations valid inequalities K and W are added.
Table 3 shows the results obtained with some of the more
The original formulation consists of (1)–(17), while the
interesting and/or effective combinations of valid inequalities
FCNF formulation is defined by (1)–(3), (7)–(12), (16), (17),
and reformulations for the FCNF formulation. Again, column
and (18)–(30).
L gives the linear relaxation bound of the FCNF formulation.
The following valid inequalities and reformulations have
The last eight columns give the gap reduced with the inclusion
been tested: of inequalities. To ease the presentation,  is introduced to
denote the inclusion of all valid inequalities, that is,  =
Knapsack inequalities: These inequalities refer to (34) for K, M, W , D and  −  denotes the inclusion of all valid
the loading ports and (43) for discharge ports. In both inequalities except , where  ∈ {K, M, W , D}.
cases, T includes either the first period or the last period, As expected, the FCNF formulation provides better
that is, T = 1, . . . , t or T = t, . . . , | T |, t ∈ T . Inequalities
 bounds. When each type of inequality is considered indi-
(34) are generated for case Tv = T,for all Q ∈ v∈V {Kv }, vidually, the best bands were obtained with the inclusion of
and for case Tv = ∅, for all Q ∈ v∈V {Qv }. Inequalities K inequalities and M cuts. K and M are considered together
for the cases Rv = T, Rv = T, and
(43) are generated 2 1
as K can be generated from M. On the other hand, dropping
Rv = T for Q ∈ v∈V {Kv } in the first two cases and for
0 reformulations W or dropping inequalities D leads to a slight

TABLE 3. Lower bounds based on the FCNF formulation.

Gap closed (%)

Inst. Opt. L X W D K, M  − K, M −W −D 

A 137.4 69.6 53.0 100 100 100 100 100 100 100
B 370.6 263.4 72.2 44.5 16.3 42.4 45.9 43.2 44.6 46.0
C 413.5 235.9 54.5 56.6 10.6 64.0 56.5 64.0 64.3 64.3
D 357.9 204.1 52.6 52.9 10.9 58.8 53.4 61.8 61.3 62.1
E 355.5 206.2 54.8 52.2 9.2 56.0 52.8 57.6 58.5 59.0
F 504.9 350.3 64.3 58.8 7.1 60.5 59.0 58.0 58.0 58.7
G 747.9 618.2 80.0 66.0 16.7 79.3 66.1 79.6 79.7 80.1

NETWORKS—2013—DOI 10.1002/net 311


TABLE 4. Average integrality gaps for both formulations. TABLE 6. Branching priorities for branch-and-bound with the FCNF
formulation.
Original formulation FCNF formulation
(–,–) (K,–) (K + D,–) (K, SoA ) (K + D, SoA )
L X  , X L X  , X
Inst. T N T N T N T N T N
83.6 57.5 14.4 10.1 36.3 8.8 11.4 6.4
A 7 221 0.5 1 0.5 1 0.5 1 0.5 1
B 6 425 5 33 5 33 4 23 4 11
C ∗ ∗ 145 7520 147 8342 28 745 19 197
worsening of the bound. This suggests that a good formula- D 94 3789 12 3 9 3 11 7 10 7
tion should be based on some inequalities K and M. However, E 136 5810 26 99 21 33 11 23 16 17
F ∗ ∗ 635 11825 317 6386 71 711 53 307
extended testing (not reported in Table 3) showed that it is G ∗ ∗ 152 297 111 119 188 393 54 35
necessary to add many M cuts to get significant improvements
on the lower bounds. That experience also showed that most
of the gap closed by K and M can be closed by K. So to
achieve a similar bound, many more M cuts would have to Based on the results in Tables 2 and 3 and related runs, it
be added compared to K inequalities. was decided to use the following strategies for further tests:
Table 4 gives the average integrality gap over the seven
Sx - set highest priority to variables Sxiv = t∈T j∈N∪{o(v)} xjivt
instances, where gap = Opt−LB
Opt × 100 and LB is the value of that represent the number of times ship v visits port i;
the lower bound provided by the corresponding relaxation. SoA - set highest priority to variables SoAiv = A
t∈T oivt that
The X indicates the use of Xpress cuts. When X is present, represent the number of start-ups of ship v at port i.
the gap reported is the gap at the root node after the inclusion
of cuts from Xpress. For example, , X under FCNF formu-
For the original formulation, only strategy Sx can be
lation means that the gap is measured at the root node when
used. We tested the use of this strategy combined with the
the FCNF formulation is used with the addition of all valid
inclusion of inequalities K. For the FCNF formulation, both
inequalities (or reformulations) and Xpress cuts are added.
strategies have been tested. These strategies were combined
The valid inequalities added to the original formulation are
with the inclusion of inequalities K and D. The choice of
much stronger than the general cuts added by Xpress, whereas
D inequalities was motivated by the possibility of combin-
the general cuts by Xpress gives a stronger FCNF formu-
ing valid inequalities involving the start-up variables oA with
lation. Combining valid inequalities and cuts from Xpress
further reduces the gap of both formulations. the branching strategy based on the same set of variables.
Inequalities K are included a priori in the formulation while
inequalities D are added to the cut pool. As slightly better
5.2. Branching Strategies results were obtained with SoA for the harder instances, only
results for SoA are provided. Tables 5 and 6 show the results
It is well known that branching decisions within a branch- for the original and FCNF formulations, respectively.
and-bound algorithm may have great influence on the perfor- Each pair (V , B) in the header row of the tables indicates
mance of the algorithm. Usually solvers such as Xpress Opti- the combination of valid inequalities (V ) and branching pri-
mizer, allow the user to define his own branching scheme. One ority (B) used. The symbol – means that no inequality or
possible branching strategy is to establish different branching branching priority is added. For each such pair, the time T
priorities on variables. Here, we followed this approach by in seconds and the number of branch-and-bound nodes N is
considering new variables (resulting from aggregation of the given. A ∗ means that the optimal solution could not be found
original variables) providing information related to the total within a 3-h limit.
number of visits each ship makes to each port.
Tables 5 and 6 show that the use of branching priorities is
essential to solve the instances tested. An efficient approach
is the use of the FCNF formulation with the combination
TABLE 5. Branching priorities for branch-and-bound with the original
formulation. of inequalities K and D with a branching priority on the oA
variables.
(–,–) (K,–) (K, Sx) To further test this strategy, more computational exper-
iments were conducted. Five new instances for each base
Inst. T N T N T N instance were created by randomly generating the initial
inventory, using a uniform distribution on [S i1 , S i1 ] in each
A 1.3 53 0.2 1 0.2 1
B 11 4349 6 1320 3 323 port i ∈ N. We choose the first five feasible instances gen-
C 1700 550676 310 57590 105 17734 erated. The average solution times and average number of
D 117 21195 5 35 5 17 nodes over the five instances for each base instance are given
E 268 55715 10 253 4 59 in Table 7. The random instances based on initial instance G
F ∗ ∗ ∗ ∗ 1754 156262
turned out to be much harder than G. Only three of them were
G ∗ ∗ ∗ ∗ 3236 24278
solved within the limit of 3 h, and the final gaps of the two

312 NETWORKS—2013—DOI 10.1002/net


TABLE 7. Branching priorities and D inequalities for random instances. TABLE 9. Results for the 30, 45, and 60 days using the FCNF formulation.

Original formulation FCNF formulation


30 days 45 days 60 days
(K,–) (K, Sx) (K + D,–) (K + D, SoA )
Inst. T N T N T N
Inst. T N T N T N T N
A 1 1 1 3 80 28
A 0.5 6.6 0.4 26.2 0.7 3.4 0.9 4.2 B 13 3 1 5 20285 1159
B 5.1 1150.8 3.5 390.4 4.4 197.8 2.5 24.6 C 17 6 53 31 7084 1907
C 37.5 5031.8 9.4 857.6 27 971.6 8 31.2 D 1 5 69 52 29356 10853
D 80.9 6757.4 17.4 853.8 56.3 1188.6 18.1 93 E 3 10 1257 233 6999 4098
E 35 4129 11.5 591.2 80.4 2215.2 29.5 296 F 17 14 3537 1420 315 1051
F ∗∗ ∗∗ 1650.2 113, 951.2 1066.5 17, 285.8 182.1 1907 G 725 249 ∗ ∗ ∗ ∗

other instances were 12.3 and 9.3%. Thus, these instances rates Dit and production rates Pit for the instances. The results
are not presented in the table. The ∗∗ in column (K,–) indi- using the FCNF formulation with inequalities K added a pri-
cates that some of the corresponding five instances were not ori and inequalities D added to the cut pool, and the branching
solved within 3 h (three instances were solved to optimality priority SoA are given in Table 9. A ∗ means that the optimal
and the two other instances were stopped with gaps of 13.3% solution could not be found within a 3 h limit. For the case of
and 15.8%). instance G with 45 days, the integrality gap after 3 h is about
Using the FCNF formulation with inequalities K and D 25%, and for 60 days no feasible solution was found within
(using oA variables), and using branching priority SoA per- the running time limit.
forms well on most instances. The good performance of this
approach based on the “start-ups” is also reinforced with the
results given in section 5.3. 6. CONCLUDING REMARKS
A MIRP with varying production and consumption rates
5.3. Scalability Study is studied in this article. Two discrete time formulations are
Seven larger instances were constructed to test the time introduced, an original formulation and a FCNF formula-
discretization. Each day is split into two periods, doubling tion with side constraints that models the ships’ sequence
the number of periods. The demand/production of the first of actions as a walk on a given network. These formulations
new period is set to zero and the demand of the second is set are strengthened using valid inequalities from (mixed) integer
to the demand/production of the day. The same settings as in sets that arise as relaxations of these two formulations. In par-
Table 7 have been used. Table 8 gives the results for these ticular, several lot-sizing relaxations are derived for the FCNF
instances. Again, it can be seen that the use of branching formulation. It has been observed in studying lot-sizing prob-
priorities is essential, and the best results are obtained when lems that valid inequalities linking stocks and binary set-up
inequalities K and D are added. The FCNF formulation with variables indicating whether a period is a production period
the addition of inequalities K and D, and with the use of the can often be strengthened by using additional binary variables
branching priority SoA is particularly successful for large test indicating a start-up period at the beginning of one or more
instances. production periods. Taking production periods to correspond
Finally, different time horizons were tested. To extend the to loading/discharge periods and ship arrivals to correspond
time horizon, it was necessary to change the port consumption to the start-up variables means that such strengthening is also
possible here. In addition, a branching strategy based on these
start-up variables turns out to be better than a similar strategy
TABLE 8. Results for the two periods per day case.
based on the set-up variables.
Original formulation FCNF formulation The computational study shows that the FCNF formula-
tion provides far better bounds than the original formulation.
(K,–) (K, Sx) (K + D,–) (K + D, SoA ) Combining valid inequalities and cuts from Xpress further
reduces the integrality gaps of both formulations. The FCNF
Inst. Opt. T N T N T N T N formulation tightened with valid inequalities and combined
with the use of a branching strategy based on the start-up vari-
A 132.7 1 1 1.6 1 3.2 1 3.2 1
B 367 573 11458 23 1633 270 12293 50 1049 ables is particularly successful for solving large test instances
C 407 ∗ ∗ ∗ ∗ ∗ ∗ 1874 36891 to optimality.
D 352.3 545 11970 25 109 504 2162 83 35 As future research, it would be interesting to investigate
E 350.2 612 17884 97 2063 658 2613 159 85 heuristics that could provide feasible solutions quickly, as
F 502.5 ∗ ∗ ∗ ∗ ∗ ∗ 2571 7410
there are instances with few feasible solutions for which
G 747.9 ∗ ∗ ∗ ∗ ∗ ∗ 8473 3006
it is hard to get good upper bounds early in the search.

NETWORKS—2013—DOI 10.1002/net 313


Combining such heuristics with a branch-and-cut approach [13] R. Grønhaug and M. Christiansen, “Supply chain optimiza-
might be fruitful. Another direction is to investigate other tion for a liquefied natural gas business,” Innovations in
valid inequalities for different lot-sizing models as well as distribution logistics, Lecture notes in economics and math-
valid inequalities for the ship routing aspect of the problem. ematical systems, L. Bertazzi, J.A.E.E. van Nunen, and
Investigation of the possibility of using the valid inequal- M. Speranza (Editors), Springer, Berlin Heidelberg, 2009,
pp. 195–218.
ities presented here together with column generation in a
branch-price-and-cut framework is another interesting path [14] R. Grønhaug, M. Christiansen, G. Desaulniers, and J.
Desrosiers, A branch-and-price method for a liquefied nat-
for further research.
ural gas inventory routing problem, Transp Sci 44 (2010),
400–415.
[15] G. Nemhauser and L.A. Wolsey, Integer and combinatorial
REFERENCES optimization, Wiley, New York, 1988.
[1] A. Agra, M. Christiansen, and A. Delgado, Strong mixed inte- [16] J.A. Persson and M. Göthe-Lundgren, Shipment planning at
ger formulations for a short sea fuel oil distribution problem, oil refineries using column generation and valid inequalities,
Transp Sci 47 (2013), 108–124. Eur J Oper Res 163 (2005), 631–652.
[2] F. Al-Khayyal and S.J. Hwang, Inventory constrained mar- [17] Y. Pochet and L.A. Wolsey, Lot-sizing with constant batches:
itime routing and scheduling for multi-commodity liquid Formulations and valid inequalities, Math Oper Res 18
bulk, Part I: Applications and model, Eur J Oper Res 176 (1993), 767–785.
(2007), 106–130. [18] Y. Pochet and L.A. Wolsey, Polyhedra for lot-sizing with
[3] H. Andersson, A. Hoff, M. Christiansen, G. Hasle, and A. Wagner-Whitin costs, Math Program 67 (1994), 297–324.
Løkketangen, Industrial aspects and literature survey: Com- [19] Y. Pochet and L.A. Wolsey, Production planning by mixed
bined inventory management and routing, Comput Oper Res integer programming, Springer, New York, 2006.
37 (2010), 1515–1536. [20] J.G. Rakke, M. Stålhane, C.R. Moe, H. Andersson, M. Chris-
[4] M. Christiansen, Decomposition of a combined inventory and tiansen, K. Fagerholt, and I. Norstad, A rolling horizon
time constrained ship routing problem, Transp Sci 33 (1999), heuristic for creating a liquefied natural gas annual delivery
3–16. program, Transp Res C 19 (2011), 896–911.
[5] M. Christiansen and K. Fagerholt, “Maritime inventory rout- [21] D. Ronen, Marine inventory routing: Shipments planning, J
ing problems,” Encyclopedia of optimization, second edition, Oper Res Soc 53 (2002), 108–114.
C.A. Floudas and P.M. Pardalos (Editors), Springer, New [22] M.W.P. Savelsbergh and J.-H. Song, An optimization algo-
York, 2009. rithm for the inventory routing problem with continuous
[6] M. Christiansen, K. Fagerholt, T. Flatberg, Ø. Haugen, O. moves, Comput Oper Res 35 (2008), 2266–2282.
Kloster, and E.H. Lund, Maritime inventory routing with [23] H. Sherali, S. Al-Yakoob, and M. Hassan, Fleet manage-
multiple products: A case study from the cement industry, ment models and algorithms for an oil-tanker routing and
Eur J Oper Res 208 (2011), 86–94. scheduling problem, IIE Trans 31 (1999), 395–406.
[7] M. Christiansen, K. Fagerholt, and D. Ronen, Ship rout- [24] H. Sherali and S. Al-Yakoob, “Determining an Optimal Fleet
ing and scheduling: Status and perspectives, Transp Sci 38 Mix and Schedules: Part I–Single Source and Destination,”
(2004), 1–18. Integer programming: Theory and practice, J. Karloff (Edi-
[8] M. Christiansen, K. Fagerholt, B. Nygreen, and D. Ronen, tor), CRC Press Taylor & Francis Group, Florida, 2005,
“Maritime transportation,” Handbook in operations research pp. 137–166.
and management science, transportation, C. Barnhart and G. [25] H. Sherali and S. Al-Yakoob, “Determining an Optimal Fleet
Laporte (Editors), Vol. 14, North-Holland, Amsterdam, 2007, Mix and Schedules: Part II–Multiple Sources and Destina-
pp. 189–284. tions, and the Option of Leasing Transshipment Depots,”
[9] M. Constantino, A cutting plane approach to capacitated lot- Integer programming: Theory and practice, J. Karloff (Edi-
sizing with start-up costs, Math Program 75 (1998), 353– tor), CRC Press Taylor & Francis Group, Florida, 2005,
376. pp. 167–193.
[10] F.G. Engineer, K.C. Furman, G.L. Nemhauser, M.W.P. [26] N. Siswanto, D. Essam, and R. Sarker, Solving the ship
Savelsbergh, and J.-H. Song, A branch-price-and-cut algo- inventory routing and scheduling problem with undedicated
rithm for single-product maritime inventory routing, Oper compartments, Comput Ind Eng 61 (2011), 289–299.
Res 60 (2012), 106–122. [27] J.-H. Song and K.C. Furman, A maritime inventory routing
[11] T. Flatberg, H. Haavardtun, O. Kloster, and A. Løkketan- problem: Practical approach, Comput Oper Res 40 (2013),
gen, Combining exact and heuristic methods for solving a 657–665.
vessel routing problem with inventory constraints and time [28] UNCTAD, Review of maritime transport, 2008, United
windows, Ricerca Operativa 29 (2000), 55–68. Nations, New York and Geneva, 2008.
[12] K.C. Furman, J.-H. Song, G.R. Kocis, M.K. McDonald, [29] C.A. van Eijl and C.P.M. van Hoesel, On the discrete lot-
and P.H. Warrick, Feedstock routing in the ExxonMobil sizing and scheduling problem with Wagner-Whitin costs,
downstream sector, Interfaces 41 (2011), 149–163. Oper Res Lett 20 (1997), 7–13.

314 NETWORKS—2013—DOI 10.1002/net

You might also like