% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/solution.R
\name{vrp_cost_evaluator}
\alias{vrp_cost_evaluator}
\title{Cost evaluator (CostEvaluator)}
\usage{
vrp_cost_evaluator(load_penalties = 1, tw_penalty = 1, dist_penalty = 1)
}
\arguments{
\item{load_penalties}{Penalty per unit of excess load, per load dimension. A
scalar is recycled across all dimensions.}

\item{tw_penalty}{Penalty per unit of time warp (time-window violation).}

\item{dist_penalty}{Penalty per unit of distance above the maximum.}
}
\value{
A \code{vrpr_cost_evaluator} object.
}
\description{
Creates a penalised-cost evaluator. Penalties multiply constraint violations
(load, time window, maximum distance) to form the smoothed cost the solver
minimises. For a \emph{feasible} solution, the penalised cost equals the objective
cost.
}
