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

Classes

class  CarpParser
class  LiLimParser
class  NearpParser
class  PdTspParser
class  Edge
class  Arc
struct  Coordinates2
struct  Coordinates3
struct  SimpleTimeWindow
class  SolomonParser
class  SolomonSolutionParser
class  RoutingSolution
class  TspLibParser
class  TspLibTourParser
class  CVRPToursParser
class  TspTWParser
struct  NetworkTopologyDefaultTypeInternal
struct  CommoditiesDefaultTypeInternal
struct  CapacityPlanningInstanceDefaultTypeInternal
class  NetworkTopology
class  Commodities
class  CapacityPlanningInstance

Typedefs

typedef std::function< int64_t(int, int)> EdgeWeights

Enumerations

enum class  RoutingOutputFormat {
  kNone , kTSPLIB , kCVRPLIB , kCARPLIB ,
  kNEARPLIB
}

Functions

::absl::Status ReadFile (absl::string_view file_name, CapacityPlanningInstance *request)
RoutingOutputFormat RoutingOutputFormatFromString (std::string_view format)
template<typename T>
std::string FormatStatistic (absl::string_view name, T value, RoutingOutputFormat format)
template<>
std::string FormatStatistic (absl::string_view name, double value, RoutingOutputFormat format)
template<typename T>
void PrintStatistic (absl::string_view name, T value, RoutingOutputFormat format)

Variables

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetworkTopologyDefaultTypeInternal _NetworkTopology_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommoditiesDefaultTypeInternal _Commodities_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CapacityPlanningInstanceDefaultTypeInternal _CapacityPlanningInstance_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull NetworkTopology_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Commodities_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CapacityPlanningInstance_class_data_

Typedef Documentation

◆ EdgeWeights

typedef std::function<int64_t(int, int)> operations_research::routing::EdgeWeights

Definition at line 89 of file simple_graph.h.

Enumeration Type Documentation

◆ RoutingOutputFormat

Enumerator
kNone 
kTSPLIB 
kCVRPLIB 
kCARPLIB 
kNEARPLIB 

Definition at line 40 of file solution_serializer.h.

Function Documentation

◆ FormatStatistic() [1/2]

template<>
std::string operations_research::routing::FormatStatistic ( absl::string_view name,
double value,
RoutingOutputFormat format )
inline

Definition at line 275 of file solution_serializer.h.

◆ FormatStatistic() [2/2]

template<typename T>
std::string operations_research::routing::FormatStatistic ( absl::string_view name,
T value,
RoutingOutputFormat format )

Definition at line 251 of file solution_serializer.h.

◆ PrintStatistic()

template<typename T>
void operations_research::routing::PrintStatistic ( absl::string_view name,
T value,
RoutingOutputFormat format )

Definition at line 295 of file solution_serializer.h.

◆ ReadFile()

absl::Status operations_research::routing::ReadFile ( absl::string_view file_name,
CapacityPlanningInstance * request )

Definition at line 33 of file dow_parser.cc.

◆ RoutingOutputFormatFromString()

RoutingOutputFormat operations_research::routing::RoutingOutputFormatFromString ( std::string_view format)

Definition at line 39 of file solution_serializer.cc.

Variable Documentation

◆ _CapacityPlanningInstance_default_instance_

OR_PROTO_DLL CapacityPlanningInstanceDefaultTypeInternal operations_research::routing::_CapacityPlanningInstance_default_instance_

Definition at line 114 of file capacity_planning.pb.cc.

◆ _Commodities_default_instance_

OR_PROTO_DLL CommoditiesDefaultTypeInternal operations_research::routing::_Commodities_default_instance_

Definition at line 88 of file capacity_planning.pb.cc.

◆ _NetworkTopology_default_instance_

OR_PROTO_DLL NetworkTopologyDefaultTypeInternal operations_research::routing::_NetworkTopology_default_instance_

Definition at line 59 of file capacity_planning.pb.cc.

◆ CapacityPlanningInstance_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::routing::CapacityPlanningInstance_class_data_

◆ Commodities_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::routing::Commodities_class_data_
Initial value:

Definition at line 763 of file capacity_planning.pb.cc.

◆ NetworkTopology_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::routing::NetworkTopology_class_data_