% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.R
\name{read_solomon}
\alias{read_solomon}
\title{Read a VRPTW instance in Solomon format}
\usage{
read_solomon(path, num_vehicles = NULL)
}
\arguments{
\item{path}{Path to the file.}

\item{num_vehicles}{Number of vehicles; if \code{NULL}, uses the value from the file.}
}
\value{
A \code{\link[=vrp_model]{vrp_model()}} ready for \code{\link[=vrp_solve]{vrp_solve()}}.
}
\description{
Reads VRPTW instances in Solomon (and Gehring-Homberger) format, with the
\code{VEHICLE} section (number and capacity) and the \code{CUSTOMER} table (coordinates,
demand, time window and service time). Customer 0 is the depot.
}
