% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{add_depot}
\alias{add_depot}
\title{Add a depot to the model}
\usage{
add_depot(model, x, y, tw_early = 0, tw_late = Inf, service = 0)
}
\arguments{
\item{model}{A \code{vrpr_model}.}

\item{x, y}{Depot coordinates.}

\item{tw_early, tw_late}{Depot time window (opening/closing). \code{tw_late = Inf}
leaves the closing time unconstrained.}

\item{service}{Service time at the depot (e.g. loading), per trip.}
}
\value{
The updated \code{vrpr_model}.
}
\description{
Add a depot to the model
}
