![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Classes | |
| struct | ToUInt |
| struct | ToUInt< double > |
| struct | ToUInt< float > |
| struct | is_strong_int |
| struct | is_strong_int<::util_intops::StrongInt< Tag, Native, Validator > > |
| class | ElementGetter |
| class | PathWithPriority |
| class | UnderlyingContainerAdapter |
| class | PathContainerImpl |
| class | PathTree |
| class | DistanceContainer |
| class | InMemoryCompactPathContainer |
| class | NodeEntry |
| class | ScipCallbackRunner |
| class | ScipCallbackRunnerImpl |
| class | MPSLineInfo |
| class | UntypedGScipConstraintHandler |
| class | UntypedGScipConstraintHandlerImpl |
| struct | ReleaseSCIPMessageHandler |
| class | ScopedSCIPMessageHandlerDisabler |
| struct | AllocatorWithAlignment |
| struct | AlignedBlock |
Typedefs | |
| template<typename T> | |
| using | to_uint = typename ToUInt<T>::type |
| template<typename IndexType, typename ValueType> | |
| using | IndexedVector |
| using | MessageHandlerPtr |
Enumerations | |
| enum class | MPSSectionId { kUnknownSection , kName , kObjsense , kRows , kLazycons , kColumns , kRhs , kRanges , kBounds , kIndicators , kEndData } |
Functions | |
| template<class T> | |
| bool | IsNanGeneric (const T &) |
| template<> | |
| bool | IsNanGeneric (const float &x) |
| template<> | |
| bool | IsNanGeneric (const double &x) |
| template<> | |
| bool | IsNanGeneric (const long double &x) |
| template<typename T> | |
| bool | AreNumbersOfSameSign (const T &x, const T &y) |
| template<typename IntT> | |
| constexpr bool | UsesTwosComplement () |
| uint64_t | OneBit64 (int pos) |
| uint64_t | BitPos64 (uint64_t pos) |
| uint64_t | BitOffset64 (uint64_t pos) |
| uint64_t | BitLength64 (uint64_t size) |
| bool | IsBitSet64 (const uint64_t *const bitset, uint64_t pos) |
| void | SetBit64 (uint64_t *const bitset, uint64_t pos) |
| void | ClearBit64 (uint64_t *const bitset, uint64_t pos) |
| template<typename T> | |
| std::vector< T > | GetInversePermutation (const std::vector< T > &permutation) |
| template<typename Graph> | |
| bool | GraphIsConnected (const Graph &graph) |
| template<class GraphType> | |
| GraphType::ArcIndex | FindArcIndex (const GraphType &graph, const typename GraphType::NodeIndex source, const typename GraphType::NodeIndex destination) |
| template<class GraphType> | |
| std::tuple< std::vector< typename GraphType::NodeIndex >, PathDistance > | ComputeShortestPath (const GraphType &graph, const std::vector< PathDistance > &arc_lengths, const typename GraphType::NodeIndex source, const typename GraphType::NodeIndex destination) |
| template<class GraphType> | |
| PathDistance | ComputePathLength (const GraphType &graph, const absl::Span< const PathDistance > arc_lengths, const absl::Span< const typename GraphType::NodeIndex > path) |
| template<typename NodeType> | |
| bool | IsValidParent (const NodeType node, const NodeType num_tree_nodes) |
| template<typename NodeType> | |
| absl::Status | IsValidNode (const NodeType node, const NodeType num_tree_nodes) |
| template<typename NodeType> | |
| std::vector< NodeType > | ExtractCycle (absl::Span< const NodeType > parents, const NodeType node_in_cycle) |
| template<typename NodeType> | |
| std::string | CycleErrorMessage (absl::Span< const NodeType > cycle) |
| template<typename NodeType> | |
| std::vector< NodeType > | CheckForCycle (absl::Span< const NodeType > parents, std::vector< NodeType > *topological_order) |
| template<class NodeIndex, NodeIndex kNilNode> | |
| bool | InsertOrUpdateEntry (PathDistance distance, NodeEntry< NodeIndex, kNilNode > *entry, AdjustablePriorityQueue< NodeEntry< NodeIndex, kNilNode > > *priority_queue) |
| template<class GraphType> | |
| void | ComputeOneToManyOnGraph (const GraphType *const graph, const std::vector< PathDistance > *const arc_lengths, typename GraphType::NodeIndex source, const std::vector< typename GraphType::NodeIndex > *const destinations, typename GenericPathContainer< GraphType >::Impl *const paths) |
| void | AddConstraintHandlerImpl (const ScipConstraintHandlerDescription &description, std::unique_ptr< ScipCallbackRunner > runner, SCIP *scip) |
| void | AddCallbackConstraintImpl (SCIP *scip, const std::string &handler_name, const std::string &constraint_name, void *constraint_data, const ScipCallbackConstraintOptions &options) |
| absl::Status | ScipCodeToUtilStatus (int retcode, const char *source_file, int source_line, const char *scip_statement) |
| template<typename T, typename IndexType> | |
| void | ExtendContainerWithValueUntil (const IndexType until, const T extend_with_value, std::vector< T > &container) |
| absl::Status | RegisterConstraintHandler (GScip *gscip, std::unique_ptr< UntypedGScipConstraintHandler > constraint_handler) |
| absl::StatusOr< SCIP_CONS * > | AddCallbackConstraint (GScip *gscip, const std::string &handler_name, const std::string &constraint_name, void *constraint_data, const GScipConstraintOptions &options) |
| MessageHandlerPtr | CaptureMessageHandlerPtr (SCIP_MESSAGEHDLR *const handler) |
| absl::StatusOr< MessageHandlerPtr > | MakeSCIPMessageHandler (const GScipMessageHandler gscip_message_handler) |
| template<typename Proto> | |
| std::vector< Proto > | ReadNumRecords (File *file, int expected_num_records) |
| template<typename Proto> | |
| std::vector< Proto > | ReadNumRecords (absl::string_view filename, int expected_num_records) |
| template<typename Value, size_t size> | |
| void | AddInPlace (AlignedBlock< Value, size > &out, const AlignedBlock< Value, size > &in) |
| template<size_t block_size, size_t num_blocks_per_iteration, typename Value> | |
| AlignedBlock< Value, block_size > ABSL_ATTRIBUTE_NOINLINE | AlignedBlockSum (const AlignedBlock< Value, block_size > *blocks, size_t num_blocks) |
| template<size_t block_size = 4, size_t num_blocks_per_iteration = 4, bool assume_aligned_at_start = false, typename Value> | |
| Value | VectorSum (absl::Span< const Value > values) |
Variables | |
| const PathDistance | kMaxDistance = std::numeric_limits<PathDistance>::max() - 1 |
| const PathDistance | kDisconnectedDistance |
| static constexpr int | kNumMpsFields = 6 |
| using operations_research::internal::IndexedVector |
Definition at line 78 of file bounded_dijkstra.h.
Definition at line 54 of file gscip_message_handler.h.
| using operations_research::internal::to_uint = typename ToUInt<T>::type |
Definition at line 96 of file radix_sort.h.
|
strong |
| Enumerator | |
|---|---|
| kUnknownSection | |
| kName | |
| kObjsense | |
| kRows | |
| kLazycons | |
| kColumns | |
| kRhs | |
| kRanges | |
| kBounds | |
| kIndicators | |
| kEndData | |
Definition at line 311 of file mps_reader_template.h.
| absl::StatusOr< SCIP_CONS * > operations_research::internal::AddCallbackConstraint | ( | GScip * | gscip, |
| const std::string & | handler_name, | ||
| const std::string & | constraint_name, | ||
| void * | constraint_data, | ||
| const GScipConstraintOptions & | options ) |
Definition at line 615 of file gscip_constraint_handler.cc.
| void operations_research::internal::AddCallbackConstraintImpl | ( | SCIP * | scip, |
| const std::string & | handler_name, | ||
| const std::string & | constraint_name, | ||
| void * | constraint_data, | ||
| const ScipCallbackConstraintOptions & | options ) |
Definition at line 438 of file scip_callback.cc.
| void operations_research::internal::AddConstraintHandlerImpl | ( | const ScipConstraintHandlerDescription & | description, |
| std::unique_ptr< ScipCallbackRunner > | runner, | ||
| SCIP * | scip ) |
Definition at line 414 of file scip_callback.cc.
| void operations_research::internal::AddInPlace | ( | AlignedBlock< Value, size > & | out, |
| const AlignedBlock< Value, size > & | in ) |
Definition at line 54 of file vector_sum_internal.h.
| AlignedBlock< Value, block_size > ABSL_ATTRIBUTE_NOINLINE operations_research::internal::AlignedBlockSum | ( | const AlignedBlock< Value, block_size > * | blocks, |
| size_t | num_blocks ) |
Definition at line 84 of file vector_sum_internal.h.
| bool operations_research::internal::AreNumbersOfSameSign | ( | const T & | x, |
| const T & | y ) |
Definition at line 161 of file binary_search.h.
|
inline |
|
inline |
|
inline |
| MessageHandlerPtr operations_research::internal::CaptureMessageHandlerPtr | ( | SCIP_MESSAGEHDLR *const | handler | ) |
Definition at line 115 of file gscip_message_handler.cc.
| std::vector< NodeType > operations_research::internal::CheckForCycle | ( | absl::Span< const NodeType > | parents, |
| std::vector< NodeType > * | topological_order ) |
Definition at line 390 of file rooted_tree.h.
|
inline |
| void operations_research::internal::ComputeOneToManyOnGraph | ( | const GraphType *const | graph, |
| const std::vector< PathDistance > *const | arc_lengths, | ||
| typename GraphType::NodeIndex | source, | ||
| const std::vector< typename GraphType::NodeIndex > *const | destinations, | ||
| typename GenericPathContainer< GraphType >::Impl *const | paths ) |
Definition at line 624 of file shortest_paths.h.
| PathDistance operations_research::internal::ComputePathLength | ( | const GraphType & | graph, |
| const absl::Span< const PathDistance > | arc_lengths, | ||
| const absl::Span< const typename GraphType::NodeIndex > | path ) |
Definition at line 199 of file k_shortest_paths.h.
| std::tuple< std::vector< typename GraphType::NodeIndex >, PathDistance > operations_research::internal::ComputeShortestPath | ( | const GraphType & | graph, |
| const std::vector< PathDistance > & | arc_lengths, | ||
| const typename GraphType::NodeIndex | source, | ||
| const typename GraphType::NodeIndex | destination ) |
Definition at line 168 of file k_shortest_paths.h.
| std::string operations_research::internal::CycleErrorMessage | ( | absl::Span< const NodeType > | cycle | ) |
Definition at line 372 of file rooted_tree.h.
| void operations_research::internal::ExtendContainerWithValueUntil | ( | const IndexType | until, |
| const T | extend_with_value, | ||
| std::vector< T > & | container ) |
Definition at line 860 of file mps_reader_template.h.
| std::vector< NodeType > operations_research::internal::ExtractCycle | ( | absl::Span< const NodeType > | parents, |
| const NodeType | node_in_cycle ) |
Definition at line 352 of file rooted_tree.h.
| GraphType::ArcIndex operations_research::internal::FindArcIndex | ( | const GraphType & | graph, |
| const typename GraphType::NodeIndex | source, | ||
| const typename GraphType::NodeIndex | destination ) |
Definition at line 152 of file k_shortest_paths.h.
| std::vector< T > operations_research::internal::GetInversePermutation | ( | const std::vector< T > & | permutation | ) |
Definition at line 906 of file dag_constrained_shortest_path.h.
| bool operations_research::internal::GraphIsConnected | ( | const Graph & | graph | ) |
Definition at line 157 of file eulerian_path.h.
| bool operations_research::internal::InsertOrUpdateEntry | ( | PathDistance | distance, |
| NodeEntry< NodeIndex, kNilNode > * | entry, | ||
| AdjustablePriorityQueue< NodeEntry< NodeIndex, kNilNode > > * | priority_queue ) |
Definition at line 596 of file shortest_paths.h.
|
inline |
|
inline |
Definition at line 152 of file binary_search.h.
|
inline |
Definition at line 148 of file binary_search.h.
|
inline |
Definition at line 156 of file binary_search.h.
| bool operations_research::internal::IsNanGeneric | ( | const T & | ) |
Definition at line 143 of file binary_search.h.
| absl::Status operations_research::internal::IsValidNode | ( | const NodeType | node, |
| const NodeType | num_tree_nodes ) |
Definition at line 342 of file rooted_tree.h.
| bool operations_research::internal::IsValidParent | ( | const NodeType | node, |
| const NodeType | num_tree_nodes ) |
Definition at line 336 of file rooted_tree.h.
| absl::StatusOr< MessageHandlerPtr > operations_research::internal::MakeSCIPMessageHandler | ( | const GScipMessageHandler | gscip_message_handler | ) |
Definition at line 122 of file gscip_message_handler.cc.
|
inline |
| std::vector< Proto > operations_research::internal::ReadNumRecords | ( | absl::string_view | filename, |
| int | expected_num_records ) |
Definition at line 106 of file file_util.h.
| std::vector< Proto > operations_research::internal::ReadNumRecords | ( | File * | file, |
| int | expected_num_records ) |
Definition at line 79 of file file_util.h.
| absl::Status operations_research::internal::RegisterConstraintHandler | ( | GScip * | gscip, |
| std::unique_ptr< UntypedGScipConstraintHandler > | constraint_handler ) |
Definition at line 583 of file gscip_constraint_handler.cc.
|
inline |
Definition at line 24 of file scip_helper_macros.h.
|
inline |
|
constexpr |
Definition at line 174 of file binary_search.h.
| Value operations_research::internal::VectorSum | ( | absl::Span< const Value > | values | ) |
Definition at line 138 of file vector_sum_internal.h.
| const PathDistance operations_research::internal::kDisconnectedDistance |
Definition at line 141 of file k_shortest_paths.h.
| const PathDistance operations_research::internal::kMaxDistance = std::numeric_limits<PathDistance>::max() - 1 |
Definition at line 140 of file k_shortest_paths.h.
|
staticconstexpr |
Definition at line 308 of file mps_reader_template.h.