|
Alternative TSP construction heuristics.
|
|
Levels of TSP lower bounding.
|
|
Solve a travelling salesman instance.
|
|
Run the TSP solver with default parameters.
|
|
Refine a given tour by a 2 arc exchange step.
|
|
Complete evaluation of a travelling salesman instance.
For the candidate graph evaluation, the following edges are selected:
|
|
|
|
Reimplemented from abstractGraph. |
|
|
|
Compute a tour from a random Hamiltonian cycle.
If the graph is neither a complete undirected graph nor a complete digraph, the construction heuristic is applied to the metric closure, and the tour is mapped back to the original graph. This might fail, however. |
|
Reimplemented in denseGraph. |
|
Compute a tour by the Christofides Heuristic.
The procedure is intended for metric undirected graphs, and then is 1/2-approximative, that is, the constructed tour is 3/2 times as long as an optimal tour in the worst case. The procedure works for all other kinds of complete graphs, but does not produce good tours in the general setting. If no root node is specified, the procedure is repeated for all possible root nodes. If CT.methLocal==LOCAL_OPTIMIZE, TSP_LocalSearch() is called for postprocessing. |
|
Compute a tour by farthest insertion.
The procedure does not strictly require a complete graph. But at every stage, at least one node feasible for insertion must exist. And this is in particular false for bigraphs. If no root node is specified, the procedure is repeated for all possible root nodes. If CT.methLocal==LOCAL_OPTIMIZE, TSP_LocalSearch() is called for postprocessing. |
|
Compute a tour from a random Hamiltonian cycle. This sets a random premutation of the node set and then calls TSP_LocalSearch() for postprocessing. When using this procedure, it is reasonable to call it several times. |
|
Compute a tour from a minimum one-cycle tree.
The procedure is intended for metric undirected graphs, and then is 1-approximative, that is, the constructed tour is twice as long as an optimal tour in the worst case. The procedure works for all other kinds of complete graphs or digraphs, but does not produce good tours in the general setting. If no root node is specified, the procedure is repeated for all possible root nodes. If CT.methLocal==LOCAL_OPTIMIZE, TSP_LocalSearch() is called for postprocessing. |
|
Refine a given tour by local optimization.
|
|
Refine a given tour by a node exchange step.
|
|
Lower bounding procedure for the travelling salesman problem.
The final one-cycle tree is exported by the subgraph multiplicities, the best tour is exported by the predecessor labels. The according node potentials are also exported. |
|
|