Module vrp_core::models

source ·
Expand description

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

Modules§

Structs§

  • Specifies a result of hard route constraint check.
  • Specifies a type used to store any values regarding problem configuration.
  • 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):
  • Provides a way to build feature with some checks.
  • Specifies a goal of optimization as a list of Feature objectives with rules in lexicographical order.
  • Builds a Goal - a goal of optimization - composing multiple layers from objective functions in lexicographical order.
  • 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.
  • Provides a customizable way to build goal context.
  • Contains information about jobs locked to specific actors.
  • Specifies lock details.
  • Defines a VRP problem. You can use a ProblemBuilder to create the one.
  • Provides way to build a VRP definition.
  • Represents a VRP solution.

Enums§

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

Traits§

Type Aliases§