% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/result.R
\name{cost}
\alias{cost}
\title{Cost of a result or solution}
\usage{
cost(x, ...)
}
\arguments{
\item{x}{A \code{\link[=vrp_solve]{vrp_solve()}} result or a \code{\link[=vrp_solution]{vrp_solution()}}.}

\item{...}{Unused.}
}
\value{
The objective cost (a \code{numeric} scalar); \code{Inf} if no feasible solution
was found.
}
\description{
Cost of a result or solution
}
