R/result.R
cost.Rd
Cost of a result or solution
cost(x, ...)
A vrp_solve() result or a vrp_solution().
vrp_solve()
vrp_solution()
Unused.
The objective cost (a numeric scalar); Inf if no feasible solution was found.
numeric
Inf