fast_two_opt {tspmeta}R Documentation

Runs 2-Opt local search on TSP instance.

Description

Runs 2-Opt local search on TSP instance.

Usage

fast_two_opt(x, initial_tour)

Arguments

x

[tsp_instance]
TSP instance.

initial_tour

[numeric]
Initial tour.

Value

[TOUR] TOUR object from package TSP, containing order of cities, tour length and method name that generated this solution.


[Package tspmeta version 1.2 Index]