explored. We propose a new primal heuristic for the
LOP that can be used to provide the bound for the
branch-and-bound algorithm as well as define a new
node selection strategy.
Numerous techniques have been developed to ob-
tain really good near optimal solutions to such prob-
lems. The Local Search Algorithm for the Traveling
Salesman Problem (Lin, 1965), for example, starts
with some initial feasible solution and then iteratively
improves the solution by searching solutions in its
neighbourhood. The quality of solutions obtained us-
ing such local search methods depends on the size
of the neighbourhoods, hence techniques to investi-
gate richer neighbourhoods have been developed. For
a detailed survey of such techniques, the reader is
referred to (Ahuja et al., 2002). Population based
methods such as the Genetic Algorithm (GA), Scatter
Search (SS), etc. are well established meta-heuristics
which search for a good solution by evolving a set of
solutions. These methods have been successfully ap-
plied to the Linear Ordering Problem and other simi-
lar problems. For a detailed treatment of these meth-
ods, please refer (Mart
´
ı and Reinelt, 2011). Memetic
Algorithm (MA) which combines the Genetic Algo-
rithm and local search procedure has also been devel-
oped for the Linear Ordering Problem (Schiavinotto
and St
¨
utzle, 2004). Such methods are capable of find-
ing really good solutions, however, the methods do
not guarantee the quality of the solution. They also
often take a long time to converge making them im-
practical to be used as primal heuristics as a part of
the branch-and-bound.
Hybrid methods which combine local search and
exact methods using ILP techniques have also been
proposed (Dumitrescu and St
¨
utzle, 2003). In such
methods, an instance of the problem is solved by lo-
cal search methods, while the subproblems are solved
optimally, both to explore the neighbourhood of a fea-
sible solution, as well as to obtain good bounds on the
optimal solution. A Mixed Integer Program heuris-
tic has been developed for the Linear Ordering Prob-
lem (Iranmanesh and Krishnamurti, 2016). This MIP
heuristic generates a starting feasible solution based
on the Linear Programming solution to the Integer
Program formulation for the LOP. For each starting
solution, a neighborhood is defined, again based on
the LP solution to the problem. A MIP solver is then
used to obtain the optimal solution among all the so-
lutions in the neighborhood. As compared to the MIP
heuristic, our heuristic relies on partitioning the set
of vertices S into an ordered pair of subsets {S
1
, S
2
}
such that the difference between the weights of all
arcs from S
1
to S
2
and the weights of all arcs from S
2
to S
1
is maximized. The set of vertices are recursively
partitioned until for each of the resulting subsets we
can quickly solve the linear ordering problem on the
subset using a MIP solver. The integer feasible solu-
tion to the original LOP instance is then constructed
by concatenating the solutions to the linear ordering
problems on the subset of vertices. In comparison
with MIP heuristic, our heuristic is fast and generates
good solutions close to the optimal and hence can be
used as a primal heuristic in branch-and-bound.
2 PROBLEM FORMULATION
A linear ordering problem on graph G = (V, A) with
arc weights c
i j
∀ (i, j) ∈ A, can be formulated as a
0/1 integer programming problem. We define a binary
decision variable x
i j
for each arc (i, j) ∈ A such that:
x
i j
=
(
1, if i ≺ j, vertex i precedes vertex j
0, otherwise
The canonical Integer Linear Programming for-
mulation for the LOP (Mart
´
ı and Reinelt, 2011) can
be given as follows:
Maximize
∑
(i, j)∈A
c
i j
x
i j
(1)
s.t.
x
i j
+ x
ji
= 1 (2)
∀ i, j ∈ V : i < j
x
i j
+ x
jk
+ x
ki
6 2 (3)
∀ i, j, k ∈ V : i < j, i < k , j 6= k
x
i j
∈ {0, 1} (4)
∀ i, j ∈ V : i 6= j
The objective function (1) maximizes the total
weight of all arcs (i, j) such that i ≺ j. Constraint (2)
ensures that either i ≺ j or j ≺ i, but not both. Con-
straint (3) prohibits a directed cycle where i ≺ j, j ≺ k,
and k ≺ i. Constraint (4) constrains the variables x
i j
to take values in the set {0, 1}.
3 METHOD
We design the primal heuristic for the linear ordering
problem based on the concept of strongly connected
components in graph theory. A directed graph is said
to be strongly connected if every vertex in the graph
can be reached from every other vertex. The strongly
connected components of an arbitrary directed graph
form a partition into subgraphs that are themselves
ICORES 2019 - 8th International Conference on Operations Research and Enterprise Systems
152