R/model.R
add_depot.Rd
Add a depot to the model
add_depot(model, x, y, tw_early = 0, tw_late = Inf, service = 0)
A vrpr_model.
vrpr_model
Depot coordinates.
Depot time window (opening/closing). tw_late = Inf leaves the closing time unconstrained.
tw_late = Inf
Service time at the depot (e.g. loading), per trip.
The updated vrpr_model.