Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo Struct Reference

Contains the information for a single transition on the route. More...

Detailed Description

Contains the information for a single transition on the route.

Definition at line 1630 of file routing.h.

#include <routing.h>

Public Member Functions

std::string DebugString (std::string line_prefix="") const

Public Attributes

FloatSlopePiecewiseLinearFunction travel_start_dependent_travel
FloatSlopePiecewiseLinearFunction travel_compression_cost
int64_t pre_travel_transit_value
int64_t post_travel_transit_value
int64_t compressed_travel_value_lower_bound
int64_t travel_value_upper_bound

Member Function Documentation

◆ DebugString()

std::string operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::DebugString ( std::string line_prefix = "") const

Definition at line 114 of file routing.cc.

Member Data Documentation

◆ compressed_travel_value_lower_bound

int64_t operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::compressed_travel_value_lower_bound

The hard lower bound of the compressed travel value that will be enforced by the scheduling module.

Definition at line 1648 of file routing.h.

◆ post_travel_transit_value

int64_t operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::post_travel_transit_value

Definition at line 1644 of file routing.h.

◆ pre_travel_transit_value

int64_t operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::pre_travel_transit_value

The parts of the transit which occur pre/post travel between the nodes. The total transit between the two nodes i and j is = pre_travel_transit_value + travel(i, j) + post_travel_transit_value.

Definition at line 1643 of file routing.h.

◆ travel_compression_cost

FloatSlopePiecewiseLinearFunction operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::travel_compression_cost

travel_compression_cost models the cost of the difference between the (real) travel value Tᵣ given by travel_start_dependent_travel and the compressed travel value considered in the scheduling.

Definition at line 1638 of file routing.h.

◆ travel_start_dependent_travel

FloatSlopePiecewiseLinearFunction operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::travel_start_dependent_travel

Models the (real) travel value Tᵣ, for this transition based on the departure value of the travel.

Definition at line 1633 of file routing.h.

◆ travel_value_upper_bound

int64_t operations_research::RoutingModel::RouteDimensionTravelInfo::TransitionInfo::travel_value_upper_bound

The hard upper bound of the (real) travel value Tᵣ (see above). This value should be chosen so as to prevent the overall cost of the model (dimension costs + travel_compression_cost) to overflow.

Definition at line 1654 of file routing.h.


The documentation for this struct was generated from the following files: