Description Usage Arguments Examples
To compute savings matrix
1 | SavingMat(DMat, depot = 1)
|
DMat |
– Distance matrix, assuming first row and column represents distance from depot depot = 1 by default (fixed) |
1 2 3 4 5 | data(An32k5locations)
DMat <- DistMat(An32k5locations)
row.names(DMat) <- An32k5locations[, 1]
colnames(DMat) <- An32k5locations[, 1]
SavingMat(DMat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.