SolutionCreateNewRoute Method

Create a new initial route. This can be used for when passing an initial solution to the solver.

Definition

Namespace: VRSolver
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public void CreateNewRoute(
	string resourceID,
	List<string> jobPartIDs
)

Parameters

resourceID  String
The resource.
jobPartIDs  ListString
The ordered list of job parts in the route to create.

Exceptions

ArgumentNullExceptionResourceID is null.
ArgumentNullExceptionResource ID not defined.
ArgumentExceptionJobPart not found.

See Also