Displaying 2 results from an estimated 2 matches for "atsp".
Did you mean:
atp
2011 Aug 19
3
ATSP to TSP reformulation
Greetings,
I am having trouble getting the function reformulate_ATSP_as_TSP to work for
me. I have provided a simple example of some of the code I've been using.
In particular, I'm not sure why I'm getting the error
"Error in dimnames(tsp) <- list(lab, lab) :
length of 'dimnames' [1] not equal to array extent"
since I created...
2010 May 30
1
solve_TSP ignores control data, or I'm reading the help doc incorrectly.
...(Item 2, below).
Item 1: solve_TSP doc:
> library(TSP)
> ?sove_TSP
Description:
Common interface to all TSP solvers in this package.
Usage:
solve_TSP(x, method, control)
Arguments:
x: the TSP given as an object of class 'TSP' or 'ATSP'.
method: method to solve the TSP (default: nearest insertion
algorithm; see details).
control: a list of arguments passed on to the TSP solver selected by
'method'.
<snip>
'"2-opt"' Two edge exchange improvemen...