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

Detailed Description

Contains the information needed by the solver to optimize a dimension's cumuls with travel-start dependent transit values.

Definition at line 1628 of file routing.h.

#include <routing.h>

Classes

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

Public Member Functions

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

Public Attributes

std::vector< TransitionInfotransition_info
int64_t travel_cost_coefficient
 The cost per unit of travel for this vehicle.

Member Function Documentation

◆ DebugString()

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

Definition at line 103 of file routing.cc.

Member Data Documentation

◆ transition_info

std::vector<TransitionInfo> operations_research::RoutingModel::RouteDimensionTravelInfo::transition_info

For each node #i on the route, transition_info[i] contains the relevant information for the travel between nodes #i and #(i + 1) on the route.

Definition at line 1661 of file routing.h.

◆ travel_cost_coefficient

int64_t operations_research::RoutingModel::RouteDimensionTravelInfo::travel_cost_coefficient

The cost per unit of travel for this vehicle.

Definition at line 1663 of file routing.h.


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