Module models

Source
Expand description

A collection of models to represent problem and solution in Vehicle Routing Problem domain.

Modules§

common
Common models.
problem
Problem domain models.
solution
Solution domain models.

Structs§

ConstraintViolation
Specifies a result of hard route constraint check.
Extras
Specifies a type used to store any values regarding problem configuration.
Feature
An individual feature which is used to build a specific VRP variant, e.g., capacity restriction, job values, etc. Each feature consists of three optional parts (but at least one should be defined):
FeatureBuilder
Provides a way to build feature with some checks.
Goal
Specifies a goal of optimization as a list of Feature objectives with rules in lexicographical order.
GoalBuilder
Builds a Goal - a goal of optimization - composing multiple layers from objective functions in lexicographical order.
GoalContext
Defines Vehicle Routing Problem variant by global and local objectives: A global objective defines the way two VRP solutions are compared to select better one: for example, given the same number of assigned jobs, prefer fewer tours used instead of total solution cost.
GoalContextBuilder
Provides a customizable way to build goal context.
Lock
Contains information about jobs locked to specific actors.
LockDetail
Specifies lock details.
Problem
Defines a VRP problem. You can use a ProblemBuilder to create the one.
ProblemBuilder
Provides way to build a VRP definition.
Solution
Represents a VRP solution.
ViolationCode
Specifies a type for constraint violation code.

Enums§

LockOrder
An enumeration which specifies how jobs should be ordered in tour.
LockPosition
An enumeration which specifies how other jobs can be inserted in tour.

Traits§

FeatureConstraint
Defines feature constraint behavior.
FeatureObjective
Defines feature’s objective function behavior.
FeatureState
Provides the way to modify solution state when the search is performed.

Type Aliases§

FleetGroupKeyFn
Specifies a function to group actors based on their similarity.