Method¶
The formulation and the cuts follow Jepsen et al. (2014); the model is on the front page. The algorithms show each method’s core and leave out guards, tolerances, caps and bookkeeping, which are in the source.
Feature |
Option |
Default |
Values |
|---|---|---|---|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
|
|
|
|
bool |
|
|
|
|
|
|
|
bool |
|
|
|
bool |
|
|
|
bool |
|
|
|
|
|
|
|
|
|
|
|
bool |
|
|
|
|
Notation, for one capacity row:
\(V'\): the customers (\(V\) without the depot 0, and without the target \(t\) of an s–t path); \(d(S) = \sum_{i \in S} d_i\).
\(o(e)\): the end of \(e \in \delta(S)\) outside \(S\).
\(Q' = Q - d_0\,(-\,d_t)\): the capacity left after the terminals, which GLM-type cuts weigh 0.
\(\varepsilon\):
separation_tol(0.1).\(UB\): before the tree, the least of
cutoffand the warm start’s objective; in it, HiGHS’s upper limit. Every test “\(> UB\)” below is \(> UB + 10^{-6}\).
Separation round¶
\(k\): separation_interval (1); \(N_f\): max_cuts_<family> (all); \(N\): max_cuts_per_round (10; 0: all).
Subtour elimination¶
Added as written or, when sparser and \(t \notin S\), as
\(x(E(S)) \le y(S \setminus \{i\})\) by the degree equations. Sub-MIPs separate
SEC only, at their root, with heu_highs_submip_sec (true).
Rounded capacity¶
Multistar GLM¶
The sides of \(i\), each without \(t\): the \(i\)-side of the depot–\(i\) minimum cut in \(T\).
With
multistar_largest_side(off), also the largest \(i\)-side, connected to \(i\), of any depot–\(i\) minimum cut.
Rounded GLM¶
with \(\alpha = d(S) + 2\, d(V' \setminus S)\), \(k = \lceil \alpha / Q' \rceil\) and \(r = \alpha \bmod Q'\).
Comb¶
A handle \(H\) and \(q\) teeth, each a single edge with one end in \(H\).
Separated by the extended Padberg–Hong odd-component heuristic of Kobeaga, Merino and Lozano (2024).
On an s–t path, \(s\) and \(t\) merge into one node: the edge \(\{s, t\}\) drops out, and \(\{s, v\}\) and \(\{v, t\}\) become one edge with \(x_{sv} + x_{vt}\).
Levels: the nodes on an edge of \(G\) with \(y_v > \varepsilon\), by \(y\) descending; a new level starts where \(y\) drops by \(> 10^{-7}\).
A component takes its nodes whatever their \(y\); \(D(H)\): the edges of \(G\) in \(\delta(H)\) with \(x_e \ge \lambda\), the teeth.
Shortest-path inequalities¶
over the orders \(\pi\) of \(S\), with \(\ell\) the all-pairs labeling bounds; \(p(S)\) (\(+p_0\) for a tour) returns the profits two joined segments both collect.
\(N_{seed}\): spi_max_seeds (50); \(N_{grow}\): spi_max_grow_candidates (40); \(N_{DP}\): spi_max_dp_size (15).
LB is exact Held–Karp dynamic programming, \(O(2^{|S|} |S|^2)\).
SPI need
all_pairs_bounds true.A variant of García’s (2009) node-incompatibility inequalities, rooted in the shortest-path bounds of Aneja et al. (1983); the Held–Karp bound is cptp’s own.
Cross-row lifted cover¶
for a lifted cover inequality \(\alpha^\top u \le |C| - 1\) over binary node indicators \(u\): it holds for every set of nodes other than 0 that fits all bounded rows together (not for each row alone). The LP point picks the cover and the lifting order through \(z_i = y_i\) in \(S\) and \(z_j = x(\delta(S) \cap \delta(j))\) outside.
Candidate sets, each without 0 and \(t\): the minimum-cut and largest sides of each \(i \notin \{0, t\}\) with \(y_i > \varepsilon\), and \(V'\).
Cover: the nodes of \(K\) with \(d^k_i > 0\) by \((1 - z_i)/d^k_i\) ascending until \(d^k(C) > Q_k\), made minimal dropping the lowest \(z\) first (Crowder, Johnson and Padberg).
Row \(k'\)’s coefficient for \(j\): \(|C| - 1\) minus the largest \(\alpha\)-value of a subset of \(C\) and the nodes lifted before \(j\) that fits in \(Q_{k'} - d^{k'}_j\), an exact knapsack DP.
Labeling bounds¶
Walks may repeat nodes;
labeling_2cycleforbids \(u \to v \to u\) (not in thevectorlabeling).\(b\) is the same from \(t\).
If row 1’s run passes
labeling_max_queue_pops(10⁶) or the time limit, or finds a negative-cost cycle of zero demand, there is no bound and everything that needs one is off; a later row whose run fails is left out.all_pairs_boundsruns it from every node, giving \(\ell(u, v)\); if any run fails, there is no \(\ell\).
Elimination¶
Edge elimination: edge_elimination (true); node elimination: edge_elimination_nodes (true).
With
labeling_join load, \(lb_e\) is raised to the join of the labels at \(u\) and \(v\) whose loads together fit \(Q\) (\(+\,d_0\) for a tour).\(\mathrm{dist}_k(s, v)\) is the least row-\(k\) demand of a path from \(s\) to \(v\), not counting \(d^k_s\) (Dijkstra); \(t = s\) on a tour; that reachability test is always on.
The best seed’s UB only prunes the warm start’s own local-search graph.
Sweep and chain fixing¶
For a fixed edge \(e = \{a, i\}\) and an open edge \(g\), a lower bound on every route through both: with all-pairs bounds
over \(uv\) and \(u'v'\) the edges \(e\) and \(g\) in either order, each either way round; without them, for \(g = \{i, j\}\) (and alike at \(a\))
except \(-\infty\) on a tour where \(e\) and \(g\) meet at the depot.
Sweep and chain fixing: bounds_propagation (true). On a tour \(s = t = 0\).
Reduced-cost fixing¶
for every route \(x\) of the node’s subtree, with \(\bar c\) the node LP’s reduced costs as HiGHS passes them; each fixing applies a lower bound on \(\bar c^\top x\) to this test.
Fixing to 1: rc_fixing_to_one (false).
\(\bar{lb}_e\): \(lb_e\) from \(\bar f, \bar b\), without the load join; \(L_i\): the same labeling’s bound on a whole route, rerun with \(i\)’s profit set to \(-10^{30}\).
adaptive: fires on each UB improvement; counting from its second run, stops for good after two runs in a row that fix under 5 edges to 0 and customers to 1 together.root_only: on the first UB;on_ub_improvement: on every one;periodic: everyrc_fixing_interval(100) calls.A hyperplane column’s reduced cost is folded into the \(y_i\) it sums.
Warm-start heuristic¶
\(k\): preproc_fast_restarts (12); \(I\): heu_ws_ls_max_iter (1000).
LP-guided heuristic¶
\(N\): heu_lpg_node_interval (200); strategy: heu_lpg_strategy (0: all); \(R\): heu_lpg_deterministic_restarts (32); \(B\): heu_lpg_budget_ms (0: no limit, deterministic).
LP threshold: in edge order, edges with \(\bar x_e > \theta_e\) or both ends active (\(s\), \(t\), \(\bar y > \theta_n\), or an end of an edge taken before).
RINS: the incumbent’s edges and edges with \(\bar x_e > \theta_{lp}\); before an incumbent, LP threshold with \(\theta_e = 0.1\), \(\theta_n = 0.5\).
Neighbourhood: edges with \(\bar x_e > \theta_s\) and all edges among their ends, \(s\) and \(t\).
\(\theta_e\): heu_lpg_edge_threshold (0.1); \(\theta_n\): heu_lpg_node_threshold (0.5); \(\theta_{lp}\): heu_lpg_lp_threshold (0.1); \(\theta_s\): heu_lpg_seed_threshold (0.3).
Hyperplane branching¶
Every family ranges over the nodes other than \(s\) (\(t\) included).
pairs: each node \(i\) with its nearest neighbour \(j\), \(a = e_i + e_j\), unless \(i\) or \(j\) is already paired.clusters: groups of up to 4 nearest nodes seeded by descending demand, \(a_i = d_i\) in the group.demand: \(a_i = d_i\).cardinality: \(a_i = 1\).all: every family.Duplicates and one-term hyperplanes get no column.
Several capacity rows¶
Rows are numbered \(k = 1, \dots, m\) as in the model; the code, its log and
--help call row 1 “row 0”. A row is bounded when \(Q_k < 10^{17}\).
Component |
Rows (default, then the options) |
|---|---|
Heuristics’ feasibility |
every row |
Formulation, reachability test, cross-row lifted cover |
every bounded row |
Rounded capacity, multistar, rounded GLM |
every bounded row with \(Q_k > 0\); |
Labeling: elimination, propagation, RC fixing, SPI |
row 1; |
Join of labeling halves, LP-guided tie-break, cluster seeds |
row 1 |
Demand and cluster hyperplanes |
row 1 and each bounded row with \(Q_k > 0\), each only when its demands off \(s\) are integer |
Subtour elimination, comb |
none |