TSP.NearestNeighbor: Travelling-Salesman-Problem - NearestNeighbor

Description Usage Arguments Details Value Optional Parameters (...) Note Author(s) References See Also Examples

Description

Improves a given Route by switching links.

Usage

1
2
3
4
TSP.NearestNeighbor(object, ...)

## S4 method for signature 'GeoSituation'
TSP.NearestNeighbor(object, ...)

Arguments

object

Object of Type GeoSituation

...

Optional Parameters See Below.

Details

Explain what NearestNeighbor does.

Value

same modified object of Type GeoSituation. The Solution will be assigned the attribute tsp.solution.

Optional Parameters (...)

used by TSP.NearestNeighbor

log

logical Optional Parameter. Indicating, if the calculation should be logged to console. Default is FALSE.

alpha

numeric The alpha-Shape-Parameter of the savings-algorithm. Default is 1

calcCij

logical Optional Parameter. Indicating, if the cost matrix cij has to be calculated. Default is TRUE.

cij

matrix Optional Parameter. Use for providing a user-defined cij-matrix. By default it's calculated.

Forwarded to the follwowing functions

You may want to check these functions for any other optional parameters.

Note

for citing use: Felix Lindemann (2014). HNUORTools: Operations Research Tools. R package version 1.1-0. http://felixlindemann.github.io/HNUORTools/.

Author(s)

Dipl. Kfm. Felix Lindemann felix.lindemann@hs-neu-ulm.de

Wissenschaftlicher Mitarbeiter Kompetenzzentrum Logistik Buro ZWEI, 17

Hochschule fur angewandte Wissenschaften Fachhochschule Neu-Ulm | Neu-Ulm University Wileystr. 1

D-89231 Neu-Ulm

Phone +49(0)731-9762-1437 Web www.hs-neu-ulm.de/felix-lindemann/ http://felixlindemann.blogspot.de

References

Domschke

See Also

GeoSituation, Node, TSP.NearestNeighbor, TSP.2OPT, TSP.3OPT

Examples

1
2
# demo(HNUTSP01)
# demo(HNUTSP02)

felixlindemann/HNUORTools documentation built on May 8, 2019, 6:46 p.m.