OR-Tools  9.0
operations_research Namespace Reference

Collection of objects used to extend the Constraint Solver library. More...

Namespaces

 bop
 
 cap_prod_util
 
 data
 
 fz
 
 glop
 
 internal
 
 math_opt
 
 or_internal
 
 sat
 
 scp
 
 sysinfo
 
 utf8
 

Classes

class  DenseDoublyLinkedList
 
class  DynamicPartition
 
class  MergingPartition
 
class  DynamicPermutation
 
class  GraphSymmetryFinder
 
class  HungarianOptimizer
 
class  KnapsackBruteForceSolver
 
struct  KnapsackItemWithEfficiency
 
class  Knapsack64ItemsSolver
 
class  KnapsackDynamicProgrammingSolver
 
class  KnapsackDivideAndConquerSolver
 
class  KnapsackMIPSolver
 
class  KnapsackSolver
 This library solves knapsack problems. More...
 
struct  KnapsackAssignment
 
struct  KnapsackItem
 
class  KnapsackSearchNode
 
class  KnapsackSearchPath
 
class  KnapsackState
 
class  KnapsackPropagator
 
class  KnapsackCapacityPropagator
 
class  BaseKnapsackSolver
 
class  KnapsackGenericSolver
 
struct  KnapsackAssignmentForCuts
 
struct  KnapsackItemForCuts
 
class  KnapsackSearchNodeForCuts
 
class  KnapsackSearchPathForCuts
 
class  KnapsackStateForCuts
 
class  KnapsackPropagatorForCuts
 
class  KnapsackSolverForCuts
 
class  SparsePermutation
 
class  AccurateSum
 
class  Bitmap
 
class  MathUtil
 
class  ACMRandom
 
class  MTRandom
 
class  ThreadPool
 
class  Queue
 
struct  StateInfo
 
struct  StateMarker
 
struct  Trail
 
class  Search
 
class  Trace
 
class  LocalSearchMonitorMaster
 
class  SimpleRevFIFO
 This class represent a reversible FIFO structure. More...
 
struct  DefaultPhaseParameters
 This struct holds all parameters for the default search. More...
 
class  Solver
 Solver Class. More...
 
class  BaseObject
 A BaseObject is the root of all reversibly allocated objects. More...
 
class  PropagationBaseObject
 NOLINT. More...
 
class  Decision
 A Decision represents a choice point in the search tree. More...
 
class  DecisionVisitor
 A DecisionVisitor is used to inspect a decision. More...
 
class  DecisionBuilder
 A DecisionBuilder is responsible for creating the search tree. More...
 
class  Demon
 A Demon is the base element of a propagation queue. More...
 
class  ModelVisitor
 Model visitor. More...
 
class  Constraint
 A constraint is the main modeling object. More...
 
class  CastConstraint
 Cast constraints are special channeling constraints designed to keep a variable in sync with an expression. More...
 
class  SearchMonitor
 A search monitor is a simple set of callbacks to monitor all search events. More...
 
class  Rev
 This class adds reversibility to a POD type. More...
 
class  NumericalRev
 Subclass of Rev<T> which adds numerical operations. More...
 
class  RevArray
 Reversible array of POD types. More...
 
class  NumericalRevArray
 Subclass of RevArray<T> which adds numerical operations. More...
 
class  IntExpr
 The class IntExpr is the base of all integer expressions in constraint programming. More...
 
class  IntVarIterator
 The class Iterator has two direct subclasses. More...
 
class  InitAndGetValues
 Utility class to encapsulate an IntVarIterator and use it in a range-based loop. More...
 
class  IntVar
 The class IntVar is a subset of IntExpr. More...
 
class  SolutionCollector
 This class is the root class of all solution collectors. More...
 
class  OptimizeVar
 This class encapsulates an objective. More...
 
class  SearchLimit
 Base class of all search limits. More...
 
class  RegularLimit
 Usual limit based on wall_time, number of explored branches and number of failures in the search tree. More...
 
class  ImprovementSearchLimit
 
class  IntervalVar
 Interval variables are often used in scheduling. More...
 
class  SequenceVar
 A sequence variable is a variable whose domain is a set of possible orderings of the interval variables. More...
 
class  AssignmentElement
 
class  IntVarElement
 
class  IntervalVarElement
 
class  SequenceVarElement
 The SequenceVarElement stores a partial representation of ranked interval variables in the underlying sequence variable. More...
 
class  AssignmentContainer
 
class  Assignment
 An Assignment is a variable -> domains mapping, used to report solutions to the user. More...
 
class  Pack
 
class  DisjunctiveConstraint
 
class  SolutionPool
 This class is used to manage a pool of solutions. More...
 
class  BaseIntExpr
 
class  RevImmutableMultiMap
 Reversible Immutable MultiMap class. More...
 
class  RevSwitch
 A reversible switch that can switch once from false to true. More...
 
class  SmallRevBitSet
 This class represents a small reversible bitset (size <= 64). More...
 
class  RevBitSet
 This class represents a reversible bitset. More...
 
class  RevBitMatrix
 Matrix version of the RevBitSet class. More...
 
class  CallMethod0
 Demon proxy to a method on the constraint with no arguments. More...
 
class  CallMethod1
 Demon proxy to a method on the constraint with one argument. More...
 
class  CallMethod2
 Demon proxy to a method on the constraint with two arguments. More...
 
class  CallMethod3
 Demon proxy to a method on the constraint with three arguments. More...
 
class  DelayedCallMethod0
 Low-priority demon proxy to a method on the constraint with no arguments. More...
 
class  DelayedCallMethod1
 Low-priority demon proxy to a method on the constraint with one argument. More...
 
class  DelayedCallMethod2
 Low-priority demon proxy to a method on the constraint with two arguments. More...
 
class  LocalSearchOperator
 The base class for all local search operators. More...
 
class  VarLocalSearchOperator
 Base operator class for operators manipulating variables. More...
 
class  IntVarLocalSearchHandler
 
class  IntVarLocalSearchOperator
 Specialization of LocalSearchOperator built from an array of IntVars which specifies the scope of the operator. More...
 
class  SequenceVarLocalSearchHandler
 
class  SequenceVarLocalSearchOperator
 
class  BaseLns
 This is the base class for building an Lns operator. More...
 
class  ChangeValue
 Defines operators which change the value of variables; each neighbor corresponds to one modified variable. More...
 
class  PathOperator
 Base class of the local search operators dedicated to path modifications (a path is a set of nodes linked together by arcs). More...
 
class  LocalSearchState
 
class  LocalSearchVariable
 
class  LocalSearchFilter
 Local Search Filters are used for fast neighbor pruning. More...
 
class  LocalSearchFilterManager
 Filter manager: when a move is made, filters are executed to decide whether the solution is feasible and compute parts of the new cost. More...
 
class  IntVarLocalSearchFilter
 
class  PropagationMonitor
 
class  LocalSearchMonitor
 
class  BooleanVar
 
class  SymmetryBreaker
 A symmetry breaker is an object that will visit a decision and create the 'symmetrical' decision in return. More...
 
class  SearchLog
 The base class of all search logs that periodically outputs information when the search is running. More...
 
class  ModelCache
 Implements a complete cache for model elements: expressions and constraints. More...
 
class  ArgumentHolder
 Argument Holder: useful when visiting a model. More...
 
class  ModelParser
 Model Parser. More...
 
class  ArrayWithOffset
 
class  RevGrowingArray
 This class is a reversible growing array. More...
 
class  RevIntSet
 This is a special class to represent a 'residual' set of T. More...
 
class  RevPartialSequence
 --— RevPartialSequence --— More...
 
class  UnsortedNullableRevBitset
 This class represents a reversible bitset. More...
 
class  PathState
 
class  UnaryDimensionChecker
 
class  DemonProfiler
 
class  IfThenElseCt
 
class  PiecewiseLinearExpr
 
class  TwoOpt
 
class  Relocate
 
class  Exchange
 
class  Cross
 
class  BaseInactiveNodeToPathOperator
 
class  MakeActiveOperator
 
class  RelocateAndMakeActiveOperator
 
class  MakeActiveAndRelocate
 
class  MakeInactiveOperator
 
class  RelocateAndMakeInactiveOperator
 
class  MakeChainInactiveOperator
 
class  SwapActiveOperator
 
class  ExtendedSwapActiveOperator
 
class  TSPOpt
 
class  TSPLns
 
class  NearestNeighbors
 
class  LinKernighan
 
class  PathLns
 
class  NeighborhoodLimit
 
class  LocalSearchProfiler
 
class  FindOneNeighbor
 
class  LocalSearchPhaseParameters
 
class  Dimension
 
class  RoutingModelInspector
 
class  RoutingModel
 
class  RoutingModelVisitor
 Routing model visitor. More...
 
class  DisjunctivePropagator
 This class acts like a CP propagator: it takes a set of tasks given by their start/duration/end features, and reduces the range of possible values. More...
 
struct  TravelBounds
 
class  GlobalVehicleBreaksConstraint
 GlobalVehicleBreaksConstraint ensures breaks constraints are enforced on all vehicles in the dimension passed to its constructor. More...
 
class  TypeRegulationsChecker
 
class  TypeIncompatibilityChecker
 Checker for type incompatibilities. More...
 
class  TypeRequirementChecker
 Checker for type requirements. More...
 
class  TypeRegulationsConstraint
 The following constraint ensures that incompatibilities and requirements between types are respected. More...
 
class  SimpleBoundCosts
 A structure meant to store soft bounds and associated violation constants. More...
 
class  RoutingDimension
 Dimensions represent quantities accumulated at nodes along the routes. More...
 
class  BasePathFilter
 Generic path-based filter class. More...
 
class  RoutingIndexManager
 Manager for any NodeIndex <-> variable index conversion. More...
 
class  CumulBoundsPropagator
 
class  RoutingLinearSolverWrapper
 
class  RoutingGlopWrapper
 
class  RoutingCPSatWrapper
 
class  DimensionCumulOptimizerCore
 
class  LocalDimensionCumulOptimizer
 
class  GlobalDimensionCumulOptimizer
 
class  MakeRelocateNeighborsOperator
 Relocate neighborhood which moves chains of neighbors. More...
 
class  MakePairActiveOperator
 Pair-based neighborhood operators, designed to move nodes by pairs (pairs are static and given). More...
 
class  MakePairInactiveOperator
 Operator which makes pairs of active nodes inactive. More...
 
class  PairRelocateOperator
 Operator which moves a pair of nodes to another position where the first node of the pair must be before the second node on the same path. More...
 
class  LightPairRelocateOperator
 
class  PairExchangeOperator
 Operator which exchanges the position of two pairs; for both pairs the first node of the pair must be before the second node on the same path. More...
 
class  PairExchangeRelocateOperator
 Operator which exchanges the paths of two pairs (path have to be different). More...
 
class  SwapIndexPairOperator
 Operator which iterates through each alternative of a set of pairs. More...
 
class  IndexPairSwapActiveOperator
 Operator which inserts inactive nodes into a path and makes a pair of active nodes inactive. More...
 
class  FilteredHeuristicLocalSearchOperator
 Class of operators using a RoutingFilteredHeuristic to insert unperformed nodes after changes have been made to the current solution. More...
 
class  FilteredHeuristicPathLNSOperator
 LNS-like operator based on a filtered first solution heuristic to rebuild the solution, after the destruction phase consisting of removing one route. More...
 
class  RelocatePathAndHeuristicInsertUnperformedOperator
 Heuristic-based local search operator which relocates an entire route to an empty vehicle of different vehicle class and then tries to insert unperformed nodes using the heuristic. More...
 
class  FilteredHeuristicExpensiveChainLNSOperator
 Similar to the heuristic path LNS above, but instead of removing one route entirely, the destruction phase consists of removing all nodes on an "expensive" chain from a route. More...
 
class  FilteredHeuristicCloseNodesLNSOperator
 Filtered heuristic LNS operator, where the destruction phase consists of removing a node and the 'num_close_nodes' nodes closest to it, along with each of their corresponding sibling pickup/deliveries that are performed. More...
 
class  RelocateExpensiveChain
 RelocateExpensiveChain. More...
 
class  PairNodeSwapActiveOperator
 Operator which inserts pairs of inactive nodes into a path and makes an active node inactive. More...
 
class  RelocateSubtrip
 Tries to move subtrips after an insertion node. More...
 
class  ExchangeSubtrip
 
class  VehicleTypeCurator
 Helper class that manages vehicles. More...
 
class  IntVarFilteredDecisionBuilder
 Decision builder building a solution using heuristics with local search filters to evaluate its feasibility. More...
 
class  IntVarFilteredHeuristic
 Generic filter-based heuristic applied to IntVars. More...
 
class  RoutingFilteredHeuristic
 Filter-based heuristic dedicated to routing. More...
 
class  CheapestInsertionFilteredHeuristic
 
class  GlobalCheapestInsertionFilteredHeuristic
 Filter-based decision builder which builds a solution by inserting nodes at their cheapest position on any route; potentially several routes can be built in parallel. More...
 
class  LocalCheapestInsertionFilteredHeuristic
 Filter-base decision builder which builds a solution by inserting nodes at their cheapest position. More...
 
class  CheapestAdditionFilteredHeuristic
 Filtered-base decision builder based on the addition heuristic, extending a path from its start node with the cheapest arc. More...
 
class  EvaluatorCheapestAdditionFilteredHeuristic
 A CheapestAdditionFilteredHeuristic where the notion of 'cheapest arc' comes from an arc evaluator. More...
 
class  ComparatorCheapestAdditionFilteredHeuristic
 A CheapestAdditionFilteredHeuristic where the notion of 'cheapest arc' comes from an arc comparator. More...
 
class  SavingsFilteredHeuristic
 Filter-based decision builder which builds a solution by using Clarke & Wright's Savings heuristic. More...
 
class  SequentialSavingsFilteredHeuristic
 
class  ParallelSavingsFilteredHeuristic
 
class  ChristofidesFilteredHeuristic
 Christofides addition heuristic. More...
 
class  SweepArranger
 Class to arrange indices by by their distance and their angles from the depot. More...
 
class  SymmetryManager
 
struct  IntVarAssignmentDefaultTypeInternal
 
struct  IntervalVarAssignmentDefaultTypeInternal
 
struct  SequenceVarAssignmentDefaultTypeInternal
 
struct  WorkerInfoDefaultTypeInternal
 
struct  AssignmentProtoDefaultTypeInternal
 
class  PROTOBUF_FINAL
 
struct  DemonRunsDefaultTypeInternal
 
struct  ConstraintRunsDefaultTypeInternal
 
struct  FirstSolutionStrategyDefaultTypeInternal
 
struct  LocalSearchMetaheuristicDefaultTypeInternal
 
struct  RoutingSearchParameters_LocalSearchNeighborhoodOperatorsDefaultTypeInternal
 
struct  RoutingSearchParameters_ImprovementSearchLimitParametersDefaultTypeInternal
 
struct  RoutingSearchParametersDefaultTypeInternal
 
struct  RoutingModelParametersDefaultTypeInternal
 
struct  RegularLimitParametersDefaultTypeInternal
 
struct  LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal
 
struct  LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal
 
struct  LocalSearchStatisticsDefaultTypeInternal
 
struct  ConstraintSolverStatisticsDefaultTypeInternal
 
struct  SearchStatisticsDefaultTypeInternal
 
struct  ConstraintSolverParametersDefaultTypeInternal
 
struct  ArcDefaultTypeInternal
 
struct  NodeDefaultTypeInternal
 
struct  FlowModelDefaultTypeInternal
 
struct  GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal
 
struct  GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal
 
struct  GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal
 
struct  GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal
 
struct  GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal
 
struct  GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal
 
struct  GScipParametersDefaultTypeInternal
 
struct  GScipSolvingStatsDefaultTypeInternal
 
struct  GScipOutputDefaultTypeInternal
 
class  GScipParameters_BoolParamsEntry_DoNotUse
 
class  GScipParameters_IntParamsEntry_DoNotUse
 
class  GScipParameters_LongParamsEntry_DoNotUse
 
class  GScipParameters_RealParamsEntry_DoNotUse
 
class  GScipParameters_CharParamsEntry_DoNotUse
 
class  GScipParameters_StringParamsEntry_DoNotUse
 
struct  MPVariableProtoDefaultTypeInternal
 
struct  MPConstraintProtoDefaultTypeInternal
 
struct  MPGeneralConstraintProtoDefaultTypeInternal
 
struct  MPIndicatorConstraintDefaultTypeInternal
 
struct  MPSosConstraintDefaultTypeInternal
 
struct  MPQuadraticConstraintDefaultTypeInternal
 
struct  MPAbsConstraintDefaultTypeInternal
 
struct  MPArrayConstraintDefaultTypeInternal
 
struct  MPArrayWithConstantConstraintDefaultTypeInternal
 
struct  MPQuadraticObjectiveDefaultTypeInternal
 
struct  PartialVariableAssignmentDefaultTypeInternal
 
struct  MPModelProtoDefaultTypeInternal
 
struct  OptionalDoubleDefaultTypeInternal
 
struct  MPSolverCommonParametersDefaultTypeInternal
 
struct  MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal
 
struct  MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal
 
struct  MPModelDeltaProtoDefaultTypeInternal
 
struct  MPModelRequestDefaultTypeInternal
 
struct  MPSolutionDefaultTypeInternal
 
struct  MPSolutionResponseDefaultTypeInternal
 
class  MPModelDeltaProto_VariableOverridesEntry_DoNotUse
 
class  MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse
 
class  SimpleLinearSumAssignment
 
class  AStarSP
 
class  BellmanFord
 
class  ChristofidesPathSolver
 
class  BronKerboschAlgorithm
 
class  DijkstraSP
 
class  EbertGraph
 
class  ForwardEbertGraph
 
class  ForwardStaticGraph
 
class  StarGraphBase
 
class  PermutationIndexComparisonByArcHead
 
class  EbertGraphBase
 
struct  graph_traits
 
struct  graph_traits< ForwardEbertGraph< NodeIndexType, ArcIndexType > >
 
struct  graph_traits< ForwardStaticGraph< NodeIndexType, ArcIndexType > >
 
class  TailArrayManager
 
class  ArcFunctorOrderingByTailAndHead
 
class  AnnotatedGraphBuildManager
 
struct  Graphs
 
struct  Graphs< operations_research::StarGraph >
 
class  ElementIterator
 
class  Set
 
class  SetRangeIterator
 
class  SetRangeWithCardinality
 
class  LatticeMemoryManager
 
class  HamiltonianPathSolver
 
class  PruningHamiltonianSolver
 
class  LinearSumAssignment
 
class  CostValueCycleHandler
 
class  ArcIndexOrderingByTailNode
 
class  GenericMaxFlow
 
class  SimpleMaxFlow
 
class  PriorityQueueWithRestrictedPush
 
class  MaxFlowStatusClass
 
class  MaxFlow
 
class  GenericMinCostFlow
 
class  MinCostFlowBase
 
class  SimpleMinCostFlow
 
class  MinCostFlow
 
class  VolgenantJonkerEvaluator
 
class  HeldWolfeCrowderEvaluator
 
struct  TravelingSalesmanLowerBoundParameters
 
class  MinCostPerfectMatching
 
class  BlossomGraph
 
struct  GScipResult
 
struct  GScipLinearRange
 
class  GScip
 
struct  GScipQuadraticRange
 
struct  GScipSOSData
 
struct  GScipIndicatorConstraint
 
struct  GScipLogicalConstraintData
 
struct  GScipVariableOptions
 
struct  GScipConstraintOptions
 
struct  GScipEventHandlerDescription
 
class  GScipEventHandlerContext
 
class  GScipEventHandler
 
struct  GScipLinearExpr
 
struct  GScipIndicatorRangeConstraint
 
struct  CppFlags
 Simple structure that holds useful C++ flags to setup from non-C++ languages. More...
 
class  CppBridge
 This class performs various C++ initialization. More...
 
class  BopInterface
 
class  CBCInterface
 
class  CLPInterface
 
class  GLOPInterface
 
class  GurobiInterface
 
class  LinearExpr
 LinearExpr models a quantity that is linear in the decision variables (MPVariable) of an optimization problem, i.e. More...
 
class  LinearRange
 An expression of the form: More...
 
class  MPSolver
 This mathematical programming (MP) solver class is the main class though which users build and solve problems. More...
 
class  MPObjective
 A class to express a linear objective. More...
 
class  MPVariable
 The class for variables of a Mathematical Programming (MP) model. More...
 
class  MPConstraint
 The class for constraints of a Mathematical Programming (MP) model. More...
 
class  MPSolverParameters
 This class stores parameter settings for LP and MIP solvers. More...
 
class  MPSolverInterface
 
class  MPCallbackContext
 
class  MPCallback
 
class  MPCallbackList
 
struct  MPModelExportOptions
 Export options. More...
 
class  SatInterface
 
struct  CallbackSetup
 
struct  ScipConstraintHandlerDescription
 
class  ScipConstraintHandlerContext
 
struct  CallbackRangeConstraint
 
class  ScipConstraintHandler
 
struct  ScipCallbackConstraintOptions
 
class  SCIPInterface
 
class  ScipConstraintHandlerForMPCallback
 
class  ScipMPCallbackContext
 
class  AdaptiveParameterValue
 
class  AffineRelation
 
class  Bitset64
 
class  BitQueue64
 
class  SparseBitset
 
class  CachedLog
 
class  ScopedFloatingPointEnv
 
class  GraphExporter
 
class  IntegerPriorityQueue
 
class  LazyMutableCopy
 
class  SolverLogger
 
class  MonoidOperationTree
 
class  PermutationCycleHandler
 
class  ArrayIndexCycleHandler
 
class  PermutationApplier
 
class  PiecewiseSegment
 
class  PiecewiseLinearFunction
 
class  RangeMinimumQuery
 
class  RangeMinimumIndexQuery
 
class  RangeIntToIntFunction
 
class  RangeMinMaxIndexFunction
 
class  ReversibleInterface
 
class  RevRepository
 
class  RevVector
 
class  RevMap
 
class  RevGrowingMultiMap
 
class  RunningAverage
 
class  RunningMax
 
class  SigintHandler
 
struct  ClosedInterval
 Represents a closed interval [start, end]. More...
 
class  Domain
 We call domain any subset of Int64 = [kint64min, kint64max]. More...
 
class  SortedDisjointIntervalList
 This class represents a sorted list of disjoint, closed intervals. More...
 
class  Stat
 
class  StatsGroup
 
class  DistributionStat
 
class  TimeDistribution
 
class  RatioDistribution
 
class  DoubleDistribution
 
class  IntegerDistribution
 
class  EnabledScopedTimeDistributionUpdater
 
class  DisabledScopedTimeDistributionUpdater
 
class  DisabledScopedInstructionCounter
 
class  TimeLimit
 A simple class to enforce both an elapsed time limit and a deterministic time limit in the same thread as a program. More...
 
class  SharedTimeLimit
 
class  NestedTimeLimit
 Provides a way to nest time limits for algorithms where a certain part of the computation is bounded not just by the overall time limit, but also by a stricter time limit specific just for this particular part. More...
 
class  IntTupleSet
 
class  VectorMap
 
class  VectorOrFunction
 
class  VectorOrFunction< ScalarType, std::vector< ScalarType > >
 
class  MatrixOrFunction
 
class  MatrixOrFunction< ScalarType, std::vector< std::vector< ScalarType > >, square >
 
class  ZVector
 

Typedefs

typedef KnapsackItemKnapsackItemPtr
 
using KnapsackItemForCutsPtr = std::unique_ptr< KnapsackItemForCuts >
 
typedef VarLocalSearchOperator< SequenceVar, std::vector< int >, SequenceVarLocalSearchHandlerSequenceVarLocalSearchOperatorTemplate
 
typedef std::function< int64_t(int64_t)> RoutingTransitCallback1
 
typedef std::function< int64_t(int64_t, int64_t)> RoutingTransitCallback2
 
typedef std::pair< std::vector< int64_t >, std::vector< int64_t > > RoutingIndexPair
 
typedef std::vector< RoutingIndexPairRoutingIndexPairs
 
typedef std::pair< int64_t, int64_t > Arc
 
using NodeIndex = int32_t
 
typedef int32_t ArcIndex
 
typedef int64_t FlowQuantity
 
using CostValue = int64_t
 
typedef EbertGraph< NodeIndex, ArcIndexStarGraph
 
typedef ForwardEbertGraph< NodeIndex, ArcIndexForwardStarGraph
 
typedef ForwardStaticGraph< NodeIndex, ArcIndexForwardStarStaticGraph
 
typedef ZVector< NodeIndexNodeIndexArray
 
typedef ZVector< ArcIndexArcIndexArray
 
typedef ZVector< FlowQuantityQuantityArray
 
typedef ZVector< CostValueCostArray
 
typedef int PathNodeIndex
 
using GScipSolution = absl::flat_hash_map< SCIP_VAR *, double >
 
using GScipBranchingPriority = absl::flat_hash_map< SCIP_VAR *, int >
 
using GScipMessageHandler = std::function< void(GScipMessageType type, absl::string_view message)>
 
using random_engine_t = std::mt19937
 
typedef std::pair< int64_t, int64_t > Fraction
 
template<class Iterator >
using value_type_t = typename std::iterator_traits< Iterator >::value_type
 
using ScopedTimeDistributionUpdater = DisabledScopedTimeDistributionUpdater
 
using ScopedInstructionCounter = DisabledScopedInstructionCounter
 
typedef ZVector< int8_t > Int8ZVector
 
typedef ZVector< int16_t > Int16ZVector
 
typedef ZVector< int32_t > Int32ZVector
 
typedef ZVector< int64_t > Int64ZVector
 
typedef ZVector< uint8_t > UInt8ZVector
 
typedef ZVector< uint16_t > UInt16ZVector
 
typedef ZVector< uint32_t > UInt32ZVector
 
typedef ZVector< uint64_t > UInt64ZVector
 

Enumerations

enum  VarTypes {
  UNSPECIFIED , DOMAIN_INT_VAR , BOOLEAN_VAR , CONST_VAR ,
  VAR_ADD_CST , VAR_TIMES_CST , CST_SUB_VAR , OPP_VAR ,
  TRACE_VAR
}
 This enum is used internally to do dynamic typing on subclasses of integer variables. More...
 
enum class  DimensionSchedulingStatus { OPTIMAL , RELAXED_OPTIMAL_ONLY , INFEASIBLE }
 
enum  FirstSolutionStrategy_Value : int {
  FirstSolutionStrategy_Value_UNSET = 0 , FirstSolutionStrategy_Value_AUTOMATIC = 15 , FirstSolutionStrategy_Value_PATH_CHEAPEST_ARC = 3 , FirstSolutionStrategy_Value_PATH_MOST_CONSTRAINED_ARC = 4 ,
  FirstSolutionStrategy_Value_EVALUATOR_STRATEGY = 5 , FirstSolutionStrategy_Value_SAVINGS = 10 , FirstSolutionStrategy_Value_SWEEP = 11 , FirstSolutionStrategy_Value_CHRISTOFIDES = 13 ,
  FirstSolutionStrategy_Value_ALL_UNPERFORMED = 6 , FirstSolutionStrategy_Value_BEST_INSERTION = 7 , FirstSolutionStrategy_Value_PARALLEL_CHEAPEST_INSERTION = 8 , FirstSolutionStrategy_Value_SEQUENTIAL_CHEAPEST_INSERTION = 14 ,
  FirstSolutionStrategy_Value_LOCAL_CHEAPEST_INSERTION = 9 , FirstSolutionStrategy_Value_GLOBAL_CHEAPEST_ARC = 1 , FirstSolutionStrategy_Value_LOCAL_CHEAPEST_ARC = 2 , FirstSolutionStrategy_Value_FIRST_UNBOUND_MIN_VALUE = 12 ,
  FirstSolutionStrategy_Value_FirstSolutionStrategy_Value_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() , FirstSolutionStrategy_Value_FirstSolutionStrategy_Value_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum  LocalSearchMetaheuristic_Value : int {
  LocalSearchMetaheuristic_Value_UNSET = 0 , LocalSearchMetaheuristic_Value_AUTOMATIC = 6 , LocalSearchMetaheuristic_Value_GREEDY_DESCENT = 1 , LocalSearchMetaheuristic_Value_GUIDED_LOCAL_SEARCH = 2 ,
  LocalSearchMetaheuristic_Value_SIMULATED_ANNEALING = 3 , LocalSearchMetaheuristic_Value_TABU_SEARCH = 4 , LocalSearchMetaheuristic_Value_GENERIC_TABU_SEARCH = 5 , LocalSearchMetaheuristic_Value_LocalSearchMetaheuristic_Value_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() ,
  LocalSearchMetaheuristic_Value_LocalSearchMetaheuristic_Value_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum  RoutingSearchParameters_SchedulingSolver : int {
  RoutingSearchParameters_SchedulingSolver_UNSET = 0 , RoutingSearchParameters_SchedulingSolver_GLOP = 1 , RoutingSearchParameters_SchedulingSolver_CP_SAT = 2 , RoutingSearchParameters_SchedulingSolver_RoutingSearchParameters_SchedulingSolver_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() ,
  RoutingSearchParameters_SchedulingSolver_RoutingSearchParameters_SchedulingSolver_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum  ConstraintSolverParameters_TrailCompression : int { ConstraintSolverParameters_TrailCompression_NO_COMPRESSION = 0 , ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB = 1 , ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() , ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() }
 
enum  FlowModel_ProblemType : int { FlowModel_ProblemType_LINEAR_SUM_ASSIGNMENT = 0 , FlowModel_ProblemType_MAX_FLOW = 1 , FlowModel_ProblemType_MIN_COST_FLOW = 2 }
 
enum  GScipParameters_Emphasis : int {
  GScipParameters_Emphasis_DEFAULT_EMPHASIS = 0 , GScipParameters_Emphasis_COUNTER = 1 , GScipParameters_Emphasis_CP_SOLVER = 2 , GScipParameters_Emphasis_EASY_CIP = 3 ,
  GScipParameters_Emphasis_FEASIBILITY = 4 , GScipParameters_Emphasis_HARD_LP = 5 , GScipParameters_Emphasis_OPTIMALITY = 6 , GScipParameters_Emphasis_PHASE_FEAS = 7 ,
  GScipParameters_Emphasis_PHASE_IMPROVE = 8 , GScipParameters_Emphasis_PHASE_PROOF = 9 , GScipParameters_Emphasis_GScipParameters_Emphasis_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() , GScipParameters_Emphasis_GScipParameters_Emphasis_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum  GScipParameters_MetaParamValue : int {
  GScipParameters_MetaParamValue_DEFAULT_META_PARAM_VALUE = 0 , GScipParameters_MetaParamValue_AGGRESSIVE = 1 , GScipParameters_MetaParamValue_FAST = 2 , GScipParameters_MetaParamValue_OFF = 3 ,
  GScipParameters_MetaParamValue_GScipParameters_MetaParamValue_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() , GScipParameters_MetaParamValue_GScipParameters_MetaParamValue_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum  GScipOutput_Status : int {
  GScipOutput_Status_UNKNOWN = 0 , GScipOutput_Status_USER_INTERRUPT = 1 , GScipOutput_Status_NODE_LIMIT = 2 , GScipOutput_Status_TOTAL_NODE_LIMIT = 3 ,
  GScipOutput_Status_STALL_NODE_LIMIT = 4 , GScipOutput_Status_TIME_LIMIT = 5 , GScipOutput_Status_MEM_LIMIT = 6 , GScipOutput_Status_GAP_LIMIT = 7 ,
  GScipOutput_Status_SOL_LIMIT = 8 , GScipOutput_Status_BEST_SOL_LIMIT = 9 , GScipOutput_Status_RESTART_LIMIT = 10 , GScipOutput_Status_OPTIMAL = 11 ,
  GScipOutput_Status_INFEASIBLE = 12 , GScipOutput_Status_UNBOUNDED = 13 , GScipOutput_Status_INF_OR_UNBD = 14 , GScipOutput_Status_TERMINATE = 15 ,
  GScipOutput_Status_INVALID_SOLVER_PARAMETERS = 16 , GScipOutput_Status_GScipOutput_Status_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() , GScipOutput_Status_GScipOutput_Status_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum  MPSosConstraint_Type : int { MPSosConstraint_Type_SOS1_DEFAULT = 0 , MPSosConstraint_Type_SOS2 = 1 }
 
enum  MPSolverCommonParameters_LPAlgorithmValues : int { MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_UNSPECIFIED = 0 , MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_DUAL = 1 , MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_PRIMAL = 2 , MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_BARRIER = 3 }
 
enum  MPModelRequest_SolverType : int {
  MPModelRequest_SolverType_GLOP_LINEAR_PROGRAMMING = 2 , MPModelRequest_SolverType_CLP_LINEAR_PROGRAMMING = 0 , MPModelRequest_SolverType_GLPK_LINEAR_PROGRAMMING = 1 , MPModelRequest_SolverType_GUROBI_LINEAR_PROGRAMMING = 6 ,
  MPModelRequest_SolverType_XPRESS_LINEAR_PROGRAMMING = 101 , MPModelRequest_SolverType_CPLEX_LINEAR_PROGRAMMING = 10 , MPModelRequest_SolverType_SCIP_MIXED_INTEGER_PROGRAMMING = 3 , MPModelRequest_SolverType_GLPK_MIXED_INTEGER_PROGRAMMING = 4 ,
  MPModelRequest_SolverType_CBC_MIXED_INTEGER_PROGRAMMING = 5 , MPModelRequest_SolverType_GUROBI_MIXED_INTEGER_PROGRAMMING = 7 , MPModelRequest_SolverType_XPRESS_MIXED_INTEGER_PROGRAMMING = 102 , MPModelRequest_SolverType_CPLEX_MIXED_INTEGER_PROGRAMMING = 11 ,
  MPModelRequest_SolverType_BOP_INTEGER_PROGRAMMING = 12 , MPModelRequest_SolverType_SAT_INTEGER_PROGRAMMING = 14 , MPModelRequest_SolverType_KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13
}
 
enum  MPSolverResponseStatus : int {
  MPSOLVER_OPTIMAL = 0 , MPSOLVER_FEASIBLE = 1 , MPSOLVER_INFEASIBLE = 2 , MPSOLVER_UNBOUNDED = 3 ,
  MPSOLVER_ABNORMAL = 4 , MPSOLVER_NOT_SOLVED = 6 , MPSOLVER_MODEL_IS_VALID = 97 , MPSOLVER_UNKNOWN_STATUS = 99 ,
  MPSOLVER_MODEL_INVALID = 5 , MPSOLVER_MODEL_INVALID_SOLUTION_HINT = 84 , MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS = 85 , MPSOLVER_SOLVER_TYPE_UNAVAILABLE = 7
}
 
enum  OptionalBoolean : int {
  BOOL_UNSPECIFIED = 0 , BOOL_FALSE = 2 , BOOL_TRUE = 3 , OptionalBoolean_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min() ,
  OptionalBoolean_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
}
 
enum class  CliqueResponse { CONTINUE , STOP }
 
enum class  BronKerboschAlgorithmStatus { COMPLETED , INTERRUPTED }
 
enum class  GScipVarType { kContinuous , kInteger , kImpliedInteger }
 
enum class  GScipHintResult { kInfeasible , kRejected , kAccepted }
 
enum class  GScipMessageType { kInfoMessage , kDialogMessage , kWarningMessage }
 
enum class  MPCallbackEvent {
  kUnknown , kPolling , kPresolve , kSimplex ,
  kMip , kMipSolution , kMipNode , kBarrier ,
  kMessage , kMultiObj
}
 
enum class  ScipSeparationResult { kLazyConstraintAdded , kCuttingPlaneAdded , kDidNotFind }
 
enum class  ProtoWriteFormat { kProtoText , kProtoBinary , kJson }
 

Functions

bool InputContainsNan (const std::vector< std::vector< double >> &input)
 
void MinimizeLinearAssignment (const std::vector< std::vector< double >> &cost, absl::flat_hash_map< int, int > *direct_assignment, absl::flat_hash_map< int, int > *reverse_assignment)
 
void MaximizeLinearAssignment (const std::vector< std::vector< double >> &cost, absl::flat_hash_map< int, int > *direct_assignment, absl::flat_hash_map< int, int > *reverse_assignment)
 
void MinimizeLinearAssignment (const std::vector< std::vector< double > > &cost, absl::flat_hash_map< int, int > *direct_assignment, absl::flat_hash_map< int, int > *reverse_assignment)
 
void MaximizeLinearAssignment (const std::vector< std::vector< double > > &cost, absl::flat_hash_map< int, int > *direct_assignment, absl::flat_hash_map< int, int > *reverse_assignment)
 
void GenericCheck (const int expected_assignment_size, const absl::flat_hash_map< int, int > &direct_assignment, const absl::flat_hash_map< int, int > &reverse_assignment, const int expected_agents[], const int expected_tasks[])
 
void TestMinimization (const std::vector< std::vector< double > > &cost, const int expected_assignment_size, const int expected_agents[], const int expected_tasks[])
 
void TestMaximization (const std::vector< std::vector< double > > &cost, const int expected_assignment_size, const int expected_agents[], const int expected_tasks[])
 
 TEST (LinearAssignmentTest, NullMatrix)
 
 TEST (LinearAssignmentTest, SizeOneMatrix)
 
 TEST (LinearAssignmentTest, Small4x4Matrix)
 
 TEST (LinearAssignmentTest, Small3x4Matrix)
 
 TEST (LinearAssignmentTest, Small4x3Matrix)
 
bool CompareKnapsackItemWithEfficiencyInDecreasingEfficiencyOrder (const KnapsackItemWithEfficiency &item1, const KnapsackItemWithEfficiency &item2)
 
const KnapsackSearchNodeForCutsMoveUpToDepth (const KnapsackSearchNodeForCuts *node, int depth)
 
static void mix (uint32_t &a, uint32_t &b, uint32_t &c)
 
static void mix (uint64_t &a, uint64_t &b, uint64_t &c)
 
uint32_t Hash32NumWithSeed (uint32_t num, uint32_t c)
 
uint64_t Hash64NumWithSeed (uint64_t num, uint64_t c)
 
int64_t GetProcessMemoryUsage ()
 
uint64_t MixTwoUInt64 (uint64_t fp1, uint64_t fp2)
 
uint64_t ThoroughHash (const char *bytes, size_t len)
 
void RunWorker (void *data)
 
int OrToolsMajorVersion ()
 
int OrToolsMinorVersion ()
 
template<class Var , class Element , class Proto , class Container >
void RealLoad (const AssignmentProto &assignment_proto, Container *const container, int(AssignmentProto::*GetSize)() const, const Proto &(AssignmentProto::*GetElem)(int) const)
 
template<class Var , class Element , class Proto , class Container >
void RealSave (AssignmentProto *const assignment_proto, const Container &container, Proto *(AssignmentProto::*Add)())
 
template<class Container , class Element >
void RealDebugString (const Container &container, std::string *const out)
 
void SetAssignmentFromAssignment (Assignment *target_assignment, const std::vector< IntVar * > &target_vars, const Assignment *source_assignment, const std::vector< IntVar * > &source_vars)
 NOLINT. More...
 
std::ostream & operator<< (std::ostream &out, const Assignment &assignment)
 
DemonProfilerBuildDemonProfiler (Solver *const solver)
 
void DeleteDemonProfiler (DemonProfiler *const monitor)
 
void InstallDemonProfiler (DemonProfiler *const monitor)
 
LocalSearchProfilerBuildLocalSearchProfiler (Solver *solver)
 
void DeleteLocalSearchProfiler (LocalSearchProfiler *monitor)
 
void InstallLocalSearchProfiler (LocalSearchProfiler *monitor)
 
void CleanVariableOnFail (IntVar *const var)
 
void RestoreBoolValue (IntVar *const var)
 
void InternalSaveBooleanVarValue (Solver *const solver, IntVar *const var)
 
bool LocalOptimumReached (Search *const search)
 
bool AcceptDelta (Search *const search, Assignment *delta, Assignment *deltadelta)
 
void AcceptNeighbor (Search *const search)
 
void AcceptUncheckedNeighbor (Search *const search)
 
PropagationMonitorBuildTrace (Solver *const s)
 
LocalSearchMonitorBuildLocalSearchMonitorMaster (Solver *const s)
 
ModelCacheBuildModelCache (Solver *const solver)
 
PropagationMonitorBuildPrintTrace (Solver *const s)
 
std::ostream & operator<< (std::ostream &out, const Solver *const s)
 
std::ostream & operator<< (std::ostream &out, const BaseObject *const o)
 
int64_t CpRandomSeed ()
 
int64_t Zero ()
 NOLINT. More...
 
int64_t One ()
 This method returns 1. More...
 
uint64_t Hash1 (uint64_t value)
 Hash functions. More...
 
uint64_t Hash1 (uint32_t value)
 
uint64_t Hash1 (int64_t value)
 
uint64_t Hash1 (int value)
 
uint64_t Hash1 (void *const ptr)
 
template<class T >
uint64_t Hash1 (const std::vector< T * > &ptrs)
 
uint64_t Hash1 (const std::vector< int64_t > &ptrs)
 
template<class T >
LocalSearchOperatorMakeLocalSearchOperator (Solver *solver, const std::vector< IntVar * > &vars, const std::vector< IntVar * > &secondary_vars, std::function< int(int64_t)> start_empty_path_class)
 Operator Factories. More...
 
template<class T >
bool IsArrayConstant (const std::vector< T > &values, const T &value)
 
template<class T >
bool IsArrayBoolean (const std::vector< T > &values)
 
template<class T >
bool AreAllOnes (const std::vector< T > &values)
 
template<class T >
bool AreAllNull (const std::vector< T > &values)
 
template<class T >
bool AreAllGreaterOrEqual (const std::vector< T > &values, const T &value)
 
template<class T >
bool AreAllLessOrEqual (const std::vector< T > &values, const T &value)
 
template<class T >
bool AreAllPositive (const std::vector< T > &values)
 
template<class T >
bool AreAllNegative (const std::vector< T > &values)
 
template<class T >
bool AreAllStrictlyPositive (const std::vector< T > &values)
 
template<class T >
bool AreAllStrictlyNegative (const std::vector< T > &values)
 
template<class T >
bool IsIncreasingContiguous (const std::vector< T > &values)
 
template<class T >
bool IsIncreasing (const std::vector< T > &values)
 
template<class T >
bool IsArrayInRange (const std::vector< IntVar * > &vars, T range_min, T range_max)
 
bool AreAllBound (const std::vector< IntVar * > &vars)
 
bool AreAllBooleans (const std::vector< IntVar * > &vars)
 
template<class T >
bool AreAllBoundOrNull (const std::vector< IntVar * > &vars, const std::vector< T > &values)
 Returns true if all the variables are assigned to a single value, or if their corresponding value is null. More...
 
bool AreAllBoundTo (const std::vector< IntVar * > &vars, int64_t value)
 Returns true if all variables are assigned to 'value'. More...
 
int64_t MaxVarArray (const std::vector< IntVar * > &vars)
 
int64_t MinVarArray (const std::vector< IntVar * > &vars)
 
void FillValues (const std::vector< IntVar * > &vars, std::vector< int64_t > *const values)
 
int64_t PosIntDivUp (int64_t e, int64_t v)
 
int64_t PosIntDivDown (int64_t e, int64_t v)
 
std::vector< int64_t > ToInt64Vector (const std::vector< int > &input)
 
LocalSearchFilterMakePathStateFilter (Solver *solver, std::unique_ptr< PathState > path_state, const std::vector< IntVar * > &nexts)
 
LocalSearchFilterMakeUnaryDimensionFilter (Solver *solver, std::unique_ptr< UnaryDimensionChecker > checker)
 
std::string DefaultPhaseStatString (DecisionBuilder *db)
 
void RegisterDemon (Solver *const solver, Demon *const demon, DemonProfiler *const monitor)
 
void DemonProfilerAddFakeRun (DemonProfiler *const monitor, Demon *const demon, int64_t start_time, int64_t end_time, bool is_fail)
 
void DemonProfilerExportInformation (DemonProfiler *const monitor, const Constraint *const constraint, int64_t *const fails, int64_t *const initial_propagation_runtime, int64_t *const demon_invocations, int64_t *const total_demon_runtime, int *const demon_count)
 
void DemonProfilerBeginInitialPropagation (DemonProfiler *const monitor, Constraint *const constraint)
 
void DemonProfilerEndInitialPropagation (DemonProfiler *const monitor, Constraint *const constraint)
 
void LinkVarExpr (Solver *const s, IntExpr *const expr, IntVar *const var)
 
ConstraintSetIsEqual (IntVar *const var, const std::vector< int64_t > &values, const std::vector< IntVar * > &vars)
 
ConstraintSetIsGreaterOrEqual (IntVar *const var, const std::vector< int64_t > &values, const std::vector< IntVar * > &vars)
 
IntExprBuildStartExpr (IntervalVar *var)
 
IntExprBuildDurationExpr (IntervalVar *var)
 
IntExprBuildEndExpr (IntervalVar *var)
 
IntExprBuildSafeStartExpr (IntervalVar *var, int64_t unperformed_value)
 
IntExprBuildSafeDurationExpr (IntervalVar *var, int64_t unperformed_value)
 
IntExprBuildSafeEndExpr (IntervalVar *var, int64_t unperformed_value)
 
DecisionBuilderMakeSetValuesFromTargets (Solver *solver, std::vector< IntVar * > variables, std::vector< int64_t > targets)
 A decision builder which tries to assign values to variables as close as possible to target values first. More...
 
bool HasUnaryDimension (const std::vector< RoutingDimension * > &dimensions)
 
void FillPathEvaluation (const std::vector< int64_t > &path, const RoutingModel::TransitCallback2 &evaluator, std::vector< int64_t > *values)
 
void AppendTasksFromPath (const std::vector< int64_t > &path, const TravelBounds &travel_bounds, const RoutingDimension &dimension, DisjunctivePropagator::Tasks *tasks)
 
void AppendTasksFromIntervals (const std::vector< IntervalVar * > &intervals, DisjunctivePropagator::Tasks *tasks)
 
void FillTravelBoundsOfVehicle (int vehicle, const std::vector< int64_t > &path, const RoutingDimension &dimension, TravelBounds *travel_bounds)
 
bool SolveModelWithSat (const RoutingModel &model, const RoutingSearchParameters &search_parameters, const Assignment *initial_solution, Assignment *solution)
 Attempts to solve the model using the cp-sat solver. More...
 
IntVarLocalSearchFilterMakeVehicleBreaksFilter (const RoutingModel &routing_model, const RoutingDimension &dimension)
 
IntVarLocalSearchFilterMakeMaxActiveVehiclesFilter (const RoutingModel &routing_model)
 Returns a filter ensuring that max active vehicles constraints are enforced. More...
 
IntVarLocalSearchFilterMakeNodeDisjunctionFilter (const RoutingModel &routing_model)
 Returns a filter ensuring that node disjunction constraints are enforced. More...
 
IntVarLocalSearchFilterMakeVehicleAmortizedCostFilter (const RoutingModel &routing_model)
 Returns a filter computing vehicle amortized costs. More...
 
IntVarLocalSearchFilterMakeTypeRegulationsFilter (const RoutingModel &routing_model)
 Returns a filter ensuring type regulation constraints are enforced. More...
 
IntVarLocalSearchFilterMakePathCumulFilter (const RoutingDimension &dimension, const RoutingSearchParameters &parameters, bool propagate_own_objective_value, bool filter_objective_cost, bool can_use_lp=true)
 Returns a filter handling dimension costs and constraints. More...
 
void AppendLightWeightDimensionFilters (const PathState *path_state, const std::vector< RoutingDimension * > &dimensions, std::vector< LocalSearchFilterManager::FilterEvent > *filters)
 Appends dimension-based filters to the given list of filters using a path state. More...
 
void AppendDimensionCumulFilters (const std::vector< RoutingDimension * > &dimensions, const RoutingSearchParameters &parameters, bool filter_objective_cost, std::vector< LocalSearchFilterManager::FilterEvent > *filters)
 
IntVarLocalSearchFilterMakePickupDeliveryFilter (const RoutingModel &routing_model, const RoutingModel::IndexPairs &pairs, const std::vector< RoutingModel::PickupAndDeliveryPolicy > &vehicle_policies)
 Returns a filter enforcing pickup and delivery constraints for the given pair of nodes and given policies. More...
 
IntVarLocalSearchFilterMakeVehicleVarFilter (const RoutingModel &routing_model)
 Returns a filter checking that vehicle variable domains are respected. More...
 
IntVarLocalSearchFilterMakeCumulBoundsPropagatorFilter (const RoutingDimension &dimension)
 Returns a filter handling dimension cumul bounds. More...
 
IntVarLocalSearchFilterMakeGlobalLPCumulFilter (GlobalDimensionCumulOptimizer *optimizer, bool filter_objective_cost)
 Returns a filter checking global linear constraints and costs. More...
 
IntVarLocalSearchFilterMakeCPFeasibilityFilter (RoutingModel *routing_model)
 Returns a filter checking the current solution using CP propagation. More...
 
void SetFirstSolutionStrategyFromFlags (RoutingSearchParameters *parameters)
 
void SetLocalSearchMetaheuristicFromFlags (RoutingSearchParameters *parameters)
 
void AddLocalSearchNeighborhoodOperatorsFromFlags (RoutingSearchParameters *parameters)
 
void SetSearchLimitsFromFlags (RoutingSearchParameters *parameters)
 
void SetMiscellaneousParametersFromFlags (RoutingSearchParameters *parameters)
 
RoutingSearchParameters BuildSearchParametersFromFlags ()
 Builds routing search parameters from flags. More...
 
RoutingModelParameters BuildModelParametersFromFlags ()
 Builds routing search parameters from flags. More...
 
RoutingModelParameters DefaultRoutingModelParameters ()
 
RoutingSearchParameters DefaultRoutingSearchParameters ()
 
std::string FindErrorInRoutingSearchParameters (const RoutingSearchParameters &search_parameters)
 Returns an empty std::string if the routing search parameters are valid, and a non-empty, human readable error description if they're not. More...
 
FirstSolutionStrategy::Value AutomaticFirstSolutionStrategy (bool has_pickup_deliveries, bool has_node_precedences, bool has_single_vehicle_node)
 Returns the best value for the automatic first solution strategy, based on the given model parameters. More...
 
DecisionBuilderMakeSweepDecisionBuilder (RoutingModel *model, bool check_assignment)
 
DecisionBuilderMakeAllUnperformed (RoutingModel *model)
 
 DEFINE_INT_TYPE (RoutingNodeIndex, int)
 Defining common types used in the routing library outside the main RoutingModel class has several purposes: 1) It allows some small libraries to avoid a dependency on routing. More...
 
 DEFINE_INT_TYPE (RoutingCostClassIndex, int)
 
 DEFINE_INT_TYPE (RoutingDimensionIndex, int)
 
 DEFINE_INT_TYPE (RoutingDisjunctionIndex, int)
 
 DEFINE_INT_TYPE (RoutingVehicleClassIndex, int)
 
BaseAssignVariables::Mode ChooseMode (Solver::IntValueStrategy val_str)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FirstSolutionStrategy_Value_descriptor ()
 
bool FirstSolutionStrategy_Value_IsValid (int value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LocalSearchMetaheuristic_Value_descriptor ()
 
bool LocalSearchMetaheuristic_Value_IsValid (int value)
 
template<typename T >
const std::string & FirstSolutionStrategy_Value_Name (T enum_t_value)
 
bool FirstSolutionStrategy_Value_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FirstSolutionStrategy_Value *value)
 
template<typename T >
const std::string & LocalSearchMetaheuristic_Value_Name (T enum_t_value)
 
bool LocalSearchMetaheuristic_Value_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LocalSearchMetaheuristic_Value *value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * RoutingSearchParameters_SchedulingSolver_descriptor ()
 
bool RoutingSearchParameters_SchedulingSolver_IsValid (int value)
 
template<typename T >
const std::string & RoutingSearchParameters_SchedulingSolver_Name (T enum_t_value)
 
bool RoutingSearchParameters_SchedulingSolver_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RoutingSearchParameters_SchedulingSolver *value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor ()
 
bool ConstraintSolverParameters_TrailCompression_IsValid (int value)
 
template<typename T >
const std::string & ConstraintSolverParameters_TrailCompression_Name (T enum_t_value)
 
bool ConstraintSolverParameters_TrailCompression_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConstraintSolverParameters_TrailCompression *value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModel_ProblemType_descriptor ()
 
bool FlowModel_ProblemType_IsValid (int value)
 
template<typename T >
const std::string & FlowModel_ProblemType_Name (T enum_t_value)
 
bool FlowModel_ProblemType_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FlowModel_ProblemType *value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_Emphasis_descriptor ()
 
bool GScipParameters_Emphasis_IsValid (int value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_MetaParamValue_descriptor ()
 
bool GScipParameters_MetaParamValue_IsValid (int value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipOutput_Status_descriptor ()
 
bool GScipOutput_Status_IsValid (int value)
 
template<typename T >
const std::string & GScipParameters_Emphasis_Name (T enum_t_value)
 
bool GScipParameters_Emphasis_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GScipParameters_Emphasis *value)
 
template<typename T >
const std::string & GScipParameters_MetaParamValue_Name (T enum_t_value)
 
bool GScipParameters_MetaParamValue_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GScipParameters_MetaParamValue *value)
 
template<typename T >
const std::string & GScipOutput_Status_Name (T enum_t_value)
 
bool GScipOutput_Status_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GScipOutput_Status *value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPSosConstraint_Type_descriptor ()
 
bool MPSosConstraint_Type_IsValid (int value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPSolverCommonParameters_LPAlgorithmValues_descriptor ()
 
bool MPSolverCommonParameters_LPAlgorithmValues_IsValid (int value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPModelRequest_SolverType_descriptor ()
 
bool MPModelRequest_SolverType_IsValid (int value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPSolverResponseStatus_descriptor ()
 
bool MPSolverResponseStatus_IsValid (int value)
 
template<typename T >
const std::string & MPSosConstraint_Type_Name (T enum_t_value)
 
bool MPSosConstraint_Type_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MPSosConstraint_Type *value)
 
template<typename T >
const std::string & MPSolverCommonParameters_LPAlgorithmValues_Name (T enum_t_value)
 
bool MPSolverCommonParameters_LPAlgorithmValues_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MPSolverCommonParameters_LPAlgorithmValues *value)
 
template<typename T >
const std::string & MPModelRequest_SolverType_Name (T enum_t_value)
 
bool MPModelRequest_SolverType_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MPModelRequest_SolverType *value)
 
template<typename T >
const std::string & MPSolverResponseStatus_Name (T enum_t_value)
 
bool MPSolverResponseStatus_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MPSolverResponseStatus *value)
 
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * OptionalBoolean_descriptor ()
 
bool OptionalBoolean_IsValid (int value)
 
template<typename T >
const std::string & OptionalBoolean_Name (T enum_t_value)
 
bool OptionalBoolean_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OptionalBoolean *value)
 
bool AStarShortestPath (int node_count, int start_node, int end_node, std::function< int64_t(int, int)> graph, std::function< int64_t(int)> heuristic, int64_t disconnected_distance, std::vector< int > *nodes)
 
bool BellmanFordShortestPath (int node_count, int start_node, int end_node, std::function< int64_t(int, int)> graph, int64_t disconnected_distance, std::vector< int > *nodes)
 
template<typename WeightFunctionType , typename GraphType >
absl::StatusOr< std::vector< std::pair< typename GraphType::NodeIndex, typename GraphType::NodeIndex > > > ComputeMinimumWeightMatching (const GraphType &graph, const WeightFunctionType &weight)
 
template<typename WeightFunctionType , typename GraphType >
absl::StatusOr< std::vector< std::pair< typename GraphType::NodeIndex, typename GraphType::NodeIndex > > > ComputeMinimumWeightMatchingWithMIP (const GraphType &graph, const WeightFunctionType &weight)
 
void FindCliques (std::function< bool(int, int)> graph, int node_count, std::function< bool(const std::vector< int > &)> callback)
 
void CoverArcsByCliques (std::function< bool(int, int)> graph, int node_count, std::function< bool(const std::vector< int > &)> callback)
 
bool DijkstraShortestPath (int node_count, int start_node, int end_node, std::function< int64_t(int, int)> graph, int64_t disconnected_distance, std::vector< int > *nodes)
 
bool StableDijkstraShortestPath (int node_count, int start_node, int end_node, std::function< int64_t(int, int)> graph, int64_t disconnected_distance, std::vector< int > *nodes)
 
template<typename GraphType >
bool BuildLineGraph (const GraphType &graph, GraphType *const line_graph)
 
template<typename Graph >
bool IsEulerianGraph (const Graph &graph)
 
template<typename NodeIndex , typename Graph >
bool IsSemiEulerianGraph (const Graph &graph, std::vector< NodeIndex > *odd_nodes)
 
template<typename NodeIndex , typename Graph >
std::vector< NodeIndexBuildEulerianPathFromNode (const Graph &graph, NodeIndex root)
 
template<typename NodeIndex , typename Graph >
std::vector< NodeIndexBuildEulerianTourFromNode (const Graph &graph, NodeIndex root)
 
template<typename Graph >
std::vector< typename Graph::NodeIndex > BuildEulerianTour (const Graph &graph)
 
template<typename Graph >
std::vector< typename Graph::NodeIndex > BuildEulerianPath (const Graph &graph)
 
template<typename CostType , typename CostFunction >
HamiltonianPathSolver< CostType, CostFunction > MakeHamiltonianPathSolver (int num_nodes, CostFunction cost)
 
template<typename Graph >
std::vector< typename Graph::ArcIndex > BuildKruskalMinimumSpanningTreeFromSortedArcs (const Graph &graph, const std::vector< typename Graph::ArcIndex > &sorted_arcs)
 
template<typename Graph , typename ArcComparator >
std::vector< typename Graph::ArcIndex > BuildKruskalMinimumSpanningTree (const Graph &graph, const ArcComparator &arc_comparator)
 
template<typename Graph , typename ArcValue >
std::vector< typename Graph::ArcIndex > BuildPrimMinimumSpanningTree (const Graph &graph, const ArcValue &arc_value)
 
template<typename CostFunction >
std::set< std::pair< int, int > > NearestNeighbors (int number_of_nodes, int number_of_neighbors, const CostFunction &cost)
 
template<typename CostFunction >
void AddArcsFromMinimumSpanningTree (int number_of_nodes, const CostFunction &cost, std::set< std::pair< int, int >> *arcs)
 
template<typename CostFunction , typename GraphType , typename AcceptFunction >
int GetNodeMinimizingEdgeCostToSource (const GraphType &graph, int source, const CostFunction &cost, AcceptFunction accept)
 
template<typename CostFunction , typename GraphType , typename CostType >
std::vector< int > ComputeOneTree (const GraphType &graph, const CostFunction &cost, const std::vector< double > &weights, const std::vector< int > &sorted_arcs, CostType *one_tree_cost)
 
template<typename CostFunction , typename Algorithm >
double ComputeOneTreeLowerBoundWithAlgorithm (int number_of_nodes, int nearest_neighbors, const CostFunction &cost, Algorithm *algorithm)
 
template<typename CostFunction >
double ComputeOneTreeLowerBoundWithParameters (int number_of_nodes, const CostFunction &cost, const TravelingSalesmanLowerBoundParameters &parameters)
 
template<typename CostFunction >
double ComputeOneTreeLowerBound (int number_of_nodes, const CostFunction &cost)
 
const GScipVariableOptionsDefaultGScipVariableOptions ()
 
const GScipConstraintOptionsDefaultGScipConstraintOptions ()
 
void RegisterGScipEventHandler (GScip *scip, GScipEventHandler *handler)
 
GScipLinearExpr GScipDifference (GScipLinearExpr left, const GScipLinearExpr &right)
 
GScipLinearExpr GScipNegate (GScipLinearExpr expr)
 
GScipLinearRange GScipLe (const GScipLinearExpr left, const GScipLinearExpr &right)
 
absl::Status GScipCreateAbs (GScip *gscip, SCIP_Var *x, SCIP_Var *abs_x, const std::string &name)
 
absl::Status GScipCreateMaximum (GScip *gscip, const GScipLinearExpr &resultant, const std::vector< GScipLinearExpr > &terms, const std::string &name)
 
absl::Status GScipCreateMinimum (GScip *gscip, const GScipLinearExpr &resultant, const std::vector< GScipLinearExpr > &terms, const std::string &name)
 
absl::Status GScipAddQuadraticObjectiveTerm (GScip *gscip, std::vector< SCIP_Var * > quadratic_variables1, std::vector< SCIP_Var * > quadratic_variables2, std::vector< double > quadratic_coefficients, const std::string &name)
 
absl::Status GScipCreateIndicatorRange (GScip *gscip, const GScipIndicatorRangeConstraint &indicator_range, const std::string &name, const GScipConstraintOptions &options)
 
void GScipSetTimeLimit (absl::Duration time_limit, GScipParameters *parameters)
 
absl::Duration GScipTimeLimit (const GScipParameters &parameters)
 
bool GScipTimeLimitSet (const GScipParameters &parameters)
 
void GScipSetMaxNumThreads (int num_threads, GScipParameters *parameters)
 
int GScipMaxNumThreads (const GScipParameters &parameters)
 
bool GScipMaxNumThreadsSet (const GScipParameters &parameters)
 
void GScipSetLogLevel (GScipParameters *parameters, int log_level)
 
int GScipLogLevel (const GScipParameters &parameters)
 
bool GScipLogLevelSet (const GScipParameters &parameters)
 
void GScipSetOutputEnabled (GScipParameters *parameters, bool output_enabled)
 
bool GScipOutputEnabled (const GScipParameters &parameters)
 
bool GScipOutputEnabledSet (const GScipParameters &parameters)
 
void GScipSetRandomSeed (GScipParameters *parameters, int random_seed)
 
int GScipRandomSeed (const GScipParameters &parameters)
 
bool GScipRandomSeedSet (const GScipParameters &parameters)
 
absl::Status LegacyScipSetSolverSpecificParameters (const std::string &parameters, SCIP *scip)
 
bool GurobiIsCorrectlyInstalled ()
 
void LoadGurobiFunctions (DynamicLibrary *gurobi_dynamic_library)
 
std::vector< std::string > GurobiDynamicLibraryPotentialPaths ()
 
absl::Status LoadGurobiDynamicLibrary (std::vector< std::string > potential_paths)
 
absl::StatusOr< GRBenv * > GetGurobiEnv ()
 
MPSolverInterfaceBuildBopInterface (MPSolver *const solver)
 
MPSolverInterfaceBuildCBCInterface (MPSolver *const solver)
 
MPSolverInterfaceBuildCLPInterface (MPSolver *const solver)
 
MPSolverInterfaceBuildGLOPInterface (MPSolver *const solver)
 
MPSolver::ResultStatus GlopToMPSolverResultStatus (glop::ProblemStatus s)
 
MPSolver::BasisStatus GlopToMPSolverVariableStatus (glop::VariableStatus s)
 
glop::VariableStatus MPSolverToGlopVariableStatus (MPSolver::BasisStatus s)
 
MPSolver::BasisStatus GlopToMPSolverConstraintStatus (glop::ConstraintStatus s)
 
glop::ConstraintStatus MPSolverToGlopConstraintStatus (MPSolver::BasisStatus s)
 
MPSolverInterfaceBuildGurobiInterface (bool mip, MPSolver *const solver)
 
absl::Status SetSolverSpecificParameters (const std::string &parameters, GRBenv *gurobi)
 
absl::StatusOr< MPSolutionResponse > GurobiSolveProto (const MPModelRequest &request, GRBenv *gurobi_env)
 
std::ostream & operator<< (std::ostream &stream, const LinearExpr &linear_expr)
 
LinearExpr operator+ (LinearExpr lhs, const LinearExpr &rhs)
 
LinearExpr operator- (LinearExpr lhs, const LinearExpr &rhs)
 
LinearExpr operator* (LinearExpr lhs, double rhs)
 
LinearExpr operator/ (LinearExpr lhs, double rhs)
 
LinearExpr operator* (double lhs, LinearExpr rhs)
 
LinearRange operator<= (const LinearExpr &lhs, const LinearExpr &rhs)
 
LinearRange operator== (const LinearExpr &lhs, const LinearExpr &rhs)
 
LinearRange operator>= (const LinearExpr &lhs, const LinearExpr &rhs)
 
bool SolverTypeIsMip (MPModelRequest::SolverType solver_type)
 
MPSolverInterfaceBuildSatInterface (MPSolver *const solver)
 
MPSolverInterfaceBuildSCIPInterface (MPSolver *const solver)
 
const absl::string_view ToString (MPSolver::OptimizationProblemType optimization_problem_type)
 
bool AbslParseFlag (const absl::string_view text, MPSolver::OptimizationProblemType *solver_type, std::string *error)
 
bool MPSolverResponseStatusIsRpcError (MPSolverResponseStatus status)
 
bool SolverTypeIsMip (MPSolver::OptimizationProblemType solver_type)
 
std::ostream & operator<< (std::ostream &os, MPSolver::OptimizationProblemType optimization_problem_type)
 
std::ostream & operator<< (std::ostream &os, MPSolver::ResultStatus status)
 
std::string AbslUnparseFlag (MPSolver::OptimizationProblemType solver_type)
 
std::string ToString (MPCallbackEvent event)
 
absl::StatusOr< std::string > ExportModelAsLpFormat (const MPModelProto &model, const MPModelExportOptions &options=MPModelExportOptions())
 Outputs the current model (variables, constraints, objective) as a string encoded in the so-called "CPLEX LP file format" as generated by SCIP. More...
 
absl::StatusOr< std::string > ExportModelAsMpsFormat (const MPModelProto &model, const MPModelExportOptions &options=MPModelExportOptions())
 Outputs the current model (variables, constraints, objective) as a string encoded in MPS file format, using the "free" MPS format. More...
 
std::string FindErrorInMPModelProto (const MPModelProto &model, double abs_value_threshold=0.0)
 Returns an empty string iff the model is valid and not trivially infeasible. More...
 
absl::optional< LazyMutableCopy< MPModelProto > > ExtractValidMPModelOrPopulateResponseStatus (const MPModelRequest &request, MPSolutionResponse *response)
 If the model is valid and non-empty, returns it (possibly after extracting the model_delta). More...
 
bool ExtractValidMPModelInPlaceOrPopulateResponseStatus (MPModelRequest *request, MPSolutionResponse *response)
 Like ExtractValidMPModelOrPopulateResponseStatus(), but works in-place: if the MPModel needed extraction, it will be populated in the request, and it returns the success boolean. More...
 
std::string FindFeasibilityErrorInSolutionHint (const MPModelProto &model, double tolerance)
 Returns an empty string if the solution hint given in the model is a feasible solution. More...
 
std::string FindErrorInMPModelDeltaProto (const MPModelDeltaProto &delta, const MPModelProto &model)
 Like FindErrorInMPModelProto, but for a MPModelDeltaProto applied to a given baseline model (assumed valid, eg. More...
 
void MergeMPConstraintProtoExceptTerms (const MPConstraintProto &from, MPConstraintProto *to)
 
void ApplyVerifiedMPModelDelta (const MPModelDeltaProto &delta, MPModelProto *model)
 
absl::StatusOr< MPSolutionResponse > SatSolveProto (MPModelRequest request, std::atomic< bool > *interrupt_solve)
 
std::string EncodeSatParametersAsString (const sat::SatParameters &parameters)
 
MPSolverResponseStatus ApplyMipPresolveSteps (const glop::GlopParameters &glop_params, MPModelProto *model, std::vector< std::unique_ptr< glop::Preprocessor >> *for_postsolve, SolverLogger *logger)
 
bool LinearConstraintIsViolated (const ScipConstraintHandlerContext &context, const LinearRange &constraint)
 
ScipSeparationResult RunSeparation (internal::ScipCallbackRunner *runner, const ScipConstraintHandlerContext &context, absl::Span< SCIP_CONS * > constraints, bool is_integral)
 
template<typename Constraint >
void RegisterConstraintHandler (ScipConstraintHandler< Constraint > *handler, SCIP *scip)
 
template<typename ConstraintData >
void AddCallbackConstraint (SCIP *scip, ScipConstraintHandler< ConstraintData > *handler, const std::string &constraint_name, const ConstraintData *constraint_data, const ScipCallbackConstraintOptions &options)
 
template<typename ConstraintData >
void RegisterConstraintHandler (ScipConstraintHandler< ConstraintData > *handler, SCIP *scip)
 
std::string FindErrorInMPModelForScip (const MPModelProto &model, SCIP *scip)
 
absl::StatusOr< MPSolutionResponse > ScipSolveProto (const MPModelRequest &request)
 
::absl::Status PortableFileSetContents (absl::string_view file_name, absl::string_view content)
 
::absl::Status PortableFileGetContents (absl::string_view file_name, std::string *output)
 
bool PortableTemporaryFile (const char *directory_prefix, std::string *filename_out)
 
::absl::Status PortableDeleteFile (absl::string_view file_name)
 
template<class P >
std::string ProtobufDebugString (const P &message)
 
template<class P >
std::string ProtobufShortDebugString (const P &message)
 
template<typename ProtoEnumType >
std::string ProtoEnumToString (ProtoEnumType enum_value)
 
template<typename ProtoType >
bool ProtobufTextFormatMergeFromString (const std::string &proto_text_string, ProtoType *proto)
 
uint64_t OneBit64 (int pos)
 
uint32_t OneBit32 (int pos)
 
uint64_t BitCount64 (uint64_t n)
 
uint32_t BitCount32 (uint32_t n)
 
uint64_t LeastSignificantBitWord64 (uint64_t n)
 
uint32_t LeastSignificantBitWord32 (uint32_t n)
 
int LeastSignificantBitPosition64DeBruijn (uint64_t n)
 
int LeastSignificantBitPosition64Default (uint64_t n)
 
int LeastSignificantBitPosition64 (uint64_t n)
 
int LeastSignificantBitPosition32DeBruijn (uint32_t n)
 
int LeastSignificantBitPosition32Default (uint32_t n)
 
int LeastSignificantBitPosition32 (uint32_t n)
 
int MostSignificantBitPosition64Default (uint64_t n)
 
int MostSignificantBitPosition64 (uint64_t n)
 
int MostSignificantBitPosition32Default (uint32_t n)
 
int MostSignificantBitPosition32 (uint32_t n)
 
uint64_t OneRange64 (uint64_t s, uint64_t e)
 
uint32_t OneRange32 (uint32_t s, uint32_t e)
 
uint64_t IntervalUp64 (uint64_t s)
 
uint32_t IntervalUp32 (uint32_t s)
 
uint64_t IntervalDown64 (uint64_t s)
 
uint32_t IntervalDown32 (uint32_t s)
 
uint32_t BitPos64 (uint64_t pos)
 
uint32_t BitPos32 (uint32_t pos)
 
uint64_t BitOffset64 (uint64_t pos)
 
uint32_t BitOffset32 (uint32_t pos)
 
uint64_t BitLength64 (uint64_t size)
 
uint32_t BitLength32 (uint32_t size)
 
uint64_t BitShift64 (uint64_t v)
 
uint32_t BitShift32 (uint32_t v)
 
bool IsBitSet64 (const uint64_t *const bitset, uint64_t pos)
 
bool IsBitSet32 (const uint32_t *const bitset, uint32_t pos)
 
void SetBit64 (uint64_t *const bitset, uint64_t pos)
 
void SetBit32 (uint32_t *const bitset, uint32_t pos)
 
void ClearBit64 (uint64_t *const bitset, uint64_t pos)
 
void ClearBit32 (uint32_t *const bitset, uint32_t pos)
 
uint64_t BitCountRange64 (const uint64_t *const bitset, uint64_t start, uint64_t end)
 
uint32_t BitCountRange32 (const uint32_t *const bitset, uint32_t start, uint32_t end)
 
bool IsEmptyRange64 (const uint64_t *const bitset, uint64_t start, uint64_t end)
 
bool IsEmptyRange32 (const uint32_t *const bitset, uint32_t start, uint32_t end)
 
int64_t LeastSignificantBitPosition64 (const uint64_t *const bitset, uint64_t start, uint64_t end)
 
int LeastSignificantBitPosition32 (const uint32_t *const bitset, uint32_t start, uint32_t end)
 
int64_t MostSignificantBitPosition64 (const uint64_t *const bitset, uint64_t start, uint64_t end)
 
int MostSignificantBitPosition32 (const uint32_t *const bitset, uint32_t start, uint32_t end)
 
int64_t UnsafeLeastSignificantBitPosition64 (const uint64_t *const bitset, uint64_t start, uint64_t end)
 
int32_t UnsafeLeastSignificantBitPosition32 (const uint32_t *const bitset, uint32_t start, uint32_t end)
 
int64_t UnsafeMostSignificantBitPosition64 (const uint64_t *const bitset, uint64_t start, uint64_t end)
 
int32_t UnsafeMostSignificantBitPosition32 (const uint32_t *const bitset, uint32_t start, uint32_t end)
 
uint64_t TwoBitsFromPos64 (uint64_t pos)
 
absl::StatusOr< std::string > ReadFileToString (absl::string_view filename)
 
bool ReadFileToProto (absl::string_view filename, google::protobuf::Message *proto)
 
bool WriteProtoToFile (absl::string_view filename, const google::protobuf::Message &proto, ProtoWriteFormat proto_write_format, bool gzipped, bool append_extension_to_file_name)
 
template<typename Proto >
Proto ReadFileToProtoOrDie (absl::string_view filename)
 
template<typename Proto >
std::vector< Proto > ReadAllRecordsOrDie (absl::string_view filename)
 
template<typename Proto >
std::vector< Proto > ReadAllRecordsOrDie (File *file)
 
template<typename Proto >
Proto ReadOneRecordOrDie (absl::string_view filename)
 
template<typename Proto >
void WriteRecordsOrDie (absl::string_view filename, const std::vector< Proto > &protos)
 
void ComputeScalingErrors (const std::vector< double > &input, const std::vector< double > &lb, const std::vector< double > &ub, double scaling_factor, double *max_relative_coeff_error, double *max_scaled_sum_error)
 
double GetBestScalingOfDoublesToInt64 (const std::vector< double > &input, const std::vector< double > &lb, const std::vector< double > &ub, int64_t max_absolute_sum)
 
void GetBestScalingOfDoublesToInt64 (const std::vector< double > &input, int64_t max_absolute_sum, double *scaling_factor, double *max_relative_coeff_error)
 
int64_t ComputeGcdOfRoundedDoubles (const std::vector< double > &x, double scaling_factor)
 
template<typename FloatType >
bool IsPositiveOrNegativeInfinity (FloatType x)
 
template<typename FloatType >
bool AreWithinAbsoluteOrRelativeTolerances (FloatType x, FloatType y, FloatType relative_tolerance, FloatType absolute_tolerance)
 
template<typename FloatType >
bool AreWithinAbsoluteTolerance (FloatType x, FloatType y, FloatType absolute_tolerance)
 
template<typename FloatType >
bool IsSmallerWithinTolerance (FloatType x, FloatType y, FloatType tolerance)
 
template<typename FloatType >
bool IsIntegerWithinTolerance (FloatType x, FloatType tolerance)
 
template<typename FloatType >
FloatType Interpolate (FloatType x, FloatType y, FloatType alpha)
 
std::string FullProtocolMessageAsString (const google::protobuf::Message &message, int indent_level)
 
template<class Proto >
absl::StatusOr< Proto * > SafeProtoDownCast (google::protobuf::Message *proto)
 
template<class Proto >
absl::StatusOr< const Proto * > SafeProtoConstDownCast (const google::protobuf::Message *proto)
 
RangeIntToIntFunctionMakeBareIntToIntFunction (std::function< int64_t(int64_t)> f)
 
RangeIntToIntFunctionMakeCachedIntToIntFunction (const std::function< int64_t(int64_t)> &f, int64_t domain_start, int64_t domain_end)
 
RangeMinMaxIndexFunctionMakeCachedRangeMinMaxIndexFunction (const std::function< int64_t(int64_t)> &f, int64_t domain_start, int64_t domain_end)
 
Fraction RationalApproximation (const double x, const double precision)
 
int64_t TwosComplementAddition (int64_t x, int64_t y)
 
int64_t TwosComplementSubtraction (int64_t x, int64_t y)
 
bool AddHadOverflow (int64_t x, int64_t y, int64_t sum)
 
bool SubHadOverflow (int64_t x, int64_t y, int64_t diff)
 
bool AddOverflows (int64_t x, int64_t y)
 
int64_t SubOverflows (int64_t x, int64_t y)
 
template<typename IntegerType >
bool SafeAddInto (IntegerType a, IntegerType *b)
 
int64_t CapWithSignOf (int64_t x)
 
int64_t CapAddGeneric (int64_t x, int64_t y)
 
int64_t CapAdd (int64_t x, int64_t y)
 
int64_t CapSubGeneric (int64_t x, int64_t y)
 
int64_t CapSub (int64_t x, int64_t y)
 
int64_t CapOpp (int64_t v)
 
int64_t CapProdGeneric (int64_t x, int64_t y)
 
int64_t CapProd (int64_t x, int64_t y)
 
template<class Iterator , class Compare = std::less<value_type_t<Iterator>>>
void IncrementalSort (int max_comparisons, Iterator begin, Iterator end, Compare comp=Compare{}, bool is_stable=false)
 
template<class Iterator , class Compare = std::less<value_type_t<Iterator>>>
void InsertionSort (Iterator begin, Iterator end, Compare comp=Compare{})
 
template<class Iterator , class Compare = std::less<value_type_t<Iterator>>>
void IncrementalSort (Iterator begin, Iterator end, Compare comp=Compare{}, bool is_stable=false)
 
bool IntervalsAreSortedAndNonAdjacent (absl::Span< const ClosedInterval > intervals)
 Returns true iff we have: More...
 
int64_t CeilRatio (int64_t value, int64_t positive_coeff)
 
int64_t FloorRatio (int64_t value, int64_t positive_coeff)
 
std::ostream & operator<< (std::ostream &out, const ClosedInterval &interval)
 
std::ostream & operator<< (std::ostream &out, const std::vector< ClosedInterval > &intervals)
 
std::ostream & operator<< (std::ostream &out, const Domain &domain)
 
int64_t SumOfKMinValueInDomain (const Domain &domain, int k)
 
int64_t SumOfKMaxValueInDomain (const Domain &domain, int k)
 
std::string MemoryUsage ()
 
template<class T >
std::string JoinDebugString (const std::vector< T > &v, const std::string &separator)
 
template<class T >
std::string JoinDebugStringPtr (const std::vector< T > &v, const std::string &separator)
 
template<class T >
std::string JoinNamePtr (const std::vector< T > &v, const std::string &separator)
 
template<class T >
std::string JoinNameFieldPtr (const std::vector< T > &v, const std::string &separator)
 
bool ProbablyRunningInsideUnitTest ()
 
template<class T >
DemonMakeConstraintDemon0 (Solver *const s, T *const ct, void(T::*method)(), const std::string &name)
 
template<class P >
std::string ParameterDebugString (P param)
 
template<class P >
std::string ParameterDebugString (P *param)
 Support limited to pointers to classes which define DebugString(). More...
 
template<class T , class P >
DemonMakeConstraintDemon1 (Solver *const s, T *const ct, void(T::*method)(P), const std::string &name, P param1)
 
template<class T , class P , class Q >
DemonMakeConstraintDemon2 (Solver *const s, T *const ct, void(T::*method)(P, Q), const std::string &name, P param1, Q param2)
 
template<class T , class P , class Q , class R >
DemonMakeConstraintDemon3 (Solver *const s, T *const ct, void(T::*method)(P, Q, R), const std::string &name, P param1, Q param2, R param3)
 
template<class T >
DemonMakeDelayedConstraintDemon0 (Solver *const s, T *const ct, void(T::*method)(), const std::string &name)
 
template<class T , class P >
DemonMakeDelayedConstraintDemon1 (Solver *const s, T *const ct, void(T::*method)(P), const std::string &name, P param1)
 
template<class T , class P , class Q >
DemonMakeDelayedConstraintDemon2 (Solver *const s, T *const ct, void(T::*method)(P, Q), const std::string &name, P param1, Q param2)
 

Variables

static const int kUnassigned = -1
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT IntVarAssignmentDefaultTypeInternal _IntVarAssignment_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT IntervalVarAssignmentDefaultTypeInternal _IntervalVarAssignment_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SequenceVarAssignmentDefaultTypeInternal _SequenceVarAssignment_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WorkerInfoDefaultTypeInternal _WorkerInfo_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AssignmentProtoDefaultTypeInternal _AssignmentProto_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DemonRunsDefaultTypeInternal _DemonRuns_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintRunsDefaultTypeInternal _ConstraintRuns_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FirstSolutionStrategyDefaultTypeInternal _FirstSolutionStrategy_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchMetaheuristicDefaultTypeInternal _LocalSearchMetaheuristic_default_instance_
 
constexpr FirstSolutionStrategy_Value FirstSolutionStrategy_Value_Value_MIN = FirstSolutionStrategy_Value_UNSET
 
constexpr FirstSolutionStrategy_Value FirstSolutionStrategy_Value_Value_MAX = FirstSolutionStrategy_Value_AUTOMATIC
 
constexpr int FirstSolutionStrategy_Value_Value_ARRAYSIZE = FirstSolutionStrategy_Value_Value_MAX + 1
 
constexpr LocalSearchMetaheuristic_Value LocalSearchMetaheuristic_Value_Value_MIN = LocalSearchMetaheuristic_Value_UNSET
 
constexpr LocalSearchMetaheuristic_Value LocalSearchMetaheuristic_Value_Value_MAX = LocalSearchMetaheuristic_Value_AUTOMATIC
 
constexpr int LocalSearchMetaheuristic_Value_Value_ARRAYSIZE = LocalSearchMetaheuristic_Value_Value_MAX + 1
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RoutingSearchParameters_LocalSearchNeighborhoodOperatorsDefaultTypeInternal _RoutingSearchParameters_LocalSearchNeighborhoodOperators_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RoutingSearchParameters_ImprovementSearchLimitParametersDefaultTypeInternal _RoutingSearchParameters_ImprovementSearchLimitParameters_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RoutingSearchParametersDefaultTypeInternal _RoutingSearchParameters_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RoutingModelParametersDefaultTypeInternal _RoutingModelParameters_default_instance_
 
constexpr RoutingSearchParameters_SchedulingSolver RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MIN = RoutingSearchParameters_SchedulingSolver_UNSET
 
constexpr RoutingSearchParameters_SchedulingSolver RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MAX = RoutingSearchParameters_SchedulingSolver_CP_SAT
 
constexpr int RoutingSearchParameters_SchedulingSolver_SchedulingSolver_ARRAYSIZE = RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MAX + 1
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RegularLimitParametersDefaultTypeInternal _RegularLimitParameters_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
 
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN = ConstraintSolverParameters_TrailCompression_NO_COMPRESSION
 
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX = ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB
 
constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE = ConstraintSolverParameters_TrailCompression_TrailCompression_MAX + 1
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ArcDefaultTypeInternal _Arc_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NodeDefaultTypeInternal _Node_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowModelDefaultTypeInternal _FlowModel_default_instance_
 
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MIN = FlowModel_ProblemType_LINEAR_SUM_ASSIGNMENT
 
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MAX = FlowModel_ProblemType_MIN_COST_FLOW
 
constexpr int FlowModel_ProblemType_ProblemType_ARRAYSIZE = FlowModel_ProblemType_ProblemType_MAX + 1
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_BoolParamsEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_IntParamsEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_LongParamsEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_RealParamsEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_CharParamsEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_StringParamsEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParametersDefaultTypeInternal _GScipParameters_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipSolvingStatsDefaultTypeInternal _GScipSolvingStats_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipOutputDefaultTypeInternal _GScipOutput_default_instance_
 
constexpr GScipParameters_Emphasis GScipParameters_Emphasis_Emphasis_MIN = GScipParameters_Emphasis_DEFAULT_EMPHASIS
 
constexpr GScipParameters_Emphasis GScipParameters_Emphasis_Emphasis_MAX = GScipParameters_Emphasis_PHASE_PROOF
 
constexpr int GScipParameters_Emphasis_Emphasis_ARRAYSIZE = GScipParameters_Emphasis_Emphasis_MAX + 1
 
constexpr GScipParameters_MetaParamValue GScipParameters_MetaParamValue_MetaParamValue_MIN = GScipParameters_MetaParamValue_DEFAULT_META_PARAM_VALUE
 
constexpr GScipParameters_MetaParamValue GScipParameters_MetaParamValue_MetaParamValue_MAX = GScipParameters_MetaParamValue_OFF
 
constexpr int GScipParameters_MetaParamValue_MetaParamValue_ARRAYSIZE = GScipParameters_MetaParamValue_MetaParamValue_MAX + 1
 
constexpr GScipOutput_Status GScipOutput_Status_Status_MIN = GScipOutput_Status_UNKNOWN
 
constexpr GScipOutput_Status GScipOutput_Status_Status_MAX = GScipOutput_Status_INVALID_SOLVER_PARAMETERS
 
constexpr int GScipOutput_Status_Status_ARRAYSIZE = GScipOutput_Status_Status_MAX + 1
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPVariableProtoDefaultTypeInternal _MPVariableProto_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPConstraintProtoDefaultTypeInternal _MPConstraintProto_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPGeneralConstraintProtoDefaultTypeInternal _MPGeneralConstraintProto_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPIndicatorConstraintDefaultTypeInternal _MPIndicatorConstraint_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPSosConstraintDefaultTypeInternal _MPSosConstraint_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPQuadraticConstraintDefaultTypeInternal _MPQuadraticConstraint_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPAbsConstraintDefaultTypeInternal _MPAbsConstraint_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPArrayConstraintDefaultTypeInternal _MPArrayConstraint_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPArrayWithConstantConstraintDefaultTypeInternal _MPArrayWithConstantConstraint_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPQuadraticObjectiveDefaultTypeInternal _MPQuadraticObjective_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PartialVariableAssignmentDefaultTypeInternal _PartialVariableAssignment_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPModelProtoDefaultTypeInternal _MPModelProto_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OptionalDoubleDefaultTypeInternal _OptionalDouble_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPSolverCommonParametersDefaultTypeInternal _MPSolverCommonParameters_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_VariableOverridesEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPModelDeltaProtoDefaultTypeInternal _MPModelDeltaProto_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPModelRequestDefaultTypeInternal _MPModelRequest_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPSolutionDefaultTypeInternal _MPSolution_default_instance_
 
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MPSolutionResponseDefaultTypeInternal _MPSolutionResponse_default_instance_
 
constexpr MPSosConstraint_Type MPSosConstraint_Type_Type_MIN = MPSosConstraint_Type_SOS1_DEFAULT
 
constexpr MPSosConstraint_Type MPSosConstraint_Type_Type_MAX = MPSosConstraint_Type_SOS2
 
constexpr int MPSosConstraint_Type_Type_ARRAYSIZE = MPSosConstraint_Type_Type_MAX + 1
 
constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MIN = MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_UNSPECIFIED
 
constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX = MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_BARRIER
 
constexpr int MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_ARRAYSIZE = MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX + 1
 
constexpr MPModelRequest_SolverType MPModelRequest_SolverType_SolverType_MIN = MPModelRequest_SolverType_CLP_LINEAR_PROGRAMMING
 
constexpr MPModelRequest_SolverType MPModelRequest_SolverType_SolverType_MAX = MPModelRequest_SolverType_XPRESS_MIXED_INTEGER_PROGRAMMING
 
constexpr int MPModelRequest_SolverType_SolverType_ARRAYSIZE = MPModelRequest_SolverType_SolverType_MAX + 1
 
constexpr MPSolverResponseStatus MPSolverResponseStatus_MIN = MPSOLVER_OPTIMAL
 
constexpr MPSolverResponseStatus MPSolverResponseStatus_MAX = MPSOLVER_UNKNOWN_STATUS
 
constexpr int MPSolverResponseStatus_ARRAYSIZE = MPSolverResponseStatus_MAX + 1
 
constexpr OptionalBoolean OptionalBoolean_MIN = BOOL_UNSPECIFIED
 
constexpr OptionalBoolean OptionalBoolean_MAX = BOOL_TRUE
 
constexpr int OptionalBoolean_ARRAYSIZE = OptionalBoolean_MAX + 1
 
std::function< int(GRBenv **, const char *, const char *, const char *, int, const char *)> GRBisqp = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int *datatypeP, int *sizeP, int *settableP)> GRBgetattrinfo = nullptr
 
std::function< int(GRBmodel *model, const char *attrname)> GRBisattravailable
 
std::function< int(GRBmodel *model, const char *attrname, int *valueP)> GRBgetintattr = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int newvalue)> GRBsetintattr = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, int *valueP)> GRBgetintattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, int newvalue)> GRBsetintattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, int *values)> GRBgetintattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, int *newvalues)> GRBsetintattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, int *values)> GRBgetintattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, int *newvalues)> GRBsetintattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, char *valueP)> GRBgetcharattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, char newvalue)> GRBsetcharattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, char *values)> GRBgetcharattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, char *newvalues)> GRBsetcharattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char *values)> GRBgetcharattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char *newvalues)> GRBsetcharattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, double *valueP)> GRBgetdblattr = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, double newvalue)> GRBsetdblattr = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, double *valueP)> GRBgetdblattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, double newvalue)> GRBsetdblattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, double *values)> GRBgetdblattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, double *newvalues)> GRBsetdblattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, double *values)> GRBgetdblattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, double *newvalues)> GRBsetdblattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, char **valueP)> GRBgetstrattr = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, const char *newvalue)> GRBsetstrattr = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, char **valueP)> GRBgetstrattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int element, const char *newvalue)> GRBsetstrattrelement = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, char **values)> GRBgetstrattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int first, int len, char **newvalues)> GRBsetstrattrarray = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char **values)> GRBgetstrattrlist = nullptr
 
std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char **newvalues)> GRBsetstrattrlist = nullptr
 
std::function< int(GRBmodel *model, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBsetcallbackfunc = nullptr
 
std::function< int(GRBmodel *model, int(GUROBI_STDCALL **cbP)(CB_ARGS))> GRBgetcallbackfunc = nullptr
 
std::function< int(GRBmodel *model, int(GUROBI_STDCALL *cb)(char *msg))> GRBsetlogcallbackfunc = nullptr
 
std::function< int(GRBenv *env, int(GUROBI_STDCALL *cb)(char *msg))> GRBsetlogcallbackfuncenv = nullptr
 
std::function< int(void *cbdata, int where, int what, void *resultP)> GRBcbget
 
std::function< int(void *cbdata, const char *paramname, const char *newvalue)> GRBcbsetparam = nullptr
 
std::function< int(void *cbdata, const double *solution, double *objvalP)> GRBcbsolution = nullptr
 
std::function< int(void *cbdata, int cutlen, const int *cutind, const double *cutval, char cutsense, double cutrhs)> GRBcbcut = nullptr
 
std::function< int(void *cbdata, int lazylen, const int *lazyind, const double *lazyval, char lazysense, double lazyrhs)> GRBcblazy = nullptr
 
std::function< int(GRBmodel *model, int constr, int var, double *valP)> GRBgetcoeff = nullptr
 
std::function< int(GRBmodel *model, int *numnzP, int *cbeg, int *cind, double *cval, int start, int len)> GRBgetconstrs = nullptr
 
std::function< int(GRBmodel *model, size_t *numnzP, size_t *cbeg, int *cind, double *cval, int start, int len)> GRBXgetconstrs = nullptr
 
std::function< int(GRBmodel *model, int *numnzP, int *vbeg, int *vind, double *vval, int start, int len)> GRBgetvars = nullptr
 
std::function< int(GRBmodel *model, size_t *numnzP, size_t *vbeg, int *vind, double *vval, int start, int len)> GRBXgetvars = nullptr
 
std::function< int(GRBmodel *model, int *nummembersP, int *sostype, int *beg, int *ind, double *weight, int start, int len)> GRBgetsos = nullptr
 
std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars, double *constantP)> GRBgetgenconstrMax = nullptr
 
std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars, double *constantP)> GRBgetgenconstrMin = nullptr
 
std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *argvarP)> GRBgetgenconstrAbs = nullptr
 
std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars)> GRBgetgenconstrAnd = nullptr
 
std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars)> GRBgetgenconstrOr = nullptr
 
std::function< int(GRBmodel *model, int genconstr, int *binvarP, int *binvalP, int *nvarsP, int *vars, double *vals, char *senseP, double *rhsP)> GRBgetgenconstrIndicator = nullptr
 
std::function< int(GRBmodel *model, int *numqnzP, int *qrow, int *qcol, double *qval)> GRBgetq = nullptr
 
std::function< int(GRBmodel *model, int qconstr, int *numlnzP, int *lind, double *lval, int *numqnzP, int *qrow, int *qcol, double *qval)> GRBgetqconstr = nullptr
 
std::function< int(GRBmodel *model, const char *name, int *indexP)> GRBgetvarbyname = nullptr
 
std::function< int(GRBmodel *model, const char *name, int *indexP)> GRBgetconstrbyname = nullptr
 
std::function< int(GRBmodel *model, int var, int *pointsP, double *x, double *y)> GRBgetpwlobj = nullptr
 
std::function< int(GRBmodel *model)> GRBoptimize = nullptr
 
std::function< int(GRBmodel *model)> GRBoptimizeasync = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBcopymodel = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBfixedmodel = nullptr
 
std::function< int(GRBmodel *model, int relaxobjtype, int minrelax, double *lbpen, double *ubpen, double *rhspen, double *feasobjP)> GRBfeasrelax = nullptr
 
std::function< int(void *cbdata, int what, int *typeP, int *sizeP)> GRBgetcbwhatinfo = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBrelaxmodel = nullptr
 
std::function< int(GRBmodel *model)> GRBconverttofixed = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBpresolvemodel = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBiismodel = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBfeasibility = nullptr
 
std::function< GRBmodel *(GRBmodel *model)> GRBlinearizemodel = nullptr
 
std::function< int(GRBenv **envP, const char *logfilename, void *(GUROBI_STDCALL *malloccb)(MALLOCCB_ARGS), void *(GUROBI_STDCALL *calloccb)(CALLOCCB_ARGS), void *(GUROBI_STDCALL *realloccb)(REALLOCCB_ARGS), void(GUROBI_STDCALL *freecb)(FREECB_ARGS), int(GUROBI_STDCALL *threadcreatecb)(THREADCREATECB_ARGS), void(GUROBI_STDCALL *threadjoincb)(THREADJOINCB_ARGS), void *syscbusrdata)> GRBloadenvsyscb = nullptr
 
std::function< int(GRBenv *env, const char *filename, GRBmodel **modelP)> GRBreadmodel = nullptr
 
std::function< int(GRBmodel *model, const char *filename)> GRBread = nullptr
 
std::function< int(GRBmodel *model, const char *filename)> GRBwrite = nullptr
 
std::function< int(const char *filename)> GRBismodelfile = nullptr
 
std::function< int(const char *filename)> GRBfiletype = nullptr
 
std::function< int(const char *filename)> GRBisrecordfile = nullptr
 
std::function< int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars, double *obj, double *lb, double *ub, char *vtype, char **varnames)> GRBnewmodel = nullptr
 
std::function< int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars, int numconstrs, int objsense, double objcon, double *obj, char *sense, double *rhs, int *vbeg, int *vlen, int *vind, double *vval, double *lb, double *ub, char *vtype, char **varnames, char **constrnames)> GRBloadmodel = nullptr
 
std::function< int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars, int numconstrs, int objsense, double objcon, double *obj, char *sense, double *rhs, size_t *vbeg, int *vlen, int *vind, double *vval, double *lb, double *ub, char *vtype, char **varnames, char **constrnames)> GRBXloadmodel = nullptr
 
std::function< int(GRBmodel *model, int numnz, int *vind, double *vval, double obj, double lb, double ub, char vtype, const char *varname)> GRBaddvar = nullptr
 
std::function< int(GRBmodel *model, int numvars, int numnz, int *vbeg, int *vind, double *vval, double *obj, double *lb, double *ub, char *vtype, char **varnames)> GRBaddvars = nullptr
 
std::function< int(GRBmodel *model, int numvars, size_t numnz, size_t *vbeg, int *vind, double *vval, double *obj, double *lb, double *ub, char *vtype, char **varnames)> GRBXaddvars = nullptr
 
std::function< int(GRBmodel *model, int numnz, int *cind, double *cval, char sense, double rhs, const char *constrname)> GRBaddconstr = nullptr
 
std::function< int(GRBmodel *model, int numconstrs, int numnz, int *cbeg, int *cind, double *cval, char *sense, double *rhs, char **constrnames)> GRBaddconstrs = nullptr
 
std::function< int(GRBmodel *model, int numconstrs, size_t numnz, size_t *cbeg, int *cind, double *cval, char *sense, double *rhs, char **constrnames)> GRBXaddconstrs = nullptr
 
std::function< int(GRBmodel *model, int numnz, int *cind, double *cval, double lower, double upper, const char *constrname)> GRBaddrangeconstr = nullptr
 
std::function< int(GRBmodel *model, int numconstrs, int numnz, int *cbeg, int *cind, double *cval, double *lower, double *upper, char **constrnames)> GRBaddrangeconstrs = nullptr
 
std::function< int(GRBmodel *model, int numconstrs, size_t numnz, size_t *cbeg, int *cind, double *cval, double *lower, double *upper, char **constrnames)> GRBXaddrangeconstrs = nullptr
 
std::function< int(GRBmodel *model, int numsos, int nummembers, int *types, int *beg, int *ind, double *weight)> GRBaddsos = nullptr
 
std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars, double constant)> GRBaddgenconstrMax = nullptr
 
std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars, double constant)> GRBaddgenconstrMin = nullptr
 
std::function< int(GRBmodel *model, const char *name, int resvar, int argvar)> GRBaddgenconstrAbs = nullptr
 
std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars)> GRBaddgenconstrAnd = nullptr
 
std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars)> GRBaddgenconstrOr = nullptr
 
std::function< int(GRBmodel *lp, const char *name, int binvar, int binval, int nvars, const int *vars, const double *vals, char sense, double rhs)> GRBaddgenconstrIndicator = nullptr
 
std::function< int(GRBmodel *model, int numlnz, int *lind, double *lval, int numqnz, int *qrow, int *qcol, double *qval, char sense, double rhs, const char *QCname)> GRBaddqconstr = nullptr
 
std::function< int(GRBmodel *model, int nummembers, int *members)> GRBaddcone
 
std::function< int(GRBmodel *model, int numqnz, int *qrow, int *qcol, double *qval)> GRBaddqpterms = nullptr
 
std::function< int(GRBmodel *model, int len, int *ind)> GRBdelvars = nullptr
 
std::function< int(GRBmodel *model, int len, int *ind)> GRBdelconstrs = nullptr
 
std::function< int(GRBmodel *model, int len, int *ind)> GRBdelsos = nullptr
 
std::function< int(GRBmodel *model, int len, int *ind)> GRBdelgenconstrs
 
std::function< int(GRBmodel *model, int len, int *ind)> GRBdelqconstrs = nullptr
 
std::function< int(GRBmodel *model)> GRBdelq = nullptr
 
std::function< int(GRBmodel *model, int cnt, int *cind, int *vind, double *val)> GRBchgcoeffs = nullptr
 
std::function< int(GRBmodel *model, size_t cnt, int *cind, int *vind, double *val)> GRBXchgcoeffs = nullptr
 
std::function< int(GRBmodel *model, int var, int points, double *x, double *y)> GRBsetpwlobj = nullptr
 
std::function< int(GRBmodel *model)> GRBupdatemodel = nullptr
 
std::function< int(GRBmodel *model)> GRBresetmodel = nullptr
 
std::function< int(GRBmodel *model)> GRBfreemodel = nullptr
 
std::function< int(GRBmodel *model)> GRBcomputeIIS = nullptr
 
std::function< int(GRBmodel *model, GRBsvec *b, GRBsvec *x)> GRBFSolve = nullptr
 
std::function< int(GRBmodel *model, int j, GRBsvec *x)> GRBBinvColj = nullptr
 
std::function< int(GRBmodel *model, int j, GRBsvec *x)> GRBBinvj = nullptr
 
std::function< int(GRBmodel *model, GRBsvec *b, GRBsvec *x)> GRBBSolve = nullptr
 
std::function< int(GRBmodel *model, int i, GRBsvec *x)> GRBBinvi = nullptr
 
std::function< int(GRBmodel *model, int i, GRBsvec *x)> GRBBinvRowi = nullptr
 
std::function< int(GRBmodel *model, int *bhead)> GRBgetBasisHead = nullptr
 
std::function< int(GRBmodel *model, int num, int *cand, double *downobjbd, double *upobjbd, int *statusP)> GRBstrongbranch = nullptr
 
std::function< int(GRBmodel *model)> GRBcheckmodel = nullptr
 
std::function< void(GRBmodel *model)> GRBsetsignal = nullptr
 
std::function< void(GRBmodel *model)> GRBterminate = nullptr
 
std::function< int(const char *filename)> GRBreplay = nullptr
 
std::function< int(GRBmodel *model, int sense, double constant, int lnz, int *lind, double *lval, int qnz, int *qrow, int *qcol, double *qval)> GRBsetobjective = nullptr
 
std::function< int(GRBmodel *model, int index, int priority, double weight, double abstol, double reltol, const char *name, double constant, int lnz, int *lind, double *lval)> GRBsetobjectiven = nullptr
 
std::function< void(GRBenv *env, const char *message)> GRBmsg = nullptr
 
std::function< int(GRBenv *env, FILE **logfileP)> GRBgetlogfile = nullptr
 
std::function< int(GRBenv *env, FILE *logfile)> GRBsetlogfile = nullptr
 
std::function< int(GRBenv *env, const char *paramname, int *valueP)> GRBgetintparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname, double *valueP)> GRBgetdblparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname, char *valueP)> GRBgetstrparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname, int *valueP, int *minP, int *maxP, int *defP)> GRBgetintparaminfo = nullptr
 
std::function< int(GRBenv *env, const char *paramname, double *valueP, double *minP, double *maxP, double *defP)> GRBgetdblparaminfo = nullptr
 
std::function< int(GRBenv *env, const char *paramname, char *valueP, char *defP)> GRBgetstrparaminfo = nullptr
 
std::function< int(GRBenv *env, const char *paramname, const char *value)> GRBsetparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname, int value)> GRBsetintparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname, double value)> GRBsetdblparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname, const char *value)> GRBsetstrparam = nullptr
 
std::function< int(GRBenv *env, const char *paramname)> GRBgetparamtype
 
std::function< int(GRBenv *env)> GRBresetparams = nullptr
 
std::function< int(GRBenv *dest, GRBenv *src)> GRBcopyparams = nullptr
 
std::function< int(GRBenv *env, const char *filename)> GRBwriteparams = nullptr
 
std::function< int(GRBenv *env, const char *filename)> GRBreadparams = nullptr
 
std::function< int(GRBenv *env)> GRBgetnumparams = nullptr
 
std::function< int(GRBenv *env, int i, char **paramnameP)> GRBgetparamname
 
std::function< int(GRBmodel *model)> GRBgetnumattributes = nullptr
 
std::function< int(GRBmodel *model, int i, char **attrnameP)> GRBgetattrname
 
std::function< int(GRBenv **envP, const char *logfilename)> GRBloadenv = nullptr
 
std::function< int(GRBenv **envP, const char *logfilename, int apitype, int major, int minor, int tech, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBloadenvadv = nullptr
 
std::function< int(GRBenv **envP, const char *logfilename, const char *computeservers, int port, const char *password, int priority, double timeout)> GRBloadclientenv = nullptr
 
std::function< int(GRBenv **envP, const char *logfilename, const char *computeservers, int port, const char *password, int priority, double timeout, int apitype, int major, int minor, int tech, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBloadclientenvadv = nullptr
 
std::function< int(GRBenv **envP, const char *logfilename, const char *accessID, const char *secretKey, const char *pool)> GRBloadcloudenv = nullptr
 
std::function< int(GRBenv **envP, const char *logfilename, const char *accessID, const char *secretKey, const char *pool, int apitype, int major, int minor, int tech, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBloadcloudenvadv = nullptr
 
std::function< GRBenv *(GRBmodel *model)> GRBgetenv = nullptr
 
std::function< GRBenv *(GRBmodel *model, int num)> GRBgetconcurrentenv = nullptr
 
std::function< void(GRBmodel *model)> GRBdiscardconcurrentenvs = nullptr
 
std::function< GRBenv *(GRBmodel *model, int num)> GRBgetmultiobjenv = nullptr
 
std::function< void(GRBmodel *model)> GRBdiscardmultiobjenvs = nullptr
 
std::function< void(GRBenv *env)> GRBreleaselicense = nullptr
 
std::function< void(GRBenv *env)> GRBfreeenv = nullptr
 
std::function< const char *(GRBenv *env)> GRBgeterrormsg = nullptr
 
std::function< const char *(GRBmodel *model)> GRBgetmerrormsg = nullptr
 
std::function< void(int *majorP, int *minorP, int *technicalP)> GRBversion
 
std::function< char *(void)> GRBplatform = nullptr
 
std::function< int(GRBmodel *model)> GRBtunemodel = nullptr
 
std::function< int(int nummodels, GRBmodel **models, GRBmodel *ignore, GRBmodel *hint)> GRBtunemodels = nullptr
 
std::function< int(GRBmodel *model, int i)> GRBgettuneresult = nullptr
 
std::function< int(GRBmodel *model, int i, char **logP)> GRBgettunelog = nullptr
 
std::function< int(GRBmodel *model, GRBmodel *ignore, GRBmodel *hint)> GRBtunemodeladv = nullptr
 
std::function< int(GRBmodel *model)> GRBsync = nullptr
 
constexpr NamedOptimizationProblemType kOptimizationProblemTypeNames []
 
constexpr double kDefaultPrimalTolerance = 1e-07
 
static const uint64_t kAllBits64 = uint64_t{0xFFFFFFFFFFFFFFFF}
 
static const uint64_t kAllBitsButLsb64 = uint64_t{0xFFFFFFFFFFFFFFFE}
 
static const uint32_t kAllBits32 = 0xFFFFFFFFU
 

Detailed Description

Collection of objects used to extend the Constraint Solver library.

The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.

This file contains a set of objects that simplifies writing extensions of the library.

The main objects that define extensions are:

Then, there are some internal classes that are used throughout the solver and exposed in this file:

  • SearchLog, the root class of all periodic outputs during search.
  • ModelCache, A caching layer to avoid creating twice the same object.

The objective of a vehicle routing problem is to build routes covering a set of nodes minimizing the overall cost of the routes (usually proportional to the sum of the lengths of each segment of the routes) while respecting some problem-specific constraints (such as the length of a route). A route is equivalent to a path connecting nodes, starting/ending at specific starting/ending nodes.

The term "vehicle routing" is historical and the category of problems solved is not limited to the routing of vehicles: any problem involving finding routes visiting a given number of nodes optimally falls under this category of problems, such as finding the optimal sequence in a playlist. The literature around vehicle routing problems is extremely dense but one can find some basic introductions in the following links:

The vehicle routing library is a vertical layer above the constraint programming library (ortools/constraint_programming:cp). One has access to all underlying constrained variables of the vehicle routing model which can therefore be enriched by adding any constraint available in the constraint programming library.

There are two sets of variables available:

  • path variables:
    • "next(i)" variables representing the immediate successor of the node corresponding to i; use IndexToNode() to get the node corresponding to a "next" variable value; note that node indices are strongly typed integers (cf. ortools/base/int_type.h);
    • "vehicle(i)" variables representing the vehicle route to which the node corresponding to i belongs;
    • "active(i)" boolean variables, true if the node corresponding to i is visited and false if not; this can be false when nodes are either optional or part of a disjunction;
    • The following relationships hold for all i: active(i) == 0 <=> next(i) == i <=> vehicle(i) == -1, next(i) == j => vehicle(j) == vehicle(i).
  • dimension variables, used when one is accumulating quantities along routes, such as weight or volume carried, distance or time:
    • "cumul(i,d)" variables representing the quantity of dimension d when arriving at the node corresponding to i;
    • "transit(i,d)" variables representing the quantity of dimension d added after visiting the node corresponding to i.
    • The following relationship holds for all (i,d): next(i) == j => cumul(j,d) == cumul(i,d) + transit(i,d). Solving the vehicle routing problems is mainly done using approximate methods (namely local search, cf. http://en.wikipedia.org/wiki/Local_search_(optimization) ), potentially combined with exact techniques based on dynamic programming and exhaustive tree search. Advanced tips: Flags are available to tune the search used to solve routing problems. Here is a quick overview of the ones one might want to modify:
  • Limiting the search for solutions:
    • routing_solution_limit (default: kint64max): stop the search after finding 'routing_solution_limit' improving solutions;
    • routing_time_limit (default: kint64max): stop the search after 'routing_time_limit' milliseconds;
  • Customizing search:
    • routing_first_solution (default: select the first node with an unbound successor and connect it to the first available node): selects the heuristic to build a first solution which will then be improved by local search; possible values are GlobalCheapestArc (iteratively connect two nodes which produce the cheapest route segment), LocalCheapestArc (select the first node with an unbound successor and connect it to the node which produces the cheapest route segment), PathCheapestArc (starting from a route "start" node, connect it to the node which produces the cheapest route segment, then extend the route by iterating on the last node added to the route).
    • Local search neighborhoods:
      • routing_no_lns (default: false): forbids the use of Large Neighborhood Search (LNS); LNS can find good solutions but is usually very slow. Refer to the description of PATHLNS in the LocalSearchOperators enum in constraint_solver.h for more information.
      • routing_no_tsp (default: true): forbids the use of exact methods to solve "sub"-traveling salesman problems (TSPs) of the current model (such as sub-parts of a route, or one route in a multiple route problem). Uses dynamic programming to solve such TSPs with a maximum size (in number of nodes) up to cp_local_search_tsp_opt_size (flag with a default value of 13 nodes). It is not activated by default because it can slow down the search.
    • Meta-heuristics: used to guide the search out of local minima found by local search. Note that, in general, a search with metaheuristics activated never stops, therefore one must specify a search limit. Several types of metaheuristics are provided:

Code sample: Here is a simple example solving a traveling salesman problem given a cost function callback (returns the cost of a route segment):

  • Define a custom distance/cost function from an index to another; in this example just returns the sum of the indices:

    int64_t MyDistance(int64_t from, int64_t to) { return from + to; }

  • Create a routing model for a given problem size (int number of nodes) and number of routes (here, 1):

    RoutingIndexManager manager(...number of nodes..., 1); RoutingModel routing(manager);

  • Set the cost function by registering an std::function<int64_t(int64_t, int64_t)> in the model and passing its index as the vehicle cost.

    const int cost = routing.RegisterTransitCallback(MyDistance); routing.SetArcCostEvaluatorOfAllVehicles(cost);

  • Find a solution using Solve(), returns a solution if any (owned by routing):

    const Assignment* solution = routing.Solve(); CHECK(solution != nullptr);

  • Inspect the solution cost and route (only one route here):

    LOG(INFO) << "Cost " << solution->ObjectiveValue(); const int route_number = 0; for (int64_t node = routing.Start(route_number); !routing.IsEnd(node); node = solution->Value(routing.NextVar(node))) { LOG(INFO) << manager.IndexToNode(node); }

Keywords: Vehicle Routing, Traveling Salesman Problem, TSP, VRP, CVRPTW, PDP.

Meta namespace.

Typedef Documentation

◆ Arc

typedef std::pair<int64_t, int64_t> Arc

Definition at line 3383 of file search.cc.

◆ ArcIndex

typedef int32_t ArcIndex

Definition at line 201 of file ebert_graph.h.

◆ ArcIndexArray

Definition at line 208 of file ebert_graph.h.

◆ CostArray

Definition at line 210 of file ebert_graph.h.

◆ CostValue

typedef BlossomGraph::CostValue CostValue

Definition at line 203 of file ebert_graph.h.

◆ FlowQuantity

typedef int64_t FlowQuantity

Definition at line 202 of file ebert_graph.h.

◆ ForwardStarGraph

Definition at line 205 of file ebert_graph.h.

◆ ForwardStarStaticGraph

◆ Fraction

typedef std::pair<int64_t, int64_t> Fraction

Definition at line 26 of file rational_approximation.h.

◆ GScipBranchingPriority

using GScipBranchingPriority = absl::flat_hash_map<SCIP_VAR*, int>

Definition at line 121 of file gscip.h.

◆ GScipMessageHandler

using GScipMessageHandler = std::function<void(GScipMessageType type, absl::string_view message)>

Definition at line 36 of file gscip_message_handler.h.

◆ GScipSolution

using GScipSolution = absl::flat_hash_map<SCIP_VAR*, double>

Definition at line 74 of file gscip.h.

◆ Int16ZVector

typedef ZVector<int16_t> Int16ZVector

Definition at line 160 of file zvector.h.

◆ Int32ZVector

typedef ZVector<int32_t> Int32ZVector

Definition at line 161 of file zvector.h.

◆ Int64ZVector

typedef ZVector<int64_t> Int64ZVector

Definition at line 162 of file zvector.h.

◆ Int8ZVector

typedef ZVector<int8_t> Int8ZVector

Definition at line 159 of file zvector.h.

◆ KnapsackItemForCutsPtr

using KnapsackItemForCutsPtr = std::unique_ptr<KnapsackItemForCuts>

Definition at line 93 of file knapsack_solver_for_cuts.h.

◆ KnapsackItemPtr

Definition at line 329 of file knapsack_solver.h.

◆ NodeIndex

typedef BlossomGraph::NodeIndex NodeIndex

Definition at line 200 of file ebert_graph.h.

◆ NodeIndexArray

Definition at line 207 of file ebert_graph.h.

◆ PathNodeIndex

typedef int PathNodeIndex

Definition at line 450 of file hamiltonian_path.h.

◆ QuantityArray

Definition at line 209 of file ebert_graph.h.

◆ random_engine_t

using random_engine_t = std::mt19937

Definition at line 23 of file random_engine.h.

◆ RoutingIndexPair

typedef std::pair<std::vector<int64_t>, std::vector<int64_t> > RoutingIndexPair

Definition at line 45 of file routing_types.h.

◆ RoutingIndexPairs

typedef std::vector<RoutingIndexPair> RoutingIndexPairs

Definition at line 46 of file routing_types.h.

◆ RoutingTransitCallback1

typedef std::function<int64_t(int64_t)> RoutingTransitCallback1

Definition at line 42 of file routing_types.h.

◆ RoutingTransitCallback2

typedef std::function<int64_t(int64_t, int64_t)> RoutingTransitCallback2

Definition at line 43 of file routing_types.h.

◆ ScopedInstructionCounter

◆ ScopedTimeDistributionUpdater

◆ SequenceVarLocalSearchOperatorTemplate

◆ StarGraph

Definition at line 204 of file ebert_graph.h.

◆ UInt16ZVector

typedef ZVector<uint16_t> UInt16ZVector

Definition at line 164 of file zvector.h.

◆ UInt32ZVector

typedef ZVector<uint32_t> UInt32ZVector

Definition at line 165 of file zvector.h.

◆ UInt64ZVector

typedef ZVector<uint64_t> UInt64ZVector

Definition at line 166 of file zvector.h.

◆ UInt8ZVector

typedef ZVector<uint8_t> UInt8ZVector

Definition at line 163 of file zvector.h.

◆ value_type_t

using value_type_t = typename std::iterator_traits<Iterator>::value_type

Definition at line 24 of file sort.h.

Enumeration Type Documentation

◆ BronKerboschAlgorithmStatus

Enumerator
COMPLETED 
INTERRUPTED 

Definition at line 68 of file cliques.h.

◆ CliqueResponse

enum CliqueResponse
strong
Enumerator
CONTINUE 
STOP 

Definition at line 58 of file cliques.h.

◆ ConstraintSolverParameters_TrailCompression

Enumerator
ConstraintSolverParameters_TrailCompression_NO_COMPRESSION 
ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB 
ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MIN_SENTINEL_DO_NOT_USE_ 
ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 68 of file solver_parameters.pb.h.

◆ DimensionSchedulingStatus

Enumerator
OPTIMAL 
RELAXED_OPTIMAL_ONLY 
INFEASIBLE 

Definition at line 149 of file routing_lp_scheduling.h.

◆ FirstSolutionStrategy_Value

Enumerator
FirstSolutionStrategy_Value_UNSET 
FirstSolutionStrategy_Value_AUTOMATIC 
FirstSolutionStrategy_Value_PATH_CHEAPEST_ARC 
FirstSolutionStrategy_Value_PATH_MOST_CONSTRAINED_ARC 
FirstSolutionStrategy_Value_EVALUATOR_STRATEGY 
FirstSolutionStrategy_Value_SAVINGS 
FirstSolutionStrategy_Value_SWEEP 
FirstSolutionStrategy_Value_CHRISTOFIDES 
FirstSolutionStrategy_Value_ALL_UNPERFORMED 
FirstSolutionStrategy_Value_BEST_INSERTION 
FirstSolutionStrategy_Value_PARALLEL_CHEAPEST_INSERTION 
FirstSolutionStrategy_Value_SEQUENTIAL_CHEAPEST_INSERTION 
FirstSolutionStrategy_Value_LOCAL_CHEAPEST_INSERTION 
FirstSolutionStrategy_Value_GLOBAL_CHEAPEST_ARC 
FirstSolutionStrategy_Value_LOCAL_CHEAPEST_ARC 
FirstSolutionStrategy_Value_FIRST_UNBOUND_MIN_VALUE 
FirstSolutionStrategy_Value_FirstSolutionStrategy_Value_INT_MIN_SENTINEL_DO_NOT_USE_ 
FirstSolutionStrategy_Value_FirstSolutionStrategy_Value_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 72 of file routing_enums.pb.h.

◆ FlowModel_ProblemType

Enumerator
FlowModel_ProblemType_LINEAR_SUM_ASSIGNMENT 
FlowModel_ProblemType_MAX_FLOW 
FlowModel_ProblemType_MIN_COST_FLOW 

Definition at line 76 of file flow_problem.pb.h.

◆ GScipHintResult

enum GScipHintResult
strong
Enumerator
kInfeasible 
kRejected 
kAccepted 

Definition at line 452 of file gscip.h.

◆ GScipMessageType

enum GScipMessageType
strong
Enumerator
kInfoMessage 
kDialogMessage 
kWarningMessage 

Definition at line 28 of file gscip_message_handler.h.

◆ GScipOutput_Status

enum GScipOutput_Status : int
Enumerator
GScipOutput_Status_UNKNOWN 
GScipOutput_Status_USER_INTERRUPT 
GScipOutput_Status_NODE_LIMIT 
GScipOutput_Status_TOTAL_NODE_LIMIT 
GScipOutput_Status_STALL_NODE_LIMIT 
GScipOutput_Status_TIME_LIMIT 
GScipOutput_Status_MEM_LIMIT 
GScipOutput_Status_GAP_LIMIT 
GScipOutput_Status_SOL_LIMIT 
GScipOutput_Status_BEST_SOL_LIMIT 
GScipOutput_Status_RESTART_LIMIT 
GScipOutput_Status_OPTIMAL 
GScipOutput_Status_INFEASIBLE 
GScipOutput_Status_UNBOUNDED 
GScipOutput_Status_INF_OR_UNBD 
GScipOutput_Status_TERMINATE 
GScipOutput_Status_INVALID_SOLVER_PARAMETERS 
GScipOutput_Status_GScipOutput_Status_INT_MIN_SENTINEL_DO_NOT_USE_ 
GScipOutput_Status_GScipOutput_Status_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 163 of file gscip.pb.h.

◆ GScipParameters_Emphasis

Enumerator
GScipParameters_Emphasis_DEFAULT_EMPHASIS 
GScipParameters_Emphasis_COUNTER 
GScipParameters_Emphasis_CP_SOLVER 
GScipParameters_Emphasis_EASY_CIP 
GScipParameters_Emphasis_FEASIBILITY 
GScipParameters_Emphasis_HARD_LP 
GScipParameters_Emphasis_OPTIMALITY 
GScipParameters_Emphasis_PHASE_FEAS 
GScipParameters_Emphasis_PHASE_IMPROVE 
GScipParameters_Emphasis_PHASE_PROOF 
GScipParameters_Emphasis_GScipParameters_Emphasis_INT_MIN_SENTINEL_DO_NOT_USE_ 
GScipParameters_Emphasis_GScipParameters_Emphasis_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 103 of file gscip.pb.h.

◆ GScipParameters_MetaParamValue

Enumerator
GScipParameters_MetaParamValue_DEFAULT_META_PARAM_VALUE 
GScipParameters_MetaParamValue_AGGRESSIVE 
GScipParameters_MetaParamValue_FAST 
GScipParameters_MetaParamValue_OFF 
GScipParameters_MetaParamValue_GScipParameters_MetaParamValue_INT_MIN_SENTINEL_DO_NOT_USE_ 
GScipParameters_MetaParamValue_GScipParameters_MetaParamValue_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 136 of file gscip.pb.h.

◆ GScipVarType

enum GScipVarType
strong
Enumerator
kContinuous 
kInteger 
kImpliedInteger 

Definition at line 108 of file gscip.h.

◆ LocalSearchMetaheuristic_Value

Enumerator
LocalSearchMetaheuristic_Value_UNSET 
LocalSearchMetaheuristic_Value_AUTOMATIC 
LocalSearchMetaheuristic_Value_GREEDY_DESCENT 
LocalSearchMetaheuristic_Value_GUIDED_LOCAL_SEARCH 
LocalSearchMetaheuristic_Value_SIMULATED_ANNEALING 
LocalSearchMetaheuristic_Value_TABU_SEARCH 
LocalSearchMetaheuristic_Value_GENERIC_TABU_SEARCH 
LocalSearchMetaheuristic_Value_LocalSearchMetaheuristic_Value_INT_MIN_SENTINEL_DO_NOT_USE_ 
LocalSearchMetaheuristic_Value_LocalSearchMetaheuristic_Value_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 111 of file routing_enums.pb.h.

◆ MPCallbackEvent

enum MPCallbackEvent
strong
Enumerator
kUnknown 
kPolling 
kPresolve 
kSimplex 
kMip 
kMipSolution 
kMipNode 
kBarrier 
kMessage 
kMultiObj 

Definition at line 37 of file linear_solver_callback.h.

◆ MPModelRequest_SolverType

Enumerator
MPModelRequest_SolverType_GLOP_LINEAR_PROGRAMMING 
MPModelRequest_SolverType_CLP_LINEAR_PROGRAMMING 
MPModelRequest_SolverType_GLPK_LINEAR_PROGRAMMING 
MPModelRequest_SolverType_GUROBI_LINEAR_PROGRAMMING 
MPModelRequest_SolverType_XPRESS_LINEAR_PROGRAMMING 
MPModelRequest_SolverType_CPLEX_LINEAR_PROGRAMMING 
MPModelRequest_SolverType_SCIP_MIXED_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_GLPK_MIXED_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_CBC_MIXED_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_GUROBI_MIXED_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_XPRESS_MIXED_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_CPLEX_MIXED_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_BOP_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_SAT_INTEGER_PROGRAMMING 
MPModelRequest_SolverType_KNAPSACK_MIXED_INTEGER_PROGRAMMING 

Definition at line 196 of file linear_solver.pb.h.

◆ MPSolverCommonParameters_LPAlgorithmValues

Enumerator
MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_UNSPECIFIED 
MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_DUAL 
MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_PRIMAL 
MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_BARRIER 

Definition at line 171 of file linear_solver.pb.h.

◆ MPSolverResponseStatus

Enumerator
MPSOLVER_OPTIMAL 
MPSOLVER_FEASIBLE 
MPSOLVER_INFEASIBLE 
MPSOLVER_UNBOUNDED 
MPSOLVER_ABNORMAL 
MPSOLVER_NOT_SOLVED 
MPSOLVER_MODEL_IS_VALID 
MPSOLVER_UNKNOWN_STATUS 
MPSOLVER_MODEL_INVALID 
MPSOLVER_MODEL_INVALID_SOLUTION_HINT 
MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS 
MPSOLVER_SOLVER_TYPE_UNAVAILABLE 

Definition at line 232 of file linear_solver.pb.h.

◆ MPSosConstraint_Type

Enumerator
MPSosConstraint_Type_SOS1_DEFAULT 
MPSosConstraint_Type_SOS2 

Definition at line 148 of file linear_solver.pb.h.

◆ OptionalBoolean

enum OptionalBoolean : int
Enumerator
BOOL_UNSPECIFIED 
BOOL_FALSE 
BOOL_TRUE 
OptionalBoolean_INT_MIN_SENTINEL_DO_NOT_USE_ 
OptionalBoolean_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 60 of file optional_boolean.pb.h.

◆ ProtoWriteFormat

enum ProtoWriteFormat
strong
Enumerator
kProtoText 
kProtoBinary 
kJson 

Definition at line 47 of file file_util.h.

◆ RoutingSearchParameters_SchedulingSolver

Enumerator
RoutingSearchParameters_SchedulingSolver_UNSET 
RoutingSearchParameters_SchedulingSolver_GLOP 
RoutingSearchParameters_SchedulingSolver_CP_SAT 
RoutingSearchParameters_SchedulingSolver_RoutingSearchParameters_SchedulingSolver_INT_MIN_SENTINEL_DO_NOT_USE_ 
RoutingSearchParameters_SchedulingSolver_RoutingSearchParameters_SchedulingSolver_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 84 of file routing_parameters.pb.h.

◆ ScipSeparationResult

enum ScipSeparationResult
strong
Enumerator
kLazyConstraintAdded 
kCuttingPlaneAdded 
kDidNotFind 

Definition at line 90 of file scip_callback.cc.

◆ VarTypes

enum VarTypes

This enum is used internally to do dynamic typing on subclasses of integer variables.

Enumerator
UNSPECIFIED 
DOMAIN_INT_VAR 
BOOLEAN_VAR 
CONST_VAR 
VAR_ADD_CST 
VAR_TIMES_CST 
CST_SUB_VAR 
OPP_VAR 
TRACE_VAR 

Definition at line 114 of file constraint_solveri.h.

Function Documentation

◆ AbslParseFlag()

bool AbslParseFlag ( const absl::string_view  text,
MPSolver::OptimizationProblemType solver_type,
std::string *  error 
)

Definition at line 584 of file linear_solver.cc.

◆ AbslUnparseFlag()

std::string operations_research::AbslUnparseFlag ( MPSolver::OptimizationProblemType  solver_type)
inline

Definition at line 923 of file linear_solver.h.

◆ AcceptDelta()

bool AcceptDelta ( Search *const  search,
Assignment delta,
Assignment deltadelta 
)

Definition at line 1351 of file constraint_solver.cc.

◆ AcceptNeighbor()

void AcceptNeighbor ( Search *const  search)

Definition at line 1356 of file constraint_solver.cc.

◆ AcceptUncheckedNeighbor()

void AcceptUncheckedNeighbor ( Search *const  search)

Definition at line 1358 of file constraint_solver.cc.

◆ AddArcsFromMinimumSpanningTree()

void operations_research::AddArcsFromMinimumSpanningTree ( int  number_of_nodes,
const CostFunction &  cost,
std::set< std::pair< int, int >> *  arcs 
)

Definition at line 293 of file one_tree_lower_bound.h.

◆ AddCallbackConstraint()

void AddCallbackConstraint ( SCIP *  scip,
ScipConstraintHandler< ConstraintData > *  handler,
const std::string &  constraint_name,
const ConstraintData *  constraint_data,
const ScipCallbackConstraintOptions options 
)

Definition at line 266 of file scip_callback.h.

◆ AddHadOverflow()

bool operations_research::AddHadOverflow ( int64_t  x,
int64_t  y,
int64_t  sum 
)
inline

Definition at line 54 of file saturated_arithmetic.h.

◆ AddLocalSearchNeighborhoodOperatorsFromFlags()

void operations_research::AddLocalSearchNeighborhoodOperatorsFromFlags ( RoutingSearchParameters *  parameters)

Definition at line 205 of file routing_flags.cc.

◆ AddOverflows()

bool operations_research::AddOverflows ( int64_t  x,
int64_t  y 
)
inline

Definition at line 78 of file saturated_arithmetic.h.

◆ AppendDimensionCumulFilters()

void AppendDimensionCumulFilters ( const std::vector< RoutingDimension * > &  dimensions,
const RoutingSearchParameters &  parameters,
bool  filter_objective_cost,
std::vector< LocalSearchFilterManager::FilterEvent > *  filters 
)

Definition at line 2207 of file routing_filters.cc.

◆ AppendLightWeightDimensionFilters()

void AppendLightWeightDimensionFilters ( const PathState path_state,
const std::vector< RoutingDimension * > &  dimensions,
std::vector< LocalSearchFilterManager::FilterEvent > *  filters 
)

Appends dimension-based filters to the given list of filters using a path state.

Definition at line 2145 of file routing_filters.cc.

◆ AppendTasksFromIntervals()

void AppendTasksFromIntervals ( const std::vector< IntervalVar * > &  intervals,
DisjunctivePropagator::Tasks tasks 
)

Definition at line 690 of file routing_breaks.cc.

◆ AppendTasksFromPath()

void AppendTasksFromPath ( const std::vector< int64_t > &  path,
const TravelBounds travel_bounds,
const RoutingDimension dimension,
DisjunctivePropagator::Tasks tasks 
)

Definition at line 606 of file routing_breaks.cc.

◆ ApplyMipPresolveSteps()

MPSolverResponseStatus ApplyMipPresolveSteps ( const glop::GlopParameters &  glop_params,
MPModelProto *  model,
std::vector< std::unique_ptr< glop::Preprocessor >> *  for_postsolve,
SolverLogger logger 
)

Definition at line 27 of file sat_solver_utils.cc.

◆ ApplyVerifiedMPModelDelta()

void ApplyVerifiedMPModelDelta ( const MPModelDeltaProto &  delta,
MPModelProto *  model 
)

Definition at line 817 of file linear_solver/model_validator.cc.

◆ AreAllBooleans()

bool operations_research::AreAllBooleans ( const std::vector< IntVar * > &  vars)
inline

Definition at line 2940 of file constraint_solveri.h.

◆ AreAllBound()

bool operations_research::AreAllBound ( const std::vector< IntVar * > &  vars)
inline

Definition at line 2931 of file constraint_solveri.h.

◆ AreAllBoundOrNull()

bool operations_research::AreAllBoundOrNull ( const std::vector< IntVar * > &  vars,
const std::vector< T > &  values 
)

Returns true if all the variables are assigned to a single value, or if their corresponding value is null.

Definition at line 2947 of file constraint_solveri.h.

◆ AreAllBoundTo()

bool operations_research::AreAllBoundTo ( const std::vector< IntVar * > &  vars,
int64_t  value 
)
inline

Returns true if all variables are assigned to 'value'.

Definition at line 2958 of file constraint_solveri.h.

◆ AreAllGreaterOrEqual()

bool operations_research::AreAllGreaterOrEqual ( const std::vector< T > &  values,
const T &  value 
)

Definition at line 2861 of file constraint_solveri.h.

◆ AreAllLessOrEqual()

bool operations_research::AreAllLessOrEqual ( const std::vector< T > &  values,
const T &  value 
)

Definition at line 2871 of file constraint_solveri.h.

◆ AreAllNegative()

bool operations_research::AreAllNegative ( const std::vector< T > &  values)

Definition at line 2886 of file constraint_solveri.h.

◆ AreAllNull()

bool operations_research::AreAllNull ( const std::vector< T > &  values)

Definition at line 2856 of file constraint_solveri.h.

◆ AreAllOnes()

bool operations_research::AreAllOnes ( const std::vector< T > &  values)

Definition at line 2851 of file constraint_solveri.h.

◆ AreAllPositive()

bool operations_research::AreAllPositive ( const std::vector< T > &  values)

Definition at line 2881 of file constraint_solveri.h.

◆ AreAllStrictlyNegative()

bool operations_research::AreAllStrictlyNegative ( const std::vector< T > &  values)

Definition at line 2896 of file constraint_solveri.h.

◆ AreAllStrictlyPositive()

bool operations_research::AreAllStrictlyPositive ( const std::vector< T > &  values)

Definition at line 2891 of file constraint_solveri.h.

◆ AreWithinAbsoluteOrRelativeTolerances()

bool operations_research::AreWithinAbsoluteOrRelativeTolerances ( FloatType  x,
FloatType  y,
FloatType  relative_tolerance,
FloatType  absolute_tolerance 
)

Definition at line 120 of file fp_utils.h.

◆ AreWithinAbsoluteTolerance()

bool operations_research::AreWithinAbsoluteTolerance ( FloatType  x,
FloatType  y,
FloatType  absolute_tolerance 
)

Definition at line 141 of file fp_utils.h.

◆ AStarShortestPath()

bool AStarShortestPath ( int  node_count,
int  start_node,
int  end_node,
std::function< int64_t(int, int)>  graph,
std::function< int64_t(int)>  heuristic,
int64_t  disconnected_distance,
std::vector< int > *  nodes 
)

Definition at line 170 of file astar.cc.

◆ AutomaticFirstSolutionStrategy()

operations_research::FirstSolutionStrategy::Value AutomaticFirstSolutionStrategy ( bool  has_pickup_deliveries,
bool  has_node_precedences,
bool  has_single_vehicle_node 
)

Returns the best value for the automatic first solution strategy, based on the given model parameters.

Definition at line 168 of file routing_search.cc.

◆ BellmanFordShortestPath()

bool BellmanFordShortestPath ( int  node_count,
int  start_node,
int  end_node,
std::function< int64_t(int, int)>  graph,
int64_t  disconnected_distance,
std::vector< int > *  nodes 
)

Definition at line 113 of file bellman_ford.cc.

◆ BitCount32()

uint32_t operations_research::BitCount32 ( uint32_t  n)
inline

Definition at line 53 of file bitset.h.

◆ BitCount64()

uint64_t operations_research::BitCount64 ( uint64_t  n)
inline

Definition at line 42 of file bitset.h.

◆ BitCountRange32()

uint32_t operations_research::BitCountRange32 ( const uint32_t *const  bitset,
uint32_t  start,
uint32_t  end 
)

◆ BitCountRange64()

uint64_t operations_research::BitCountRange64 ( const uint64_t *const  bitset,
uint64_t  start,
uint64_t  end 
)

◆ BitLength32()

uint32_t operations_research::BitLength32 ( uint32_t  size)
inline

Definition at line 339 of file bitset.h.

◆ BitLength64()

uint64_t operations_research::BitLength64 ( uint64_t  size)
inline

Definition at line 338 of file bitset.h.

◆ BitOffset32()

uint32_t operations_research::BitOffset32 ( uint32_t  pos)
inline

Definition at line 335 of file bitset.h.

◆ BitOffset64()

uint64_t operations_research::BitOffset64 ( uint64_t  pos)
inline

Definition at line 334 of file bitset.h.

◆ BitPos32()

uint32_t operations_research::BitPos32 ( uint32_t  pos)
inline

Definition at line 331 of file bitset.h.

◆ BitPos64()

uint32_t operations_research::BitPos64 ( uint64_t  pos)
inline

Definition at line 330 of file bitset.h.

◆ BitShift32()

uint32_t operations_research::BitShift32 ( uint32_t  v)
inline

Definition at line 343 of file bitset.h.

◆ BitShift64()

uint64_t operations_research::BitShift64 ( uint64_t  v)
inline

Definition at line 342 of file bitset.h.

◆ BuildBopInterface()

MPSolverInterface * BuildBopInterface ( MPSolver *const  solver)

Definition at line 387 of file bop_interface.cc.

◆ BuildCBCInterface()

MPSolverInterface * BuildCBCInterface ( MPSolver *const  solver)

Definition at line 534 of file cbc_interface.cc.

◆ BuildCLPInterface()

MPSolverInterface * BuildCLPInterface ( MPSolver *const  solver)

Definition at line 627 of file clp_interface.cc.

◆ BuildDemonProfiler()

DemonProfiler * BuildDemonProfiler ( Solver *const  solver)

Definition at line 443 of file demon_profiler.cc.

◆ BuildDurationExpr()

IntExpr * BuildDurationExpr ( IntervalVar var)

Definition at line 165 of file sched_expr.cc.

◆ BuildEndExpr()

IntExpr * BuildEndExpr ( IntervalVar var)

Definition at line 175 of file sched_expr.cc.

◆ BuildEulerianPath()

std::vector<typename Graph::NodeIndex> operations_research::BuildEulerianPath ( const Graph &  graph)

Definition at line 138 of file eulerian_path.h.

◆ BuildEulerianPathFromNode()

std::vector<NodeIndex> operations_research::BuildEulerianPathFromNode ( const Graph &  graph,
NodeIndex  root 
)

Definition at line 74 of file eulerian_path.h.

◆ BuildEulerianTour()

std::vector<typename Graph::NodeIndex> operations_research::BuildEulerianTour ( const Graph &  graph)

Definition at line 128 of file eulerian_path.h.

◆ BuildEulerianTourFromNode()

std::vector<NodeIndex> operations_research::BuildEulerianTourFromNode ( const Graph &  graph,
NodeIndex  root 
)

Definition at line 116 of file eulerian_path.h.

◆ BuildGLOPInterface()

MPSolverInterface * BuildGLOPInterface ( MPSolver *const  solver)

Definition at line 429 of file glop_interface.cc.

◆ BuildGurobiInterface()

MPSolverInterface * BuildGurobiInterface ( bool  mip,
MPSolver *const  solver 
)

Definition at line 1384 of file gurobi_interface.cc.

◆ BuildKruskalMinimumSpanningTree()

std::vector<typename Graph::ArcIndex> operations_research::BuildKruskalMinimumSpanningTree ( const Graph &  graph,
const ArcComparator &  arc_comparator 
)

Definition at line 89 of file minimum_spanning_tree.h.

◆ BuildKruskalMinimumSpanningTreeFromSortedArcs()

std::vector<typename Graph::ArcIndex> operations_research::BuildKruskalMinimumSpanningTreeFromSortedArcs ( const Graph &  graph,
const std::vector< typename Graph::ArcIndex > &  sorted_arcs 
)

Definition at line 50 of file minimum_spanning_tree.h.

◆ BuildLineGraph()

bool operations_research::BuildLineGraph ( const GraphType &  graph,
GraphType *const  line_graph 
)

Definition at line 2088 of file ebert_graph.h.

◆ BuildLocalSearchMonitorMaster()

LocalSearchMonitor * BuildLocalSearchMonitorMaster ( Solver *const  s)

Definition at line 3209 of file constraint_solver.cc.

◆ BuildLocalSearchProfiler()

LocalSearchProfiler * BuildLocalSearchProfiler ( Solver solver)

Definition at line 3847 of file local_search.cc.

◆ BuildModelCache()

ModelCache * BuildModelCache ( Solver *const  solver)

Definition at line 846 of file model_cache.cc.

◆ BuildModelParametersFromFlags()

RoutingModelParameters BuildModelParametersFromFlags ( )

Builds routing search parameters from flags.

Definition at line 333 of file routing_flags.cc.

◆ BuildPrimMinimumSpanningTree()

std::vector<typename Graph::ArcIndex> operations_research::BuildPrimMinimumSpanningTree ( const Graph &  graph,
const ArcValue &  arc_value 
)

Definition at line 115 of file minimum_spanning_tree.h.

◆ BuildPrintTrace()

PropagationMonitor * BuildPrintTrace ( Solver *const  s)

Definition at line 878 of file trace.cc.

◆ BuildSafeDurationExpr()

IntExpr * BuildSafeDurationExpr ( IntervalVar var,
int64_t  unperformed_value 
)

Definition at line 190 of file sched_expr.cc.

◆ BuildSafeEndExpr()

IntExpr * BuildSafeEndExpr ( IntervalVar var,
int64_t  unperformed_value 
)

Definition at line 195 of file sched_expr.cc.

◆ BuildSafeStartExpr()

IntExpr * BuildSafeStartExpr ( IntervalVar var,
int64_t  unperformed_value 
)

Definition at line 185 of file sched_expr.cc.

◆ BuildSatInterface()

MPSolverInterface * BuildSatInterface ( MPSolver *const  solver)

Definition at line 299 of file sat_interface.cc.

◆ BuildSCIPInterface()

MPSolverInterface * BuildSCIPInterface ( MPSolver *const  solver)

Definition at line 1152 of file scip_interface.cc.

◆ BuildSearchParametersFromFlags()

RoutingSearchParameters BuildSearchParametersFromFlags ( )

Builds routing search parameters from flags.

describe a valid set of routing search parameters.

Definition at line 320 of file routing_flags.cc.

◆ BuildStartExpr()

IntExpr * BuildStartExpr ( IntervalVar var)

Definition at line 155 of file sched_expr.cc.

◆ BuildTrace()

PropagationMonitor * BuildTrace ( Solver *const  s)

Definition at line 3134 of file constraint_solver.cc.

◆ CapAdd()

int64_t operations_research::CapAdd ( int64_t  x,
int64_t  y 
)
inline

Definition at line 126 of file saturated_arithmetic.h.

◆ CapAddGeneric()

int64_t operations_research::CapAddGeneric ( int64_t  x,
int64_t  y 
)
inline

Definition at line 104 of file saturated_arithmetic.h.

◆ CapOpp()

int64_t operations_research::CapOpp ( int64_t  v)
inline

Definition at line 165 of file saturated_arithmetic.h.

◆ CapProd()

int64_t operations_research::CapProd ( int64_t  x,
int64_t  y 
)
inline

Definition at line 233 of file saturated_arithmetic.h.

◆ CapProdGeneric()

int64_t operations_research::CapProdGeneric ( int64_t  x,
int64_t  y 
)
inline

Definition at line 182 of file saturated_arithmetic.h.

◆ CapSub()

int64_t operations_research::CapSub ( int64_t  x,
int64_t  y 
)
inline

Definition at line 156 of file saturated_arithmetic.h.

◆ CapSubGeneric()

int64_t operations_research::CapSubGeneric ( int64_t  x,
int64_t  y 
)
inline

Definition at line 134 of file saturated_arithmetic.h.

◆ CapWithSignOf()

int64_t operations_research::CapWithSignOf ( int64_t  x)
inline

Definition at line 99 of file saturated_arithmetic.h.

◆ CeilRatio()

int64_t operations_research::CeilRatio ( int64_t  value,
int64_t  positive_coeff 
)

Definition at line 87 of file sorted_interval_list.cc.

◆ ChooseMode()

BaseAssignVariables::Mode operations_research::ChooseMode ( Solver::IntValueStrategy  val_str)

Definition at line 2007 of file search.cc.

◆ CleanVariableOnFail()

void CleanVariableOnFail ( IntVar *const  var)

Definition at line 6359 of file expressions.cc.

◆ ClearBit32()

void operations_research::ClearBit32 ( uint32_t *const  bitset,
uint32_t  pos 
)
inline

Definition at line 365 of file bitset.h.

◆ ClearBit64()

void operations_research::ClearBit64 ( uint64_t *const  bitset,
uint64_t  pos 
)
inline

Definition at line 362 of file bitset.h.

◆ CompareKnapsackItemWithEfficiencyInDecreasingEfficiencyOrder()

bool operations_research::CompareKnapsackItemWithEfficiencyInDecreasingEfficiencyOrder ( const KnapsackItemWithEfficiency item1,
const KnapsackItemWithEfficiency item2 
)

Definition at line 719 of file knapsack_solver.cc.

◆ ComputeGcdOfRoundedDoubles()

int64_t ComputeGcdOfRoundedDoubles ( const std::vector< double > &  x,
double  scaling_factor 
)

Definition at line 189 of file fp_utils.cc.

◆ ComputeMinimumWeightMatching()

absl::StatusOr<std::vector< std::pair<typename GraphType::NodeIndex, typename GraphType::NodeIndex> > > operations_research::ComputeMinimumWeightMatching ( const GraphType &  graph,
const WeightFunctionType &  weight 
)

Definition at line 109 of file christofides.h.

◆ ComputeMinimumWeightMatchingWithMIP()

absl::StatusOr<std::vector< std::pair<typename GraphType::NodeIndex, typename GraphType::NodeIndex> > > operations_research::ComputeMinimumWeightMatchingWithMIP ( const GraphType &  graph,
const WeightFunctionType &  weight 
)

Definition at line 145 of file christofides.h.

◆ ComputeOneTree()

std::vector<int> operations_research::ComputeOneTree ( const GraphType &  graph,
const CostFunction &  cost,
const std::vector< double > &  weights,
const std::vector< int > &  sorted_arcs,
CostType *  one_tree_cost 
)

Definition at line 331 of file one_tree_lower_bound.h.

◆ ComputeOneTreeLowerBound()

double operations_research::ComputeOneTreeLowerBound ( int  number_of_nodes,
const CostFunction &  cost 
)

Definition at line 480 of file one_tree_lower_bound.h.

◆ ComputeOneTreeLowerBoundWithAlgorithm()

double operations_research::ComputeOneTreeLowerBoundWithAlgorithm ( int  number_of_nodes,
int  nearest_neighbors,
const CostFunction &  cost,
Algorithm *  algorithm 
)

Definition at line 378 of file one_tree_lower_bound.h.

◆ ComputeOneTreeLowerBoundWithParameters()

double operations_research::ComputeOneTreeLowerBoundWithParameters ( int  number_of_nodes,
const CostFunction &  cost,
const TravelingSalesmanLowerBoundParameters parameters 
)

Definition at line 452 of file one_tree_lower_bound.h.

◆ ComputeScalingErrors()

void ComputeScalingErrors ( const std::vector< double > &  input,
const std::vector< double > &  lb,
const std::vector< double > &  ub,
double  scaling_factor,
double *  max_relative_coeff_error,
double *  max_scaled_sum_error 
)

Definition at line 159 of file fp_utils.cc.

◆ ConstraintSolverParameters_TrailCompression_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor ( )

Definition at line 153 of file solver_parameters.pb.cc.

◆ ConstraintSolverParameters_TrailCompression_IsValid()

bool ConstraintSolverParameters_TrailCompression_IsValid ( int  value)

Definition at line 157 of file solver_parameters.pb.cc.

◆ ConstraintSolverParameters_TrailCompression_Name()

const std::string& operations_research::ConstraintSolverParameters_TrailCompression_Name ( enum_t_value)
inline

Definition at line 81 of file solver_parameters.pb.h.

◆ ConstraintSolverParameters_TrailCompression_Parse()

bool operations_research::ConstraintSolverParameters_TrailCompression_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
ConstraintSolverParameters_TrailCompression value 
)
inline

Definition at line 88 of file solver_parameters.pb.h.

◆ CoverArcsByCliques()

void CoverArcsByCliques ( std::function< bool(int, int)>  graph,
int  node_count,
std::function< bool(const std::vector< int > &)>  callback 
)

Definition at line 240 of file cliques.cc.

◆ CpRandomSeed()

int64_t operations_research::CpRandomSeed ( )
inline

Definition at line 158 of file constraint_solver.h.

◆ DefaultGScipConstraintOptions()

const GScipConstraintOptions & DefaultGScipConstraintOptions ( )

Definition at line 180 of file gscip.cc.

◆ DefaultGScipVariableOptions()

const GScipVariableOptions & DefaultGScipVariableOptions ( )

Definition at line 175 of file gscip.cc.

◆ DefaultPhaseStatString()

std::string operations_research::DefaultPhaseStatString ( DecisionBuilder db)

Definition at line 1110 of file default_search.cc.

◆ DefaultRoutingModelParameters()

RoutingModelParameters DefaultRoutingModelParameters ( )

Definition at line 33 of file routing_parameters.cc.

◆ DefaultRoutingSearchParameters()

RoutingSearchParameters DefaultRoutingSearchParameters ( )
Examples
tsp.cc, and vrp.cc.

Definition at line 46 of file routing_parameters.cc.

◆ DEFINE_INT_TYPE() [1/5]

operations_research::DEFINE_INT_TYPE ( RoutingCostClassIndex  ,
int   
)

◆ DEFINE_INT_TYPE() [2/5]

operations_research::DEFINE_INT_TYPE ( RoutingDimensionIndex  ,
int   
)

◆ DEFINE_INT_TYPE() [3/5]

operations_research::DEFINE_INT_TYPE ( RoutingDisjunctionIndex  ,
int   
)

◆ DEFINE_INT_TYPE() [4/5]

operations_research::DEFINE_INT_TYPE ( RoutingNodeIndex  ,
int   
)

Defining common types used in the routing library outside the main RoutingModel class has several purposes: 1) It allows some small libraries to avoid a dependency on routing.

{h,cc}, eg. routing_neighborhoods.h. 2) It allows an easier wrapping via SWIG, which can have issues with intra-class types.

Users that depend on routing.{h,cc} should just use the RoutingModel:: equivalent, eg. RoutingModel::NodeIndex.

◆ DEFINE_INT_TYPE() [5/5]

operations_research::DEFINE_INT_TYPE ( RoutingVehicleClassIndex  ,
int   
)

◆ DeleteDemonProfiler()

void DeleteDemonProfiler ( DemonProfiler *const  monitor)

Definition at line 451 of file demon_profiler.cc.

◆ DeleteLocalSearchProfiler()

void DeleteLocalSearchProfiler ( LocalSearchProfiler monitor)

Definition at line 3854 of file local_search.cc.

◆ DemonProfilerAddFakeRun()

void operations_research::DemonProfilerAddFakeRun ( DemonProfiler *const  monitor,
Demon *const  demon,
int64_t  start_time,
int64_t  end_time,
bool  is_fail 
)

Definition at line 468 of file demon_profiler.cc.

◆ DemonProfilerBeginInitialPropagation()

void operations_research::DemonProfilerBeginInitialPropagation ( DemonProfiler *const  monitor,
Constraint *const  constraint 
)

Definition at line 486 of file demon_profiler.cc.

◆ DemonProfilerEndInitialPropagation()

void operations_research::DemonProfilerEndInitialPropagation ( DemonProfiler *const  monitor,
Constraint *const  constraint 
)

Definition at line 491 of file demon_profiler.cc.

◆ DemonProfilerExportInformation()

void operations_research::DemonProfilerExportInformation ( DemonProfiler *const  monitor,
const Constraint *const  constraint,
int64_t *const  fails,
int64_t *const  initial_propagation_runtime,
int64_t *const  demon_invocations,
int64_t *const  total_demon_runtime,
int *const  demon_count 
)

Definition at line 474 of file demon_profiler.cc.

◆ DijkstraShortestPath()

bool DijkstraShortestPath ( int  node_count,
int  start_node,
int  end_node,
std::function< int64_t(int, int)>  graph,
int64_t  disconnected_distance,
std::vector< int > *  nodes 
)

Definition at line 149 of file dijkstra.cc.

◆ EncodeSatParametersAsString()

std::string EncodeSatParametersAsString ( const sat::SatParameters &  parameters)

Definition at line 241 of file sat_proto_solver.cc.

◆ ExportModelAsLpFormat()

absl::StatusOr< std::string > ExportModelAsLpFormat ( const MPModelProto &  model,
const MPModelExportOptions options = MPModelExportOptions() 
)

Outputs the current model (variables, constraints, objective) as a string encoded in the so-called "CPLEX LP file format" as generated by SCIP.

The LP file format is easily readable by a human.

Returns false if some error has occurred during execution. The validity of names is automatically checked. If a variable name or a constraint name is invalid or non-existent, a new valid name is automatically generated.

If 'obfuscated' is true, the variable and constraint names of proto_ are not used. Variable and constraint names of the form "V12345" and "C12345" are used instead.

For more information about the different LP file formats: http://lpsolve.sourceforge.net/5.5/lp-format.htm The following give a reasonable idea of the CPLEX LP file format: http://lpsolve.sourceforge.net/5.5/CPLEX-format.htm http://tinyurl.com/cplex-lp-format http://www.gurobi.com/documentation/5.1/reference-manual/node871

Definition at line 214 of file model_exporter.cc.

◆ ExportModelAsMpsFormat()

absl::StatusOr< std::string > ExportModelAsMpsFormat ( const MPModelProto &  model,
const MPModelExportOptions options = MPModelExportOptions() 
)

Outputs the current model (variables, constraints, objective) as a string encoded in MPS file format, using the "free" MPS format.

Returns false if some error has occurred during execution. Models with maximization objectives trigger an error, because MPS can encode only minimization problems.

The validity of names is automatically checked. If a variable name or a constraint name is invalid or non-existent, a new valid name is automatically generated.

Name validity and obfuscation works exactly as in ExportModelAsLpFormat().

For more information about the MPS format: http://en.wikipedia.org/wiki/MPS_(format) A close-to-original description coming from OSL: http://tinyurl.com/mps-format-by-osl A recent description from CPLEX: http://tinyurl.com/mps-format-by-cplex CPLEX extensions: http://tinyurl.com/mps-extensions-by-cplex Gurobi's description: http://www.gurobi.com/documentation/5.1/reference-manual/node869

Definition at line 231 of file model_exporter.cc.

◆ ExtractValidMPModelInPlaceOrPopulateResponseStatus()

bool ExtractValidMPModelInPlaceOrPopulateResponseStatus ( MPModelRequest *  request,
MPSolutionResponse *  response 
)

Like ExtractValidMPModelOrPopulateResponseStatus(), but works in-place: if the MPModel needed extraction, it will be populated in the request, and it returns the success boolean.

Definition at line 608 of file linear_solver/model_validator.cc.

◆ ExtractValidMPModelOrPopulateResponseStatus()

absl::optional< LazyMutableCopy< MPModelProto > > ExtractValidMPModelOrPopulateResponseStatus ( const MPModelRequest &  request,
MPSolutionResponse *  response 
)

If the model is valid and non-empty, returns it (possibly after extracting the model_delta).

If invalid or empty, updates response and returns null.

Definition at line 531 of file linear_solver/model_validator.cc.

◆ FillPathEvaluation()

void FillPathEvaluation ( const std::vector< int64_t > &  path,
const RoutingModel::TransitCallback2 evaluator,
std::vector< int64_t > *  values 
)

Definition at line 5690 of file routing.cc.

◆ FillTravelBoundsOfVehicle()

void FillTravelBoundsOfVehicle ( int  vehicle,
const std::vector< int64_t > &  path,
const RoutingDimension dimension,
TravelBounds travel_bounds 
)

Definition at line 661 of file routing_breaks.cc.

◆ FillValues()

void operations_research::FillValues ( const std::vector< IntVar * > &  vars,
std::vector< int64_t > *const  values 
)
inline

Definition at line 2987 of file constraint_solveri.h.

◆ FindCliques()

void FindCliques ( std::function< bool(int, int)>  graph,
int  node_count,
std::function< bool(const std::vector< int > &)>  callback 
)

Definition at line 226 of file cliques.cc.

◆ FindErrorInMPModelDeltaProto()

std::string FindErrorInMPModelDeltaProto ( const MPModelDeltaProto &  delta,
const MPModelProto &  model 
)

Like FindErrorInMPModelProto, but for a MPModelDeltaProto applied to a given baseline model (assumed valid, eg.

FindErrorInMPModelProto(model)=""). Works in O(|model_delta|) + O(num_vars in model), but the latter term has a very small constant factor.

Definition at line 682 of file linear_solver/model_validator.cc.

◆ FindErrorInMPModelForScip()

std::string FindErrorInMPModelForScip ( const MPModelProto &  model,
SCIP *  scip 
)

Definition at line 533 of file scip_proto_solver.cc.

◆ FindErrorInMPModelProto()

std::string FindErrorInMPModelProto ( const MPModelProto &  model,
double  abs_value_threshold = 0.0 
)

Returns an empty string iff the model is valid and not trivially infeasible.

Otherwise, returns a description of the first error or trivial infeasibility encountered.

abs_value_threshold is the (exclusive) limit for the abs value of constraint coefficients, objective coefficients, etc. If unspecified, or 0, it defaults to FLAGS_model_validator_infinity.

NOTE(user): the code of this method (and the client code too!) is considerably simplified by this string-based, simple API. If clients require it, we could add a formal error status enum.

Definition at line 416 of file linear_solver/model_validator.cc.

◆ FindErrorInRoutingSearchParameters()

std::string FindErrorInRoutingSearchParameters ( const RoutingSearchParameters &  search_parameters)

Returns an empty std::string if the routing search parameters are valid, and a non-empty, human readable error description if they're not.

Definition at line 141 of file routing_parameters.cc.

◆ FindFeasibilityErrorInSolutionHint()

std::string FindFeasibilityErrorInSolutionHint ( const MPModelProto &  model,
double  tolerance 
)

Returns an empty string if the solution hint given in the model is a feasible solution.

Otherwise, returns a description of the first reason for infeasibility.

This function can be useful for debugging/checking that the given solution hint is feasible when it is expected to be the case. The feasibility is checked up to the given tolerance using the ::operations_research::IsLowerWithinTolerance() function.

Definition at line 621 of file linear_solver/model_validator.cc.

◆ FirstSolutionStrategy_Value_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FirstSolutionStrategy_Value_descriptor ( )

Definition at line 106 of file routing_enums.pb.cc.

◆ FirstSolutionStrategy_Value_IsValid()

bool FirstSolutionStrategy_Value_IsValid ( int  value)

Definition at line 110 of file routing_enums.pb.cc.

◆ FirstSolutionStrategy_Value_Name()

const std::string& operations_research::FirstSolutionStrategy_Value_Name ( enum_t_value)
inline

Definition at line 99 of file routing_enums.pb.h.

◆ FirstSolutionStrategy_Value_Parse()

bool operations_research::FirstSolutionStrategy_Value_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
FirstSolutionStrategy_Value value 
)
inline

Definition at line 106 of file routing_enums.pb.h.

◆ FloorRatio()

int64_t operations_research::FloorRatio ( int64_t  value,
int64_t  positive_coeff 
)

Definition at line 94 of file sorted_interval_list.cc.

◆ FlowModel_ProblemType_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModel_ProblemType_descriptor ( )

Definition at line 144 of file flow_problem.pb.cc.

◆ FlowModel_ProblemType_IsValid()

bool FlowModel_ProblemType_IsValid ( int  value)

Definition at line 148 of file flow_problem.pb.cc.

◆ FlowModel_ProblemType_Name()

const std::string& operations_research::FlowModel_ProblemType_Name ( enum_t_value)
inline

Definition at line 88 of file flow_problem.pb.h.

◆ FlowModel_ProblemType_Parse()

bool operations_research::FlowModel_ProblemType_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
FlowModel_ProblemType value 
)
inline

Definition at line 95 of file flow_problem.pb.h.

◆ FullProtocolMessageAsString()

std::string FullProtocolMessageAsString ( const google::protobuf::Message &  message,
int  indent_level 
)

Definition at line 58 of file proto_tools.cc.

◆ GenericCheck()

void operations_research::GenericCheck ( const int  expected_assignment_size,
const absl::flat_hash_map< int, int > &  direct_assignment,
const absl::flat_hash_map< int, int > &  reverse_assignment,
const int  expected_agents[],
const int  expected_tasks[] 
)

Definition at line 17 of file hungarian_test.cc.

◆ GetBestScalingOfDoublesToInt64() [1/2]

double GetBestScalingOfDoublesToInt64 ( const std::vector< double > &  input,
const std::vector< double > &  lb,
const std::vector< double > &  ub,
int64_t  max_absolute_sum 
)

Definition at line 168 of file fp_utils.cc.

◆ GetBestScalingOfDoublesToInt64() [2/2]

void GetBestScalingOfDoublesToInt64 ( const std::vector< double > &  input,
int64_t  max_absolute_sum,
double *  scaling_factor,
double *  max_relative_coeff_error 
)

Definition at line 178 of file fp_utils.cc.

◆ GetGurobiEnv()

absl::StatusOr< GRBenv * > GetGurobiEnv ( )

Definition at line 756 of file environment.cc.

◆ GetNodeMinimizingEdgeCostToSource()

int operations_research::GetNodeMinimizingEdgeCostToSource ( const GraphType &  graph,
int  source,
const CostFunction &  cost,
AcceptFunction  accept 
)

Definition at line 310 of file one_tree_lower_bound.h.

◆ GetProcessMemoryUsage()

int64_t GetProcessMemoryUsage ( )

Definition at line 85 of file base/sysinfo.cc.

◆ GlopToMPSolverConstraintStatus()

MPSolver::BasisStatus GlopToMPSolverConstraintStatus ( glop::ConstraintStatus  s)

Definition at line 91 of file glop_utils.cc.

◆ GlopToMPSolverResultStatus()

MPSolver::ResultStatus GlopToMPSolverResultStatus ( glop::ProblemStatus  s)

Definition at line 18 of file glop_utils.cc.

◆ GlopToMPSolverVariableStatus()

MPSolver::BasisStatus GlopToMPSolverVariableStatus ( glop::VariableStatus  s)

Definition at line 57 of file glop_utils.cc.

◆ GScipAddQuadraticObjectiveTerm()

absl::Status GScipAddQuadraticObjectiveTerm ( GScip gscip,
std::vector< SCIP_Var * >  quadratic_variables1,
std::vector< SCIP_Var * >  quadratic_variables2,
std::vector< double >  quadratic_coefficients,
const std::string &  name 
)

Definition at line 143 of file gscip_ext.cc.

◆ GScipCreateAbs()

absl::Status GScipCreateAbs ( GScip gscip,
SCIP_Var *  x,
SCIP_Var *  abs_x,
const std::string &  name 
)

Definition at line 69 of file gscip_ext.cc.

◆ GScipCreateIndicatorRange()

absl::Status GScipCreateIndicatorRange ( GScip gscip,
const GScipIndicatorRangeConstraint indicator_range,
const std::string &  name,
const GScipConstraintOptions options 
)

Definition at line 173 of file gscip_ext.cc.

◆ GScipCreateMaximum()

absl::Status GScipCreateMaximum ( GScip gscip,
const GScipLinearExpr resultant,
const std::vector< GScipLinearExpr > &  terms,
const std::string &  name 
)

Definition at line 76 of file gscip_ext.cc.

◆ GScipCreateMinimum()

absl::Status GScipCreateMinimum ( GScip gscip,
const GScipLinearExpr resultant,
const std::vector< GScipLinearExpr > &  terms,
const std::string &  name 
)

Definition at line 132 of file gscip_ext.cc.

◆ GScipDifference()

GScipLinearExpr GScipDifference ( GScipLinearExpr  left,
const GScipLinearExpr right 
)

Definition at line 37 of file gscip_ext.cc.

◆ GScipLe()

GScipLinearRange GScipLe ( const GScipLinearExpr  left,
const GScipLinearExpr right 
)

Definition at line 56 of file gscip_ext.cc.

◆ GScipLogLevel()

int GScipLogLevel ( const GScipParameters &  parameters)

Definition at line 82 of file gscip_parameters.cc.

◆ GScipLogLevelSet()

bool GScipLogLevelSet ( const GScipParameters &  parameters)

Definition at line 87 of file gscip_parameters.cc.

◆ GScipMaxNumThreads()

int GScipMaxNumThreads ( const GScipParameters &  parameters)

Definition at line 64 of file gscip_parameters.cc.

◆ GScipMaxNumThreadsSet()

bool GScipMaxNumThreadsSet ( const GScipParameters &  parameters)

Definition at line 71 of file gscip_parameters.cc.

◆ GScipNegate()

GScipLinearExpr GScipNegate ( GScipLinearExpr  expr)

Definition at line 46 of file gscip_ext.cc.

◆ GScipOutput_Status_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipOutput_Status_descriptor ( )

Definition at line 440 of file gscip.pb.cc.

◆ GScipOutput_Status_IsValid()

bool GScipOutput_Status_IsValid ( int  value)

Definition at line 444 of file gscip.pb.cc.

◆ GScipOutput_Status_Name()

const std::string& operations_research::GScipOutput_Status_Name ( enum_t_value)
inline

Definition at line 191 of file gscip.pb.h.

◆ GScipOutput_Status_Parse()

bool operations_research::GScipOutput_Status_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
GScipOutput_Status value 
)
inline

Definition at line 198 of file gscip.pb.h.

◆ GScipOutputEnabled()

bool GScipOutputEnabled ( const GScipParameters &  parameters)

Definition at line 98 of file gscip_parameters.cc.

◆ GScipOutputEnabledSet()

bool GScipOutputEnabledSet ( const GScipParameters &  parameters)

Definition at line 103 of file gscip_parameters.cc.

◆ GScipParameters_Emphasis_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_Emphasis_descriptor ( )

Definition at line 378 of file gscip.pb.cc.

◆ GScipParameters_Emphasis_IsValid()

bool GScipParameters_Emphasis_IsValid ( int  value)

Definition at line 382 of file gscip.pb.cc.

◆ GScipParameters_Emphasis_Name()

const std::string& operations_research::GScipParameters_Emphasis_Name ( enum_t_value)
inline

Definition at line 124 of file gscip.pb.h.

◆ GScipParameters_Emphasis_Parse()

bool operations_research::GScipParameters_Emphasis_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
GScipParameters_Emphasis value 
)
inline

Definition at line 131 of file gscip.pb.h.

◆ GScipParameters_MetaParamValue_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_MetaParamValue_descriptor ( )

Definition at line 415 of file gscip.pb.cc.

◆ GScipParameters_MetaParamValue_IsValid()

bool GScipParameters_MetaParamValue_IsValid ( int  value)

Definition at line 419 of file gscip.pb.cc.

◆ GScipParameters_MetaParamValue_Name()

const std::string& operations_research::GScipParameters_MetaParamValue_Name ( enum_t_value)
inline

Definition at line 151 of file gscip.pb.h.

◆ GScipParameters_MetaParamValue_Parse()

bool operations_research::GScipParameters_MetaParamValue_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
GScipParameters_MetaParamValue value 
)
inline

Definition at line 158 of file gscip.pb.h.

◆ GScipRandomSeed()

int GScipRandomSeed ( const GScipParameters &  parameters)

Definition at line 113 of file gscip_parameters.cc.

◆ GScipRandomSeedSet()

bool GScipRandomSeedSet ( const GScipParameters &  parameters)

Definition at line 120 of file gscip_parameters.cc.

◆ GScipSetLogLevel()

void GScipSetLogLevel ( GScipParameters *  parameters,
int  log_level 
)

Definition at line 75 of file gscip_parameters.cc.

◆ GScipSetMaxNumThreads()

void GScipSetMaxNumThreads ( int  num_threads,
GScipParameters *  parameters 
)

Definition at line 58 of file gscip_parameters.cc.

◆ GScipSetOutputEnabled()

void GScipSetOutputEnabled ( GScipParameters *  parameters,
bool  output_enabled 
)

Definition at line 91 of file gscip_parameters.cc.

◆ GScipSetRandomSeed()

void GScipSetRandomSeed ( GScipParameters *  parameters,
int  random_seed 
)

Definition at line 107 of file gscip_parameters.cc.

◆ GScipSetTimeLimit()

void GScipSetTimeLimit ( absl::Duration  time_limit,
GScipParameters *  parameters 
)

Definition at line 30 of file gscip_parameters.cc.

◆ GScipTimeLimit()

absl::Duration GScipTimeLimit ( const GScipParameters &  parameters)

Definition at line 39 of file gscip_parameters.cc.

◆ GScipTimeLimitSet()

bool GScipTimeLimitSet ( const GScipParameters &  parameters)

Definition at line 54 of file gscip_parameters.cc.

◆ GurobiDynamicLibraryPotentialPaths()

std::vector<std::string> operations_research::GurobiDynamicLibraryPotentialPaths ( )

Definition at line 666 of file environment.cc.

◆ GurobiIsCorrectlyInstalled()

bool GurobiIsCorrectlyInstalled ( )

Definition at line 30 of file environment.cc.

◆ GurobiSolveProto()

absl::StatusOr< MPSolutionResponse > GurobiSolveProto ( const MPModelRequest &  request,
GRBenv gurobi_env 
)

Definition at line 262 of file gurobi_proto_solver.cc.

◆ Hash1() [1/7]

uint64_t operations_research::Hash1 ( const std::vector< int64_t > &  ptrs)
inline

Definition at line 261 of file constraint_solveri.h.

◆ Hash1() [2/7]

uint64_t operations_research::Hash1 ( const std::vector< T * > &  ptrs)

Definition at line 251 of file constraint_solveri.h.

◆ Hash1() [3/7]

uint64_t operations_research::Hash1 ( int  value)
inline

Definition at line 239 of file constraint_solveri.h.

◆ Hash1() [4/7]

uint64_t operations_research::Hash1 ( int64_t  value)
inline

Definition at line 235 of file constraint_solveri.h.

◆ Hash1() [5/7]

uint64_t operations_research::Hash1 ( uint32_t  value)
inline

Definition at line 224 of file constraint_solveri.h.

◆ Hash1() [6/7]

uint64_t operations_research::Hash1 ( uint64_t  value)
inline

Hash functions.

value = (value << 21) - value - 1;

value * 265

value * 21

Definition at line 213 of file constraint_solveri.h.

◆ Hash1() [7/7]

uint64_t operations_research::Hash1 ( void *const  ptr)
inline

Definition at line 241 of file constraint_solveri.h.

◆ Hash32NumWithSeed()

uint32_t operations_research::Hash32NumWithSeed ( uint32_t  num,
uint32_t  c 
)
inline

Definition at line 97 of file hash.h.

◆ Hash64NumWithSeed()

uint64_t operations_research::Hash64NumWithSeed ( uint64_t  num,
uint64_t  c 
)
inline

Definition at line 103 of file hash.h.

◆ HasUnaryDimension()

bool operations_research::HasUnaryDimension ( const std::vector< RoutingDimension * > &  dimensions)

Definition at line 4177 of file routing.cc.

◆ IncrementalSort() [1/2]

void operations_research::IncrementalSort ( int  max_comparisons,
Iterator  begin,
Iterator  end,
Compare  comp = Compare{},
bool  is_stable = false 
)

Definition at line 46 of file sort.h.

◆ IncrementalSort() [2/2]

void operations_research::IncrementalSort ( Iterator  begin,
Iterator  end,
Compare  comp = Compare{},
bool  is_stable = false 
)

Definition at line 129 of file sort.h.

◆ InputContainsNan()

bool operations_research::InputContainsNan ( const std::vector< std::vector< double >> &  input)

Definition at line 645 of file hungarian.cc.

◆ InsertionSort()

void operations_research::InsertionSort ( Iterator  begin,
Iterator  end,
Compare  comp = Compare{} 
)

Definition at line 95 of file sort.h.

◆ InstallDemonProfiler()

void InstallDemonProfiler ( DemonProfiler *const  monitor)

Definition at line 441 of file demon_profiler.cc.

◆ InstallLocalSearchProfiler()

void InstallLocalSearchProfiler ( LocalSearchProfiler monitor)

Definition at line 3843 of file local_search.cc.

◆ InternalSaveBooleanVarValue()

void operations_research::InternalSaveBooleanVarValue ( Solver *const  solver,
IntVar *const  var 
)

Definition at line 950 of file constraint_solver.cc.

◆ Interpolate()

FloatType operations_research::Interpolate ( FloatType  x,
FloatType  y,
FloatType  alpha 
)
inline

Definition at line 242 of file fp_utils.h.

◆ IntervalDown32()

uint32_t operations_research::IntervalDown32 ( uint32_t  s)
inline

Definition at line 316 of file bitset.h.

◆ IntervalDown64()

uint64_t operations_research::IntervalDown64 ( uint64_t  s)
inline

Definition at line 311 of file bitset.h.

◆ IntervalsAreSortedAndNonAdjacent()

bool IntervalsAreSortedAndNonAdjacent ( absl::Span< const ClosedInterval intervals)

Returns true iff we have:

  • The intervals appear in increasing order.
  • for all i: intervals[i].start <= intervals[i].end (should always be true, by construction, but bad intervals can in practice escape detection in opt mode).
  • for all i but the last: intervals[i].end + 1 < intervals[i+1].start

Definition at line 37 of file sorted_interval_list.cc.

◆ IntervalUp32()

uint32_t operations_research::IntervalUp32 ( uint32_t  s)
inline

Definition at line 305 of file bitset.h.

◆ IntervalUp64()

uint64_t operations_research::IntervalUp64 ( uint64_t  s)
inline

Definition at line 300 of file bitset.h.

◆ IsArrayBoolean()

bool operations_research::IsArrayBoolean ( const std::vector< T > &  values)

Definition at line 2841 of file constraint_solveri.h.

◆ IsArrayConstant()

bool operations_research::IsArrayConstant ( const std::vector< T > &  values,
const T &  value 
)

Definition at line 2831 of file constraint_solveri.h.

◆ IsArrayInRange()

bool operations_research::IsArrayInRange ( const std::vector< IntVar * > &  vars,
range_min,
range_max 
)

Definition at line 2921 of file constraint_solveri.h.

◆ IsBitSet32()

bool operations_research::IsBitSet32 ( const uint32_t *const  bitset,
uint32_t  pos 
)
inline

Definition at line 349 of file bitset.h.

◆ IsBitSet64()

bool operations_research::IsBitSet64 ( const uint64_t *const  bitset,
uint64_t  pos 
)
inline

Definition at line 346 of file bitset.h.

◆ IsEmptyRange32()

bool operations_research::IsEmptyRange32 ( const uint32_t *const  bitset,
uint32_t  start,
uint32_t  end 
)

◆ IsEmptyRange64()

bool operations_research::IsEmptyRange64 ( const uint64_t *const  bitset,
uint64_t  start,
uint64_t  end 
)

◆ IsEulerianGraph()

bool operations_research::IsEulerianGraph ( const Graph &  graph)

Definition at line 40 of file eulerian_path.h.

◆ IsIncreasing()

bool operations_research::IsIncreasing ( const std::vector< T > &  values)

Definition at line 2911 of file constraint_solveri.h.

◆ IsIncreasingContiguous()

bool operations_research::IsIncreasingContiguous ( const std::vector< T > &  values)

Definition at line 2901 of file constraint_solveri.h.

◆ IsIntegerWithinTolerance()

bool operations_research::IsIntegerWithinTolerance ( FloatType  x,
FloatType  tolerance 
)
inline

Definition at line 161 of file fp_utils.h.

◆ IsPositiveOrNegativeInfinity()

bool operations_research::IsPositiveOrNegativeInfinity ( FloatType  x)
inline

Definition at line 107 of file fp_utils.h.

◆ IsSemiEulerianGraph()

bool operations_research::IsSemiEulerianGraph ( const Graph &  graph,
std::vector< NodeIndex > *  odd_nodes 
)

Definition at line 55 of file eulerian_path.h.

◆ IsSmallerWithinTolerance()

bool operations_research::IsSmallerWithinTolerance ( FloatType  x,
FloatType  y,
FloatType  tolerance 
)

Definition at line 153 of file fp_utils.h.

◆ JoinDebugString()

std::string operations_research::JoinDebugString ( const std::vector< T > &  v,
const std::string &  separator 
)

Definition at line 38 of file string_array.h.

◆ JoinDebugStringPtr()

std::string operations_research::JoinDebugStringPtr ( const std::vector< T > &  v,
const std::string &  separator 
)

Definition at line 45 of file string_array.h.

◆ JoinNameFieldPtr()

std::string operations_research::JoinNameFieldPtr ( const std::vector< T > &  v,
const std::string &  separator 
)

Definition at line 58 of file string_array.h.

◆ JoinNamePtr()

std::string operations_research::JoinNamePtr ( const std::vector< T > &  v,
const std::string &  separator 
)

Definition at line 52 of file string_array.h.

◆ LeastSignificantBitPosition32() [1/2]

int operations_research::LeastSignificantBitPosition32 ( const uint32_t *const  bitset,
uint32_t  start,
uint32_t  end 
)

◆ LeastSignificantBitPosition32() [2/2]

int operations_research::LeastSignificantBitPosition32 ( uint32_t  n)
inline

Definition at line 182 of file bitset.h.

◆ LeastSignificantBitPosition32DeBruijn()

int operations_research::LeastSignificantBitPosition32DeBruijn ( uint32_t  n)
inline

Definition at line 144 of file bitset.h.

◆ LeastSignificantBitPosition32Default()

int operations_research::LeastSignificantBitPosition32Default ( uint32_t  n)
inline

Definition at line 153 of file bitset.h.

◆ LeastSignificantBitPosition64() [1/2]

int64_t operations_research::LeastSignificantBitPosition64 ( const uint64_t *const  bitset,
uint64_t  start,
uint64_t  end 
)

◆ LeastSignificantBitPosition64() [2/2]

int operations_research::LeastSignificantBitPosition64 ( uint64_t  n)
inline

Definition at line 127 of file bitset.h.

◆ LeastSignificantBitPosition64DeBruijn()

int operations_research::LeastSignificantBitPosition64DeBruijn ( uint64_t  n)
inline

Definition at line 81 of file bitset.h.

◆ LeastSignificantBitPosition64Default()

int operations_research::LeastSignificantBitPosition64Default ( uint64_t  n)
inline

Definition at line 93 of file bitset.h.

◆ LeastSignificantBitWord32()

uint32_t operations_research::LeastSignificantBitWord32 ( uint32_t  n)
inline

Definition at line 64 of file bitset.h.

◆ LeastSignificantBitWord64()

uint64_t operations_research::LeastSignificantBitWord64 ( uint64_t  n)
inline

Definition at line 63 of file bitset.h.

◆ LegacyScipSetSolverSpecificParameters()

absl::Status LegacyScipSetSolverSpecificParameters ( const std::string &  parameters,
SCIP *  scip 
)

Definition at line 32 of file legacy_scip_params.cc.

◆ LinearConstraintIsViolated()

bool operations_research::LinearConstraintIsViolated ( const ScipConstraintHandlerContext context,
const LinearRange constraint 
)

Definition at line 96 of file scip_callback.cc.

◆ LinkVarExpr()

void LinkVarExpr ( Solver *const  s,
IntExpr *const  expr,
IntVar *const  var 
)

Definition at line 7429 of file expressions.cc.

◆ LoadGurobiDynamicLibrary()

absl::Status LoadGurobiDynamicLibrary ( std::vector< std::string >  potential_paths)

Definition at line 721 of file environment.cc.

◆ LoadGurobiFunctions()

void operations_research::LoadGurobiFunctions ( DynamicLibrary gurobi_dynamic_library)

Definition at line 441 of file environment.cc.

◆ LocalOptimumReached()

bool LocalOptimumReached ( Search *const  search)

Definition at line 1347 of file constraint_solver.cc.

◆ LocalSearchMetaheuristic_Value_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LocalSearchMetaheuristic_Value_descriptor ( )

Definition at line 155 of file routing_enums.pb.cc.

◆ LocalSearchMetaheuristic_Value_IsValid()

bool LocalSearchMetaheuristic_Value_IsValid ( int  value)

Definition at line 159 of file routing_enums.pb.cc.

◆ LocalSearchMetaheuristic_Value_Name()

const std::string& operations_research::LocalSearchMetaheuristic_Value_Name ( enum_t_value)
inline

Definition at line 129 of file routing_enums.pb.h.

◆ LocalSearchMetaheuristic_Value_Parse()

bool operations_research::LocalSearchMetaheuristic_Value_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
LocalSearchMetaheuristic_Value value 
)
inline

Definition at line 136 of file routing_enums.pb.h.

◆ MakeAllUnperformed()

DecisionBuilder * MakeAllUnperformed ( RoutingModel model)

Definition at line 4069 of file routing_search.cc.

◆ MakeBareIntToIntFunction()

RangeIntToIntFunction * MakeBareIntToIntFunction ( std::function< int64_t(int64_t)>  f)

Definition at line 214 of file range_query_function.cc.

◆ MakeCachedIntToIntFunction()

RangeIntToIntFunction * MakeCachedIntToIntFunction ( const std::function< int64_t(int64_t)> &  f,
int64_t  domain_start,
int64_t  domain_end 
)

Definition at line 219 of file range_query_function.cc.

◆ MakeCachedRangeMinMaxIndexFunction()

RangeMinMaxIndexFunction * MakeCachedRangeMinMaxIndexFunction ( const std::function< int64_t(int64_t)> &  f,
int64_t  domain_start,
int64_t  domain_end 
)

Definition at line 225 of file range_query_function.cc.

◆ MakeConstraintDemon0()

Demon* operations_research::MakeConstraintDemon0 ( Solver *const  s,
T *const  ct,
void(T::*)()  method,
const std::string &  name 
)

Definition at line 518 of file constraint_solveri.h.

◆ MakeConstraintDemon1()

Demon* operations_research::MakeConstraintDemon1 ( Solver *const  s,
T *const  ct,
void(T::*)(P)  method,
const std::string &  name,
param1 
)

Definition at line 559 of file constraint_solveri.h.

◆ MakeConstraintDemon2()

Demon* operations_research::MakeConstraintDemon2 ( Solver *const  s,
T *const  ct,
void(T::*)(P, Q)  method,
const std::string &  name,
param1,
param2 
)

Definition at line 598 of file constraint_solveri.h.

◆ MakeConstraintDemon3()

Demon* operations_research::MakeConstraintDemon3 ( Solver *const  s,
T *const  ct,
void(T::*)(P, Q, R)  method,
const std::string &  name,
param1,
param2,
param3 
)

Definition at line 641 of file constraint_solveri.h.

◆ MakeCPFeasibilityFilter()

IntVarLocalSearchFilter * MakeCPFeasibilityFilter ( RoutingModel routing_model)

Returns a filter checking the current solution using CP propagation.

Definition at line 2806 of file routing_filters.cc.

◆ MakeCumulBoundsPropagatorFilter()

IntVarLocalSearchFilter * MakeCumulBoundsPropagatorFilter ( const RoutingDimension dimension)

Returns a filter handling dimension cumul bounds.

Definition at line 2600 of file routing_filters.cc.

◆ MakeDelayedConstraintDemon0()

Demon* operations_research::MakeDelayedConstraintDemon0 ( Solver *const  s,
T *const  ct,
void(T::*)()  method,
const std::string &  name 
)

Definition at line 681 of file constraint_solveri.h.

◆ MakeDelayedConstraintDemon1()

Demon* operations_research::MakeDelayedConstraintDemon1 ( Solver *const  s,
T *const  ct,
void(T::*)(P)  method,
const std::string &  name,
param1 
)

Definition at line 717 of file constraint_solveri.h.

◆ MakeDelayedConstraintDemon2()

Demon* operations_research::MakeDelayedConstraintDemon2 ( Solver *const  s,
T *const  ct,
void(T::*)(P, Q)  method,
const std::string &  name,
param1,
param2 
)

Definition at line 761 of file constraint_solveri.h.

◆ MakeGlobalLPCumulFilter()

IntVarLocalSearchFilter * MakeGlobalLPCumulFilter ( GlobalDimensionCumulOptimizer optimizer,
bool  filter_objective_cost 
)

Returns a filter checking global linear constraints and costs.

Definition at line 2704 of file routing_filters.cc.

◆ MakeHamiltonianPathSolver()

HamiltonianPathSolver<CostType, CostFunction> operations_research::MakeHamiltonianPathSolver ( int  num_nodes,
CostFunction  cost 
)

Definition at line 599 of file hamiltonian_path.h.

◆ MakeLocalSearchOperator()

LocalSearchOperator * MakeLocalSearchOperator ( Solver solver,
const std::vector< IntVar * > &  vars,
const std::vector< IntVar * > &  secondary_vars,
std::function< int(int64_t)>  start_empty_path_class 
)

Operator Factories.

Definition at line 2284 of file local_search.cc.

◆ MakeMaxActiveVehiclesFilter()

IntVarLocalSearchFilter * MakeMaxActiveVehiclesFilter ( const RoutingModel routing_model)

Returns a filter ensuring that max active vehicles constraints are enforced.

Definition at line 122 of file routing_filters.cc.

◆ MakeNodeDisjunctionFilter()

IntVarLocalSearchFilter * MakeNodeDisjunctionFilter ( const RoutingModel routing_model)

Returns a filter ensuring that node disjunction constraints are enforced.

Definition at line 295 of file routing_filters.cc.

◆ MakePathCumulFilter()

IntVarLocalSearchFilter * MakePathCumulFilter ( const RoutingDimension dimension,
const RoutingSearchParameters &  parameters,
bool  propagate_own_objective_value,
bool  filter_objective_cost,
bool  can_use_lp 
)

Returns a filter handling dimension costs and constraints.

Definition at line 2092 of file routing_filters.cc.

◆ MakePathStateFilter()

LocalSearchFilter * MakePathStateFilter ( Solver solver,
std::unique_ptr< PathState path_state,
const std::vector< IntVar * > &  nexts 
)

Definition at line 2960 of file local_search.cc.

◆ MakePickupDeliveryFilter()

IntVarLocalSearchFilter * MakePickupDeliveryFilter ( const RoutingModel routing_model,
const RoutingModel::IndexPairs pairs,
const std::vector< RoutingModel::PickupAndDeliveryPolicy > &  vehicle_policies 
)

Returns a filter enforcing pickup and delivery constraints for the given pair of nodes and given policies.

Definition at line 2469 of file routing_filters.cc.

◆ MakeSetValuesFromTargets()

DecisionBuilder * MakeSetValuesFromTargets ( Solver solver,
std::vector< IntVar * >  variables,
std::vector< int64_t >  targets 
)

A decision builder which tries to assign values to variables as close as possible to target values first.

Definition at line 167 of file routing.cc.

◆ MakeSweepDecisionBuilder()

DecisionBuilder * MakeSweepDecisionBuilder ( RoutingModel model,
bool  check_assignment 
)

Definition at line 4035 of file routing_search.cc.

◆ MakeTypeRegulationsFilter()

IntVarLocalSearchFilter * MakeTypeRegulationsFilter ( const RoutingModel routing_model)

Returns a filter ensuring type regulation constraints are enforced.

Definition at line 830 of file routing_filters.cc.

◆ MakeUnaryDimensionFilter()

LocalSearchFilter * MakeUnaryDimensionFilter ( Solver solver,
std::unique_ptr< UnaryDimensionChecker checker 
)

Definition at line 3205 of file local_search.cc.

◆ MakeVehicleAmortizedCostFilter()

IntVarLocalSearchFilter * MakeVehicleAmortizedCostFilter ( const RoutingModel routing_model)

Returns a filter computing vehicle amortized costs.

Definition at line 681 of file routing_filters.cc.

◆ MakeVehicleBreaksFilter()

IntVarLocalSearchFilter * MakeVehicleBreaksFilter ( const RoutingModel routing_model,
const RoutingDimension dimension 
)

Definition at line 1077 of file routing_breaks.cc.

◆ MakeVehicleVarFilter()

IntVarLocalSearchFilter * MakeVehicleVarFilter ( const RoutingModel routing_model)

Returns a filter checking that vehicle variable domains are respected.

Definition at line 2542 of file routing_filters.cc.

◆ MaximizeLinearAssignment() [1/2]

void operations_research::MaximizeLinearAssignment ( const std::vector< std::vector< double > > &  cost,
absl::flat_hash_map< int, int > *  direct_assignment,
absl::flat_hash_map< int, int > *  reverse_assignment 
)

◆ MaximizeLinearAssignment() [2/2]

void operations_research::MaximizeLinearAssignment ( const std::vector< std::vector< double >> &  cost,
absl::flat_hash_map< int, int > *  direct_assignment,
absl::flat_hash_map< int, int > *  reverse_assignment 
)

Definition at line 675 of file hungarian.cc.

◆ MaxVarArray()

int64_t operations_research::MaxVarArray ( const std::vector< IntVar * > &  vars)
inline

The std::max<int64_t> is needed for compilation on MSVC.

Definition at line 2967 of file constraint_solveri.h.

◆ MemoryUsage()

std::string MemoryUsage ( )

Definition at line 25 of file stats.cc.

◆ MergeMPConstraintProtoExceptTerms()

void MergeMPConstraintProtoExceptTerms ( const MPConstraintProto &  from,
MPConstraintProto *  to 
)

Definition at line 774 of file linear_solver/model_validator.cc.

◆ MinimizeLinearAssignment() [1/2]

void operations_research::MinimizeLinearAssignment ( const std::vector< std::vector< double > > &  cost,
absl::flat_hash_map< int, int > *  direct_assignment,
absl::flat_hash_map< int, int > *  reverse_assignment 
)

◆ MinimizeLinearAssignment() [2/2]

void operations_research::MinimizeLinearAssignment ( const std::vector< std::vector< double >> &  cost,
absl::flat_hash_map< int, int > *  direct_assignment,
absl::flat_hash_map< int, int > *  reverse_assignment 
)

Definition at line 657 of file hungarian.cc.

◆ MinVarArray()

int64_t operations_research::MinVarArray ( const std::vector< IntVar * > &  vars)
inline

The std::min<int64_t> is needed for compilation on MSVC.

Definition at line 2977 of file constraint_solveri.h.

◆ mix() [1/2]

static void operations_research::mix ( uint32_t &  a,
uint32_t &  b,
uint32_t &  c 
)
inlinestatic

Definition at line 28 of file hash.h.

◆ mix() [2/2]

static void operations_research::mix ( uint64_t &  a,
uint64_t &  b,
uint64_t &  c 
)
inlinestatic

Definition at line 59 of file hash.h.

◆ MixTwoUInt64()

uint64_t operations_research::MixTwoUInt64 ( uint64_t  fp1,
uint64_t  fp2 
)
inline

Definition at line 20 of file thorough_hash.h.

◆ MostSignificantBitPosition32() [1/2]

int operations_research::MostSignificantBitPosition32 ( const uint32_t *const  bitset,
uint32_t  start,
uint32_t  end 
)

◆ MostSignificantBitPosition32() [2/2]

int operations_research::MostSignificantBitPosition32 ( uint32_t  n)
inline

Definition at line 273 of file bitset.h.

◆ MostSignificantBitPosition32Default()

int operations_research::MostSignificantBitPosition32Default ( uint32_t  n)
inline

Definition at line 249 of file bitset.h.

◆ MostSignificantBitPosition64() [1/2]

int64_t operations_research::MostSignificantBitPosition64 ( const uint64_t *const  bitset,
uint64_t  start,
uint64_t  end 
)

◆ MostSignificantBitPosition64() [2/2]

int operations_research::MostSignificantBitPosition64 ( uint64_t  n)
inline

Definition at line 231 of file bitset.h.

◆ MostSignificantBitPosition64Default()

int operations_research::MostSignificantBitPosition64Default ( uint64_t  n)
inline

Definition at line 203 of file bitset.h.

◆ MoveUpToDepth()

const KnapsackSearchNodeForCuts * MoveUpToDepth ( const KnapsackSearchNodeForCuts node,
int  depth 
)

Definition at line 95 of file knapsack_solver_for_cuts.cc.

◆ MPModelRequest_SolverType_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPModelRequest_SolverType_descriptor ( )

Definition at line 846 of file linear_solver.pb.cc.

◆ MPModelRequest_SolverType_IsValid()

bool MPModelRequest_SolverType_IsValid ( int  value)

Definition at line 850 of file linear_solver.pb.cc.

◆ MPModelRequest_SolverType_Name()

const std::string& operations_research::MPModelRequest_SolverType_Name ( enum_t_value)
inline

Definition at line 220 of file linear_solver.pb.h.

◆ MPModelRequest_SolverType_Parse()

bool operations_research::MPModelRequest_SolverType_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
MPModelRequest_SolverType value 
)
inline

Definition at line 227 of file linear_solver.pb.h.

◆ MPSolverCommonParameters_LPAlgorithmValues_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPSolverCommonParameters_LPAlgorithmValues_descriptor ( )

Definition at line 821 of file linear_solver.pb.cc.

◆ MPSolverCommonParameters_LPAlgorithmValues_IsValid()

bool MPSolverCommonParameters_LPAlgorithmValues_IsValid ( int  value)

Definition at line 825 of file linear_solver.pb.cc.

◆ MPSolverCommonParameters_LPAlgorithmValues_Name()

const std::string& operations_research::MPSolverCommonParameters_LPAlgorithmValues_Name ( enum_t_value)
inline

Definition at line 184 of file linear_solver.pb.h.

◆ MPSolverCommonParameters_LPAlgorithmValues_Parse()

bool operations_research::MPSolverCommonParameters_LPAlgorithmValues_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
MPSolverCommonParameters_LPAlgorithmValues value 
)
inline

Definition at line 191 of file linear_solver.pb.h.

◆ MPSolverResponseStatus_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPSolverResponseStatus_descriptor ( )

Definition at line 893 of file linear_solver.pb.cc.

◆ MPSolverResponseStatus_IsValid()

bool MPSolverResponseStatus_IsValid ( int  value)

Definition at line 897 of file linear_solver.pb.cc.

◆ MPSolverResponseStatus_Name()

const std::string& operations_research::MPSolverResponseStatus_Name ( enum_t_value)
inline

Definition at line 253 of file linear_solver.pb.h.

◆ MPSolverResponseStatus_Parse()

bool operations_research::MPSolverResponseStatus_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
MPSolverResponseStatus value 
)
inline

Definition at line 260 of file linear_solver.pb.h.

◆ MPSolverResponseStatusIsRpcError()

bool MPSolverResponseStatusIsRpcError ( MPSolverResponseStatus  status)

Definition at line 1610 of file linear_solver.cc.

◆ MPSolverToGlopConstraintStatus()

glop::ConstraintStatus MPSolverToGlopConstraintStatus ( MPSolver::BasisStatus  s)

Definition at line 108 of file glop_utils.cc.

◆ MPSolverToGlopVariableStatus()

glop::VariableStatus MPSolverToGlopVariableStatus ( MPSolver::BasisStatus  s)

Definition at line 74 of file glop_utils.cc.

◆ MPSosConstraint_Type_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MPSosConstraint_Type_descriptor ( )

Definition at line 800 of file linear_solver.pb.cc.

◆ MPSosConstraint_Type_IsValid()

bool MPSosConstraint_Type_IsValid ( int  value)

Definition at line 804 of file linear_solver.pb.cc.

◆ MPSosConstraint_Type_Name()

const std::string& operations_research::MPSosConstraint_Type_Name ( enum_t_value)
inline

Definition at line 159 of file linear_solver.pb.h.

◆ MPSosConstraint_Type_Parse()

bool operations_research::MPSosConstraint_Type_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
MPSosConstraint_Type value 
)
inline

Definition at line 166 of file linear_solver.pb.h.

◆ NearestNeighbors()

std::set<std::pair<int, int> > operations_research::NearestNeighbors ( int  number_of_nodes,
int  number_of_neighbors,
const CostFunction &  cost 
)

Definition at line 262 of file one_tree_lower_bound.h.

◆ One()

int64_t operations_research::One ( )
inline

This method returns 1.

Definition at line 3149 of file constraint_solver.h.

◆ OneBit32()

uint32_t operations_research::OneBit32 ( int  pos)
inline

Definition at line 39 of file bitset.h.

◆ OneBit64()

uint64_t operations_research::OneBit64 ( int  pos)
inline

Definition at line 38 of file bitset.h.

◆ OneRange32()

uint32_t operations_research::OneRange32 ( uint32_t  s,
uint32_t  e 
)
inline

Definition at line 292 of file bitset.h.

◆ OneRange64()

uint64_t operations_research::OneRange64 ( uint64_t  s,
uint64_t  e 
)
inline

Definition at line 285 of file bitset.h.

◆ operator*() [1/2]

LinearExpr operator* ( double  lhs,
LinearExpr  rhs 
)

Definition at line 162 of file linear_expr.cc.

◆ operator*() [2/2]

LinearExpr operator* ( LinearExpr  lhs,
double  rhs 
)

Definition at line 154 of file linear_expr.cc.

◆ operator+()

LinearExpr operator+ ( LinearExpr  lhs,
const LinearExpr rhs 
)

Definition at line 146 of file linear_expr.cc.

◆ operator-()

LinearExpr operator- ( LinearExpr  lhs,
const LinearExpr rhs 
)

Definition at line 150 of file linear_expr.cc.

◆ operator/()

LinearExpr operator/ ( LinearExpr  lhs,
double  rhs 
)

Definition at line 158 of file linear_expr.cc.

◆ operator<<() [1/9]

std::ostream& operations_research::operator<< ( std::ostream &  os,
MPSolver::OptimizationProblemType  optimization_problem_type 
)
inline

Definition at line 907 of file linear_solver.h.

◆ operator<<() [2/9]

std::ostream& operations_research::operator<< ( std::ostream &  os,
MPSolver::ResultStatus  status 
)
inline

Definition at line 913 of file linear_solver.h.

◆ operator<<() [3/9]

std::ostream & operator<< ( std::ostream &  out,
const Assignment assignment 
)

Definition at line 1094 of file constraint_solver/assignment.cc.

◆ operator<<() [4/9]

std::ostream & operator<< ( std::ostream &  out,
const BaseObject *const  o 
)

Definition at line 2503 of file constraint_solver.cc.

◆ operator<<() [5/9]

std::ostream & operator<< ( std::ostream &  out,
const ClosedInterval interval 
)

Definition at line 101 of file sorted_interval_list.cc.

◆ operator<<() [6/9]

std::ostream & operator<< ( std::ostream &  out,
const Domain domain 
)

Definition at line 110 of file sorted_interval_list.cc.

◆ operator<<() [7/9]

std::ostream & operator<< ( std::ostream &  out,
const Solver *const  s 
)

Definition at line 2498 of file constraint_solver.cc.

◆ operator<<() [8/9]

std::ostream & operator<< ( std::ostream &  out,
const std::vector< ClosedInterval > &  intervals 
)

Definition at line 105 of file sorted_interval_list.cc.

◆ operator<<() [9/9]

std::ostream & operator<< ( std::ostream &  stream,
const LinearExpr linear_expr 
)

Definition at line 141 of file linear_expr.cc.

◆ operator<=()

LinearRange operator<= ( const LinearExpr lhs,
const LinearExpr rhs 
)

Definition at line 177 of file linear_expr.cc.

◆ operator==()

LinearRange operator== ( const LinearExpr lhs,
const LinearExpr rhs 
)

Definition at line 180 of file linear_expr.cc.

◆ operator>=()

LinearRange operator>= ( const LinearExpr lhs,
const LinearExpr rhs 
)

Definition at line 183 of file linear_expr.cc.

◆ OptionalBoolean_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * OptionalBoolean_descriptor ( )

Definition at line 51 of file optional_boolean.pb.cc.

◆ OptionalBoolean_IsValid()

bool OptionalBoolean_IsValid ( int  value)

Definition at line 55 of file optional_boolean.pb.cc.

◆ OptionalBoolean_Name()

const std::string& operations_research::OptionalBoolean_Name ( enum_t_value)
inline

Definition at line 74 of file optional_boolean.pb.h.

◆ OptionalBoolean_Parse()

bool operations_research::OptionalBoolean_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
OptionalBoolean value 
)
inline

Definition at line 81 of file optional_boolean.pb.h.

◆ OrToolsMajorVersion()

int OrToolsMajorVersion ( )

Definition at line 18 of file version.cc.

◆ OrToolsMinorVersion()

int OrToolsMinorVersion ( )

Definition at line 19 of file version.cc.

◆ ParameterDebugString() [1/2]

std::string operations_research::ParameterDebugString ( P *  param)

Support limited to pointers to classes which define DebugString().

Definition at line 530 of file constraint_solveri.h.

◆ ParameterDebugString() [2/2]

std::string operations_research::ParameterDebugString ( param)

Definition at line 524 of file constraint_solveri.h.

◆ PortableDeleteFile()

absl::Status PortableDeleteFile ( absl::string_view  file_name)

Definition at line 74 of file port/file.cc.

◆ PortableFileGetContents()

absl::Status PortableFileGetContents ( absl::string_view  file_name,
std::string *  output 
)

Definition at line 41 of file port/file.cc.

◆ PortableFileSetContents()

absl::Status PortableFileSetContents ( absl::string_view  file_name,
absl::string_view  content 
)

Definition at line 31 of file port/file.cc.

◆ PortableTemporaryFile()

bool PortableTemporaryFile ( const char *  directory_prefix,
std::string *  filename_out 
)

Definition at line 51 of file port/file.cc.

◆ PosIntDivDown()

int64_t operations_research::PosIntDivDown ( int64_t  e,
int64_t  v 
)
inline

Definition at line 3001 of file constraint_solveri.h.

◆ PosIntDivUp()

int64_t operations_research::PosIntDivUp ( int64_t  e,
int64_t  v 
)
inline

Definition at line 2996 of file constraint_solveri.h.

◆ ProbablyRunningInsideUnitTest()

bool operations_research::ProbablyRunningInsideUnitTest ( )
inline

Definition at line 19 of file testing_utils.h.

◆ ProtobufDebugString()

std::string operations_research::ProtobufDebugString ( const P &  message)

Definition at line 28 of file port/proto_utils.h.

◆ ProtobufShortDebugString()

std::string operations_research::ProtobufShortDebugString ( const P &  message)

Definition at line 37 of file port/proto_utils.h.

◆ ProtobufTextFormatMergeFromString()

bool operations_research::ProtobufTextFormatMergeFromString ( const std::string &  proto_text_string,
ProtoType *  proto 
)

Definition at line 62 of file port/proto_utils.h.

◆ ProtoEnumToString()

std::string operations_research::ProtoEnumToString ( ProtoEnumType  enum_value)

Definition at line 46 of file port/proto_utils.h.

◆ RationalApproximation()

Fraction RationalApproximation ( const double  x,
const double  precision 
)

Definition at line 26 of file rational_approximation.cc.

◆ ReadAllRecordsOrDie() [1/2]

std::vector<Proto> operations_research::ReadAllRecordsOrDie ( absl::string_view  filename)

Definition at line 102 of file file_util.h.

◆ ReadAllRecordsOrDie() [2/2]

std::vector<Proto> operations_research::ReadAllRecordsOrDie ( File file)

Definition at line 106 of file file_util.h.

◆ ReadFileToProto()

bool ReadFileToProto ( absl::string_view  filename,
google::protobuf::Message *  proto 
)

Definition at line 43 of file file_util.cc.

◆ ReadFileToProtoOrDie()

Proto operations_research::ReadFileToProtoOrDie ( absl::string_view  filename)

Definition at line 41 of file file_util.h.

◆ ReadFileToString()

absl::StatusOr< std::string > ReadFileToString ( absl::string_view  filename)

Definition at line 32 of file file_util.cc.

◆ ReadOneRecordOrDie()

Proto operations_research::ReadOneRecordOrDie ( absl::string_view  filename)

Definition at line 114 of file file_util.h.

◆ RealDebugString()

void operations_research::RealDebugString ( const Container &  container,
std::string *const  out 
)

Definition at line 617 of file constraint_solver/assignment.cc.

◆ RealLoad()

void operations_research::RealLoad ( const AssignmentProto &  assignment_proto,
Container *const  container,
int(AssignmentProto::*)() const  GetSize,
const Proto &(AssignmentProto::*)(int) const  GetElem 
)

Definition at line 506 of file constraint_solver/assignment.cc.

◆ RealSave()

void operations_research::RealSave ( AssignmentProto *const  assignment_proto,
const Container &  container,
Proto *(AssignmentProto::*)()  Add 
)

Definition at line 578 of file constraint_solver/assignment.cc.

◆ RegisterConstraintHandler() [1/2]

void operations_research::RegisterConstraintHandler ( ScipConstraintHandler< Constraint > *  handler,
SCIP *  scip 
)

◆ RegisterConstraintHandler() [2/2]

void operations_research::RegisterConstraintHandler ( ScipConstraintHandler< ConstraintData > *  handler,
SCIP *  scip 
)

Definition at line 256 of file scip_callback.h.

◆ RegisterDemon()

void operations_research::RegisterDemon ( Solver *const  solver,
Demon *const  demon,
DemonProfiler *const  monitor 
)

Definition at line 463 of file demon_profiler.cc.

◆ RegisterGScipEventHandler()

void RegisterGScipEventHandler ( GScip scip,
GScipEventHandler handler 
)

Definition at line 78 of file gscip_event_handler.cc.

◆ RestoreBoolValue()

void RestoreBoolValue ( IntVar *const  var)

Definition at line 6380 of file expressions.cc.

◆ RoutingSearchParameters_SchedulingSolver_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * RoutingSearchParameters_SchedulingSolver_descriptor ( )

Definition at line 455 of file routing_parameters.pb.cc.

◆ RoutingSearchParameters_SchedulingSolver_IsValid()

bool RoutingSearchParameters_SchedulingSolver_IsValid ( int  value)

Definition at line 459 of file routing_parameters.pb.cc.

◆ RoutingSearchParameters_SchedulingSolver_Name()

const std::string& operations_research::RoutingSearchParameters_SchedulingSolver_Name ( enum_t_value)
inline

Definition at line 98 of file routing_parameters.pb.h.

◆ RoutingSearchParameters_SchedulingSolver_Parse()

bool operations_research::RoutingSearchParameters_SchedulingSolver_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
RoutingSearchParameters_SchedulingSolver value 
)
inline

Definition at line 105 of file routing_parameters.pb.h.

◆ RunSeparation()

ScipSeparationResult operations_research::RunSeparation ( internal::ScipCallbackRunner runner,
const ScipConstraintHandlerContext context,
absl::Span< SCIP_CONS * >  constraints,
bool  is_integral 
)

Definition at line 113 of file scip_callback.cc.

◆ RunWorker()

void operations_research::RunWorker ( void *  data)

Definition at line 19 of file threadpool.cc.

◆ SafeAddInto()

bool operations_research::SafeAddInto ( IntegerType  a,
IntegerType *  b 
)

Definition at line 89 of file saturated_arithmetic.h.

◆ SafeProtoConstDownCast()

absl::StatusOr< const Proto * > SafeProtoConstDownCast ( const google::protobuf::Message *  proto)

Definition at line 60 of file proto_tools.h.

◆ SafeProtoDownCast()

absl::StatusOr< Proto * > SafeProtoDownCast ( google::protobuf::Message *  proto)

Definition at line 47 of file proto_tools.h.

◆ SatSolveProto()

absl::StatusOr< MPSolutionResponse > SatSolveProto ( MPModelRequest  request,
std::atomic< bool > *  interrupt_solve 
)

Definition at line 68 of file sat_proto_solver.cc.

◆ ScipSolveProto()

absl::StatusOr< MPSolutionResponse > ScipSolveProto ( const MPModelRequest &  request)

Definition at line 657 of file scip_proto_solver.cc.

◆ SetAssignmentFromAssignment()

void SetAssignmentFromAssignment ( Assignment target_assignment,
const std::vector< IntVar * > &  target_vars,
const Assignment source_assignment,
const std::vector< IntVar * > &  source_vars 
)

NOLINT.

Given a "source_assignment", clears the "target_assignment" and adds all IntVars in "target_vars", with the values of the variables set according to the corresponding values of "source_vars" in "source_assignment". source_vars and target_vars must have the same number of elements. The source and target assignments can belong to different Solvers.

Definition at line 1021 of file constraint_solver/assignment.cc.

◆ SetBit32()

void operations_research::SetBit32 ( uint32_t *const  bitset,
uint32_t  pos 
)
inline

Definition at line 357 of file bitset.h.

◆ SetBit64()

void operations_research::SetBit64 ( uint64_t *const  bitset,
uint64_t  pos 
)
inline

Definition at line 354 of file bitset.h.

◆ SetFirstSolutionStrategyFromFlags()

void operations_research::SetFirstSolutionStrategyFromFlags ( RoutingSearchParameters *  parameters)

Definition at line 138 of file routing_flags.cc.

◆ SetIsEqual()

Constraint* operations_research::SetIsEqual ( IntVar *const  var,
const std::vector< int64_t > &  values,
const std::vector< IntVar * > &  vars 
)

Definition at line 6365 of file expressions.cc.

◆ SetIsGreaterOrEqual()

Constraint* operations_research::SetIsGreaterOrEqual ( IntVar *const  var,
const std::vector< int64_t > &  values,
const std::vector< IntVar * > &  vars 
)

Definition at line 6372 of file expressions.cc.

◆ SetLocalSearchMetaheuristicFromFlags()

void operations_research::SetLocalSearchMetaheuristicFromFlags ( RoutingSearchParameters *  parameters)

Definition at line 182 of file routing_flags.cc.

◆ SetMiscellaneousParametersFromFlags()

void operations_research::SetMiscellaneousParametersFromFlags ( RoutingSearchParameters *  parameters)

Definition at line 305 of file routing_flags.cc.

◆ SetSearchLimitsFromFlags()

void operations_research::SetSearchLimitsFromFlags ( RoutingSearchParameters *  parameters)

Definition at line 281 of file routing_flags.cc.

◆ SetSolverSpecificParameters()

absl::Status SetSolverSpecificParameters ( const std::string &  parameters,
GRBenv gurobi 
)

Definition at line 222 of file gurobi_proto_solver.cc.

◆ SolveModelWithSat()

bool SolveModelWithSat ( const RoutingModel model,
const RoutingSearchParameters &  search_parameters,
const Assignment initial_solution,
Assignment solution 
)

Attempts to solve the model using the cp-sat solver.

As of 5/2019, will solve the TSP corresponding to the model if it has a single vehicle. Therefore the resulting solution might not actually be feasible. Will return false if a solution could not be found.

Definition at line 525 of file routing_sat.cc.

◆ SolverTypeIsMip() [1/2]

bool SolverTypeIsMip ( MPModelRequest::SolverType  solver_type)

Definition at line 66 of file linear_solver.cc.

◆ SolverTypeIsMip() [2/2]

bool operations_research::SolverTypeIsMip ( MPSolver::OptimizationProblemType  solver_type)
inline

Definition at line 900 of file linear_solver.h.

◆ StableDijkstraShortestPath()

bool StableDijkstraShortestPath ( int  node_count,
int  start_node,
int  end_node,
std::function< int64_t(int, int)>  graph,
int64_t  disconnected_distance,
std::vector< int > *  nodes 
)

Definition at line 158 of file dijkstra.cc.

◆ SubHadOverflow()

bool operations_research::SubHadOverflow ( int64_t  x,
int64_t  y,
int64_t  diff 
)
inline

Definition at line 63 of file saturated_arithmetic.h.

◆ SubOverflows()

int64_t operations_research::SubOverflows ( int64_t  x,
int64_t  y 
)
inline

Definition at line 82 of file saturated_arithmetic.h.

◆ SumOfKMaxValueInDomain()

int64_t SumOfKMaxValueInDomain ( const Domain domain,
int  k 
)

Definition at line 560 of file sorted_interval_list.cc.

◆ SumOfKMinValueInDomain()

int64_t SumOfKMinValueInDomain ( const Domain domain,
int  k 
)

Definition at line 546 of file sorted_interval_list.cc.

◆ TEST() [1/5]

operations_research::TEST ( LinearAssignmentTest  ,
NullMatrix   
)

Definition at line 60 of file hungarian_test.cc.

◆ TEST() [2/5]

operations_research::TEST ( LinearAssignmentTest  ,
SizeOneMatrix   
)

Definition at line 90 of file hungarian_test.cc.

◆ TEST() [3/5]

operations_research::TEST ( LinearAssignmentTest  ,
Small3x4Matrix   
)

Definition at line 118 of file hungarian_test.cc.

◆ TEST() [4/5]

operations_research::TEST ( LinearAssignmentTest  ,
Small4x3Matrix   
)

Definition at line 131 of file hungarian_test.cc.

◆ TEST() [5/5]

operations_research::TEST ( LinearAssignmentTest  ,
Small4x4Matrix   
)

Definition at line 103 of file hungarian_test.cc.

◆ TestMaximization()

void operations_research::TestMaximization ( const std::vector< std::vector< double > > &  cost,
const int  expected_assignment_size,
const int  expected_agents[],
const int  expected_tasks[] 
)

Definition at line 47 of file hungarian_test.cc.

◆ TestMinimization()

void operations_research::TestMinimization ( const std::vector< std::vector< double > > &  cost,
const int  expected_assignment_size,
const int  expected_agents[],
const int  expected_tasks[] 
)

Definition at line 36 of file hungarian_test.cc.

◆ ThoroughHash()

uint64_t operations_research::ThoroughHash ( const char *  bytes,
size_t  len 
)
inline

Definition at line 33 of file thorough_hash.h.

◆ ToInt64Vector()

std::vector< int64_t > ToInt64Vector ( const std::vector< int > &  input)

Definition at line 828 of file utilities.cc.

◆ ToString() [1/2]

std::string ToString ( MPCallbackEvent  event)

Definition at line 20 of file linear_solver_callback.cc.

◆ ToString() [2/2]

const absl::string_view ToString ( MPSolver::OptimizationProblemType  optimization_problem_type)

Definition at line 572 of file linear_solver.cc.

◆ TwoBitsFromPos64()

uint64_t operations_research::TwoBitsFromPos64 ( uint64_t  pos)
inline

Definition at line 404 of file bitset.h.

◆ TwosComplementAddition()

int64_t operations_research::TwosComplementAddition ( int64_t  x,
int64_t  y 
)
inline

Definition at line 38 of file saturated_arithmetic.h.

◆ TwosComplementSubtraction()

int64_t operations_research::TwosComplementSubtraction ( int64_t  x,
int64_t  y 
)
inline

Definition at line 45 of file saturated_arithmetic.h.

◆ UnsafeLeastSignificantBitPosition32()

int32_t operations_research::UnsafeLeastSignificantBitPosition32 ( const uint32_t *const  bitset,
uint32_t  start,
uint32_t  end 
)

◆ UnsafeLeastSignificantBitPosition64()

int64_t operations_research::UnsafeLeastSignificantBitPosition64 ( const uint64_t *const  bitset,
uint64_t  start,
uint64_t  end 
)

◆ UnsafeMostSignificantBitPosition32()

int32_t operations_research::UnsafeMostSignificantBitPosition32 ( const uint32_t *const  bitset,
uint32_t  start,
uint32_t  end 
)

◆ UnsafeMostSignificantBitPosition64()

int64_t operations_research::UnsafeMostSignificantBitPosition64 ( const uint64_t *const  bitset,
uint64_t  start,
uint64_t  end 
)

◆ WriteProtoToFile()

bool WriteProtoToFile ( absl::string_view  filename,
const google::protobuf::Message &  proto,
ProtoWriteFormat  proto_write_format,
bool  gzipped,
bool  append_extension_to_file_name 
)

Definition at line 102 of file file_util.cc.

◆ WriteRecordsOrDie()

void operations_research::WriteRecordsOrDie ( absl::string_view  filename,
const std::vector< Proto > &  protos 
)

Definition at line 123 of file file_util.h.

◆ Zero()

int64_t operations_research::Zero ( )
inline

NOLINT.

This method returns 0. It is useful when 0 can be cast either as a pointer or as an integer value and thus lead to an ambiguous function call.

Definition at line 3146 of file constraint_solver.h.

Variable Documentation

◆ _Arc_default_instance_

ArcDefaultTypeInternal _Arc_default_instance_

Definition at line 34 of file flow_problem.pb.cc.

◆ _AssignmentProto_default_instance_

AssignmentProtoDefaultTypeInternal _AssignmentProto_default_instance_

Definition at line 104 of file assignment.pb.cc.

◆ _ConstraintRuns_default_instance_

ConstraintRunsDefaultTypeInternal _ConstraintRuns_default_instance_

Definition at line 54 of file demon_profiler.pb.cc.

◆ _ConstraintSolverParameters_default_instance_

ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_

Definition at line 58 of file solver_parameters.pb.cc.

◆ _ConstraintSolverStatistics_default_instance_

ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_

Definition at line 82 of file search_stats.pb.cc.

◆ _DemonRuns_default_instance_

DemonRunsDefaultTypeInternal _DemonRuns_default_instance_

Definition at line 36 of file demon_profiler.pb.cc.

◆ _FirstSolutionStrategy_default_instance_

FirstSolutionStrategyDefaultTypeInternal _FirstSolutionStrategy_default_instance_

Definition at line 30 of file routing_enums.pb.cc.

◆ _FlowModel_default_instance_

FlowModelDefaultTypeInternal _FlowModel_default_instance_

Definition at line 62 of file flow_problem.pb.cc.

◆ _GScipOutput_default_instance_

GScipOutputDefaultTypeInternal _GScipOutput_default_instance_

Definition at line 152 of file gscip.pb.cc.

◆ _GScipParameters_BoolParamsEntry_DoNotUse_default_instance_

GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_BoolParamsEntry_DoNotUse_default_instance_

Definition at line 30 of file gscip.pb.cc.

◆ _GScipParameters_CharParamsEntry_DoNotUse_default_instance_

GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_CharParamsEntry_DoNotUse_default_instance_

Definition at line 74 of file gscip.pb.cc.

◆ _GScipParameters_default_instance_

GScipParametersDefaultTypeInternal _GScipParameters_default_instance_

Definition at line 117 of file gscip.pb.cc.

◆ _GScipParameters_IntParamsEntry_DoNotUse_default_instance_

GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_IntParamsEntry_DoNotUse_default_instance_

Definition at line 41 of file gscip.pb.cc.

◆ _GScipParameters_LongParamsEntry_DoNotUse_default_instance_

GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_LongParamsEntry_DoNotUse_default_instance_

Definition at line 52 of file gscip.pb.cc.

◆ _GScipParameters_RealParamsEntry_DoNotUse_default_instance_

GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_RealParamsEntry_DoNotUse_default_instance_

Definition at line 63 of file gscip.pb.cc.

◆ _GScipParameters_StringParamsEntry_DoNotUse_default_instance_

GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_StringParamsEntry_DoNotUse_default_instance_

Definition at line 85 of file gscip.pb.cc.

◆ _GScipSolvingStats_default_instance_

GScipSolvingStatsDefaultTypeInternal _GScipSolvingStats_default_instance_

Definition at line 137 of file gscip.pb.cc.

◆ _IntervalVarAssignment_default_instance_

IntervalVarAssignmentDefaultTypeInternal _IntervalVarAssignment_default_instance_

Definition at line 55 of file assignment.pb.cc.

◆ _IntVarAssignment_default_instance_

IntVarAssignmentDefaultTypeInternal _IntVarAssignment_default_instance_

Definition at line 34 of file assignment.pb.cc.

◆ _LocalSearchMetaheuristic_default_instance_

LocalSearchMetaheuristicDefaultTypeInternal _LocalSearchMetaheuristic_default_instance_

Definition at line 41 of file routing_enums.pb.cc.

◆ _LocalSearchStatistics_default_instance_

LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_

Definition at line 66 of file search_stats.pb.cc.

◆ _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_

LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_

Definition at line 50 of file search_stats.pb.cc.

◆ _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_

LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_

Definition at line 35 of file search_stats.pb.cc.

◆ _MPAbsConstraint_default_instance_

MPAbsConstraintDefaultTypeInternal _MPAbsConstraint_default_instance_

Definition at line 128 of file linear_solver.pb.cc.

◆ _MPArrayConstraint_default_instance_

MPArrayConstraintDefaultTypeInternal _MPArrayConstraint_default_instance_

Definition at line 141 of file linear_solver.pb.cc.

◆ _MPArrayWithConstantConstraint_default_instance_

MPArrayWithConstantConstraintDefaultTypeInternal _MPArrayWithConstantConstraint_default_instance_

Definition at line 155 of file linear_solver.pb.cc.

◆ _MPConstraintProto_default_instance_

MPConstraintProtoDefaultTypeInternal _MPConstraintProto_default_instance_

Definition at line 55 of file linear_solver.pb.cc.

◆ _MPGeneralConstraintProto_default_instance_

MPGeneralConstraintProtoDefaultTypeInternal _MPGeneralConstraintProto_default_instance_

Definition at line 68 of file linear_solver.pb.cc.

◆ _MPIndicatorConstraint_default_instance_

MPIndicatorConstraintDefaultTypeInternal _MPIndicatorConstraint_default_instance_

Definition at line 82 of file linear_solver.pb.cc.

◆ _MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_default_instance_

MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_default_instance_

Definition at line 257 of file linear_solver.pb.cc.

◆ _MPModelDeltaProto_default_instance_

MPModelDeltaProtoDefaultTypeInternal _MPModelDeltaProto_default_instance_

Definition at line 271 of file linear_solver.pb.cc.

◆ _MPModelDeltaProto_VariableOverridesEntry_DoNotUse_default_instance_

MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_VariableOverridesEntry_DoNotUse_default_instance_

Definition at line 246 of file linear_solver.pb.cc.

◆ _MPModelProto_default_instance_

MPModelProtoDefaultTypeInternal _MPModelProto_default_instance_

Definition at line 203 of file linear_solver.pb.cc.

◆ _MPModelRequest_default_instance_

MPModelRequestDefaultTypeInternal _MPModelRequest_default_instance_

Definition at line 291 of file linear_solver.pb.cc.

◆ _MPQuadraticConstraint_default_instance_

MPQuadraticConstraintDefaultTypeInternal _MPQuadraticConstraint_default_instance_

Definition at line 115 of file linear_solver.pb.cc.

◆ _MPQuadraticObjective_default_instance_

MPQuadraticObjectiveDefaultTypeInternal _MPQuadraticObjective_default_instance_

Definition at line 169 of file linear_solver.pb.cc.

◆ _MPSolution_default_instance_

MPSolutionDefaultTypeInternal _MPSolution_default_instance_

Definition at line 305 of file linear_solver.pb.cc.

◆ _MPSolutionResponse_default_instance_

MPSolutionResponseDefaultTypeInternal _MPSolutionResponse_default_instance_

Definition at line 328 of file linear_solver.pb.cc.

◆ _MPSolverCommonParameters_default_instance_

MPSolverCommonParametersDefaultTypeInternal _MPSolverCommonParameters_default_instance_

Definition at line 235 of file linear_solver.pb.cc.

◆ _MPSosConstraint_default_instance_

MPSosConstraintDefaultTypeInternal _MPSosConstraint_default_instance_

Definition at line 97 of file linear_solver.pb.cc.

◆ _MPVariableProto_default_instance_

MPVariableProtoDefaultTypeInternal _MPVariableProto_default_instance_

Definition at line 36 of file linear_solver.pb.cc.

◆ _Node_default_instance_

NodeDefaultTypeInternal _Node_default_instance_

Definition at line 47 of file flow_problem.pb.cc.

◆ _OptionalDouble_default_instance_

OptionalDoubleDefaultTypeInternal _OptionalDouble_default_instance_

Definition at line 215 of file linear_solver.pb.cc.

◆ _PartialVariableAssignment_default_instance_

PartialVariableAssignmentDefaultTypeInternal _PartialVariableAssignment_default_instance_

Definition at line 184 of file linear_solver.pb.cc.

◆ _RegularLimitParameters_default_instance_

RegularLimitParametersDefaultTypeInternal _RegularLimitParameters_default_instance_

Definition at line 36 of file search_limit.pb.cc.

◆ _RoutingModelParameters_default_instance_

RoutingModelParametersDefaultTypeInternal _RoutingModelParameters_default_instance_

Definition at line 180 of file routing_parameters.pb.cc.

◆ _RoutingSearchParameters_default_instance_

RoutingSearchParametersDefaultTypeInternal _RoutingSearchParameters_default_instance_

Definition at line 166 of file routing_parameters.pb.cc.

◆ _RoutingSearchParameters_ImprovementSearchLimitParameters_default_instance_

RoutingSearchParameters_ImprovementSearchLimitParametersDefaultTypeInternal _RoutingSearchParameters_ImprovementSearchLimitParameters_default_instance_

Definition at line 109 of file routing_parameters.pb.cc.

◆ _RoutingSearchParameters_LocalSearchNeighborhoodOperators_default_instance_

RoutingSearchParameters_LocalSearchNeighborhoodOperatorsDefaultTypeInternal _RoutingSearchParameters_LocalSearchNeighborhoodOperators_default_instance_

Definition at line 96 of file routing_parameters.pb.cc.

◆ _SearchStatistics_default_instance_

SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_

Definition at line 95 of file search_stats.pb.cc.

◆ _SequenceVarAssignment_default_instance_

SequenceVarAssignmentDefaultTypeInternal _SequenceVarAssignment_default_instance_

Definition at line 74 of file assignment.pb.cc.

◆ _WorkerInfo_default_instance_

WorkerInfoDefaultTypeInternal _WorkerInfo_default_instance_

Definition at line 87 of file assignment.pb.cc.

◆ ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE

constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE = ConstraintSolverParameters_TrailCompression_TrailCompression_MAX + 1
constexpr

Definition at line 77 of file solver_parameters.pb.h.

◆ ConstraintSolverParameters_TrailCompression_TrailCompression_MAX

constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX = ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB
constexpr

Definition at line 76 of file solver_parameters.pb.h.

◆ ConstraintSolverParameters_TrailCompression_TrailCompression_MIN

constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN = ConstraintSolverParameters_TrailCompression_NO_COMPRESSION
constexpr

Definition at line 75 of file solver_parameters.pb.h.

◆ FirstSolutionStrategy_Value_Value_ARRAYSIZE

constexpr int FirstSolutionStrategy_Value_Value_ARRAYSIZE = FirstSolutionStrategy_Value_Value_MAX + 1
constexpr

Definition at line 95 of file routing_enums.pb.h.

◆ FirstSolutionStrategy_Value_Value_MAX

constexpr FirstSolutionStrategy_Value FirstSolutionStrategy_Value_Value_MAX = FirstSolutionStrategy_Value_AUTOMATIC
constexpr

Definition at line 94 of file routing_enums.pb.h.

◆ FirstSolutionStrategy_Value_Value_MIN

constexpr FirstSolutionStrategy_Value FirstSolutionStrategy_Value_Value_MIN = FirstSolutionStrategy_Value_UNSET
constexpr

Definition at line 93 of file routing_enums.pb.h.

◆ FlowModel_ProblemType_ProblemType_ARRAYSIZE

constexpr int FlowModel_ProblemType_ProblemType_ARRAYSIZE = FlowModel_ProblemType_ProblemType_MAX + 1
constexpr

Definition at line 84 of file flow_problem.pb.h.

◆ FlowModel_ProblemType_ProblemType_MAX

constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MAX = FlowModel_ProblemType_MIN_COST_FLOW
constexpr

Definition at line 83 of file flow_problem.pb.h.

◆ FlowModel_ProblemType_ProblemType_MIN

constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MIN = FlowModel_ProblemType_LINEAR_SUM_ASSIGNMENT
constexpr

Definition at line 82 of file flow_problem.pb.h.

◆ GRBaddcone

std::function< int(GRBmodel *model, int nummembers, int *members)> GRBaddcone
Initial value:
=
nullptr

Definition at line 314 of file environment.cc.

◆ GRBaddconstr

std::function< int(GRBmodel *model, int numnz, int *cind, double *cval, char sense, double rhs, const char *constrname)> GRBaddconstr = nullptr

Definition at line 269 of file environment.cc.

◆ GRBaddconstrs

std::function< int(GRBmodel *model, int numconstrs, int numnz, int *cbeg, int *cind, double *cval, char *sense, double *rhs, char **constrnames)> GRBaddconstrs = nullptr

Definition at line 273 of file environment.cc.

◆ GRBaddgenconstrAbs

std::function< int(GRBmodel *model, const char *name, int resvar, int argvar)> GRBaddgenconstrAbs = nullptr

Definition at line 299 of file environment.cc.

◆ GRBaddgenconstrAnd

std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars)> GRBaddgenconstrAnd = nullptr

Definition at line 302 of file environment.cc.

◆ GRBaddgenconstrIndicator

std::function< int(GRBmodel *lp, const char *name, int binvar, int binval, int nvars, const int *vars, const double *vals, char sense, double rhs)> GRBaddgenconstrIndicator = nullptr

Definition at line 309 of file environment.cc.

◆ GRBaddgenconstrMax

std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars, double constant)> GRBaddgenconstrMax = nullptr

Definition at line 294 of file environment.cc.

◆ GRBaddgenconstrMin

std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars, double constant)> GRBaddgenconstrMin = nullptr

Definition at line 297 of file environment.cc.

◆ GRBaddgenconstrOr

std::function< int(GRBmodel *model, const char *name, int resvar, int nvars, const int *vars)> GRBaddgenconstrOr = nullptr

Definition at line 305 of file environment.cc.

◆ GRBaddqconstr

std::function< int(GRBmodel *model, int numlnz, int *lind, double *lval, int numqnz, int *qrow, int *qcol, double *qval, char sense, double rhs, const char *QCname)> GRBaddqconstr = nullptr

Definition at line 313 of file environment.cc.

◆ GRBaddqpterms

std::function< int(GRBmodel *model, int numqnz, int *qrow, int *qcol, double *qval)> GRBaddqpterms = nullptr

Definition at line 318 of file environment.cc.

◆ GRBaddrangeconstr

std::function< int(GRBmodel *model, int numnz, int *cind, double *cval, double lower, double upper, const char *constrname)> GRBaddrangeconstr = nullptr

Definition at line 280 of file environment.cc.

◆ GRBaddrangeconstrs

std::function< int(GRBmodel *model, int numconstrs, int numnz, int *cbeg, int *cind, double *cval, double *lower, double *upper, char **constrnames)> GRBaddrangeconstrs = nullptr

Definition at line 284 of file environment.cc.

◆ GRBaddsos

std::function< int(GRBmodel *model, int numsos, int nummembers, int *types, int *beg, int *ind, double *weight)> GRBaddsos = nullptr

Definition at line 291 of file environment.cc.

◆ GRBaddvar

std::function< int(GRBmodel *model, int numnz, int *vind, double *vval, double obj, double lb, double ub, char vtype, const char *varname)> GRBaddvar = nullptr

Definition at line 258 of file environment.cc.

◆ GRBaddvars

std::function< int(GRBmodel *model, int numvars, int numnz, int *vbeg, int *vind, double *vval, double *obj, double *lb, double *ub, char *vtype, char **varnames)> GRBaddvars = nullptr

Definition at line 262 of file environment.cc.

◆ GRBBinvColj

std::function< int(GRBmodel *model, int j, GRBsvec *x)> GRBBinvColj = nullptr

Definition at line 338 of file environment.cc.

◆ GRBBinvi

std::function< int(GRBmodel *model, int i, GRBsvec *x)> GRBBinvi = nullptr

Definition at line 341 of file environment.cc.

◆ GRBBinvj

std::function< int(GRBmodel *model, int j, GRBsvec *x)> GRBBinvj = nullptr

Definition at line 339 of file environment.cc.

◆ GRBBinvRowi

std::function< int(GRBmodel *model, int i, GRBsvec *x)> GRBBinvRowi = nullptr

Definition at line 342 of file environment.cc.

◆ GRBBSolve

std::function< int(GRBmodel *model, GRBsvec *b, GRBsvec *x)> GRBBSolve = nullptr

Definition at line 340 of file environment.cc.

◆ GRBcbcut

std::function< int(void *cbdata, int cutlen, const int *cutind, const double *cutval, char cutsense, double cutrhs)> GRBcbcut = nullptr

Definition at line 155 of file environment.cc.

◆ GRBcbget

std::function< int(void *cbdata, int where, int what, void *resultP)> GRBcbget
Initial value:
=
nullptr

Definition at line 147 of file environment.cc.

◆ GRBcblazy

std::function< int(void *cbdata, int lazylen, const int *lazyind, const double *lazyval, char lazysense, double lazyrhs)> GRBcblazy = nullptr

Definition at line 158 of file environment.cc.

◆ GRBcbsetparam

std::function< int(void *cbdata, const char *paramname, const char *newvalue)> GRBcbsetparam = nullptr

Definition at line 150 of file environment.cc.

◆ GRBcbsolution

std::function< int(void *cbdata, const double *solution, double *objvalP)> GRBcbsolution = nullptr

Definition at line 152 of file environment.cc.

◆ GRBcheckmodel

std::function< int(GRBmodel *model)> GRBcheckmodel = nullptr

Definition at line 347 of file environment.cc.

◆ GRBchgcoeffs

std::function< int(GRBmodel *model, int cnt, int *cind, int *vind, double *val)> GRBchgcoeffs = nullptr

Definition at line 327 of file environment.cc.

◆ GRBcomputeIIS

std::function< int(GRBmodel *model)> GRBcomputeIIS = nullptr

Definition at line 336 of file environment.cc.

◆ GRBconverttofixed

std::function< int(GRBmodel *model)> GRBconverttofixed = nullptr

Definition at line 218 of file environment.cc.

◆ GRBcopymodel

std::function< GRBmodel *(GRBmodel *model)> GRBcopymodel = nullptr

Definition at line 209 of file environment.cc.

◆ GRBcopyparams

std::function< int(GRBenv *dest, GRBenv *src)> GRBcopyparams = nullptr

Definition at line 387 of file environment.cc.

◆ GRBdelconstrs

std::function< int(GRBmodel *model, int len, int *ind)> GRBdelconstrs = nullptr

Definition at line 320 of file environment.cc.

◆ GRBdelgenconstrs

std::function< int(GRBmodel *model, int len, int *ind)> GRBdelgenconstrs
Initial value:
=
nullptr

Definition at line 322 of file environment.cc.

◆ GRBdelq

std::function< int(GRBmodel *model)> GRBdelq = nullptr

Definition at line 325 of file environment.cc.

◆ GRBdelqconstrs

std::function< int(GRBmodel *model, int len, int *ind)> GRBdelqconstrs = nullptr

Definition at line 324 of file environment.cc.

◆ GRBdelsos

std::function< int(GRBmodel *model, int len, int *ind)> GRBdelsos = nullptr

Definition at line 321 of file environment.cc.

◆ GRBdelvars

std::function< int(GRBmodel *model, int len, int *ind)> GRBdelvars = nullptr

Definition at line 319 of file environment.cc.

◆ GRBdiscardconcurrentenvs

std::function< void(GRBmodel *model)> GRBdiscardconcurrentenvs = nullptr

Definition at line 421 of file environment.cc.

◆ GRBdiscardmultiobjenvs

std::function< void(GRBmodel *model)> GRBdiscardmultiobjenvs = nullptr

Definition at line 423 of file environment.cc.

◆ GRBfeasibility

std::function< GRBmodel *(GRBmodel *model)> GRBfeasibility = nullptr

Definition at line 221 of file environment.cc.

◆ GRBfeasrelax

std::function< int(GRBmodel *model, int relaxobjtype, int minrelax, double *lbpen, double *ubpen, double *rhspen, double *feasobjP)> GRBfeasrelax = nullptr

Definition at line 214 of file environment.cc.

◆ GRBfiletype

std::function< int(const char *filename)> GRBfiletype = nullptr

Definition at line 237 of file environment.cc.

◆ GRBfixedmodel

std::function< GRBmodel *(GRBmodel *model)> GRBfixedmodel = nullptr

Definition at line 210 of file environment.cc.

◆ GRBfreeenv

std::function< void(GRBenv *env)> GRBfreeenv = nullptr

Definition at line 425 of file environment.cc.

◆ GRBfreemodel

std::function< int(GRBmodel *model)> GRBfreemodel = nullptr

Definition at line 335 of file environment.cc.

◆ GRBFSolve

std::function< int(GRBmodel *model, GRBsvec *b, GRBsvec *x)> GRBFSolve = nullptr

Definition at line 337 of file environment.cc.

◆ GRBgetattrinfo

std::function< int(GRBmodel *model, const char *attrname, int *datatypeP, int *sizeP, int *settableP)> GRBgetattrinfo = nullptr

Definition at line 51 of file environment.cc.

◆ GRBgetattrname

std::function< int(GRBmodel *model, int i, char **attrnameP)> GRBgetattrname
Initial value:
=
nullptr

Definition at line 394 of file environment.cc.

◆ GRBgetBasisHead

std::function< int(GRBmodel *model, int *bhead)> GRBgetBasisHead = nullptr

Definition at line 343 of file environment.cc.

◆ GRBgetcallbackfunc

std::function< int(GRBmodel *model, int(GUROBI_STDCALL **cbP)(CB_ARGS))> GRBgetcallbackfunc = nullptr

Definition at line 142 of file environment.cc.

◆ GRBgetcbwhatinfo

std::function< int(void *cbdata, int what, int *typeP, int *sizeP)> GRBgetcbwhatinfo = nullptr

Definition at line 216 of file environment.cc.

◆ GRBgetcharattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, char *values)> GRBgetcharattrarray = nullptr

Definition at line 84 of file environment.cc.

◆ GRBgetcharattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, char *valueP)> GRBgetcharattrelement = nullptr

Definition at line 78 of file environment.cc.

◆ GRBgetcharattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char *values)> GRBgetcharattrlist = nullptr

Definition at line 90 of file environment.cc.

◆ GRBgetcoeff

std::function< int(GRBmodel *model, int constr, int var, double *valP)> GRBgetcoeff = nullptr

Definition at line 160 of file environment.cc.

◆ GRBgetconcurrentenv

std::function< GRBenv *(GRBmodel *model, int num)> GRBgetconcurrentenv = nullptr

Definition at line 420 of file environment.cc.

◆ GRBgetconstrbyname

std::function< int(GRBmodel *model, const char *name, int *indexP)> GRBgetconstrbyname = nullptr

Definition at line 204 of file environment.cc.

◆ GRBgetconstrs

std::function< int(GRBmodel *model, int *numnzP, int *cbeg, int *cind, double *cval, int start, int len)> GRBgetconstrs = nullptr

Definition at line 163 of file environment.cc.

◆ GRBgetdblattr

std::function< int(GRBmodel *model, const char *attrname, double *valueP)> GRBgetdblattr = nullptr

Definition at line 95 of file environment.cc.

◆ GRBgetdblattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, double *values)> GRBgetdblattrarray = nullptr

Definition at line 106 of file environment.cc.

◆ GRBgetdblattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, double *valueP)> GRBgetdblattrelement = nullptr

Definition at line 100 of file environment.cc.

◆ GRBgetdblattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, double *values)> GRBgetdblattrlist = nullptr

Definition at line 112 of file environment.cc.

◆ GRBgetdblparam

std::function< int(GRBenv *env, const char *paramname, double *valueP)> GRBgetdblparam = nullptr

Definition at line 365 of file environment.cc.

◆ GRBgetdblparaminfo

std::function< int(GRBenv *env, const char *paramname, double *valueP, double *minP, double *maxP, double *defP)> GRBgetdblparaminfo = nullptr

Definition at line 373 of file environment.cc.

◆ GRBgetenv

std::function< GRBenv *(GRBmodel *model)> GRBgetenv = nullptr

Definition at line 419 of file environment.cc.

◆ GRBgeterrormsg

std::function< const char *(GRBenv *env)> GRBgeterrormsg = nullptr

Definition at line 426 of file environment.cc.

◆ GRBgetgenconstrAbs

std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *argvarP)> GRBgetgenconstrAbs = nullptr

Definition at line 183 of file environment.cc.

◆ GRBgetgenconstrAnd

std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars)> GRBgetgenconstrAnd = nullptr

Definition at line 186 of file environment.cc.

◆ GRBgetgenconstrIndicator

std::function< int(GRBmodel *model, int genconstr, int *binvarP, int *binvalP, int *nvarsP, int *vars, double *vals, char *senseP, double *rhsP)> GRBgetgenconstrIndicator = nullptr

Definition at line 193 of file environment.cc.

◆ GRBgetgenconstrMax

std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars, double *constantP)> GRBgetgenconstrMax = nullptr

Definition at line 178 of file environment.cc.

◆ GRBgetgenconstrMin

std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars, double *constantP)> GRBgetgenconstrMin = nullptr

Definition at line 181 of file environment.cc.

◆ GRBgetgenconstrOr

std::function< int(GRBmodel *model, int genconstr, int *resvarP, int *nvarsP, int *vars)> GRBgetgenconstrOr = nullptr

Definition at line 189 of file environment.cc.

◆ GRBgetintattr

std::function< int(GRBmodel *model, const char *attrname, int *valueP)> GRBgetintattr = nullptr

Definition at line 55 of file environment.cc.

◆ GRBgetintattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, int *values)> GRBgetintattrarray = nullptr

Definition at line 66 of file environment.cc.

◆ GRBgetintattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, int *valueP)> GRBgetintattrelement = nullptr

Definition at line 60 of file environment.cc.

◆ GRBgetintattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, int *values)> GRBgetintattrlist = nullptr

Definition at line 72 of file environment.cc.

◆ GRBgetintparam

std::function< int(GRBenv *env, const char *paramname, int *valueP)> GRBgetintparam = nullptr

Definition at line 363 of file environment.cc.

◆ GRBgetintparaminfo

std::function< int(GRBenv *env, const char *paramname, int *valueP, int *minP, int *maxP, int *defP)> GRBgetintparaminfo = nullptr

Definition at line 370 of file environment.cc.

◆ GRBgetlogfile

std::function< int(GRBenv *env, FILE **logfileP)> GRBgetlogfile = nullptr

Definition at line 360 of file environment.cc.

◆ GRBgetmerrormsg

std::function< const char *(GRBmodel *model)> GRBgetmerrormsg = nullptr

Definition at line 427 of file environment.cc.

◆ GRBgetmultiobjenv

std::function< GRBenv *(GRBmodel *model, int num)> GRBgetmultiobjenv = nullptr

Definition at line 422 of file environment.cc.

◆ GRBgetnumattributes

std::function< int(GRBmodel *model)> GRBgetnumattributes = nullptr

Definition at line 393 of file environment.cc.

◆ GRBgetnumparams

std::function< int(GRBenv *env)> GRBgetnumparams = nullptr

Definition at line 390 of file environment.cc.

◆ GRBgetparamname

std::function< int(GRBenv *env, int i, char **paramnameP)> GRBgetparamname
Initial value:
=
nullptr

Definition at line 391 of file environment.cc.

◆ GRBgetparamtype

std::function< int(GRBenv *env, const char *paramname)> GRBgetparamtype
Initial value:
=
nullptr

Definition at line 384 of file environment.cc.

◆ GRBgetpwlobj

std::function< int(GRBmodel *model, int var, int *pointsP, double *x, double *y)> GRBgetpwlobj = nullptr

Definition at line 206 of file environment.cc.

◆ GRBgetq

std::function< int(GRBmodel *model, int *numqnzP, int *qrow, int *qcol, double *qval)> GRBgetq = nullptr

Definition at line 196 of file environment.cc.

◆ GRBgetqconstr

std::function< int(GRBmodel *model, int qconstr, int *numlnzP, int *lind, double *lval, int *numqnzP, int *qrow, int *qcol, double *qval)> GRBgetqconstr = nullptr

Definition at line 200 of file environment.cc.

◆ GRBgetsos

std::function< int(GRBmodel *model, int *nummembersP, int *sostype, int *beg, int *ind, double *weight, int start, int len)> GRBgetsos = nullptr

Definition at line 175 of file environment.cc.

◆ GRBgetstrattr

std::function< int(GRBmodel *model, const char *attrname, char **valueP)> GRBgetstrattr = nullptr

Definition at line 117 of file environment.cc.

◆ GRBgetstrattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, char **values)> GRBgetstrattrarray = nullptr

Definition at line 128 of file environment.cc.

◆ GRBgetstrattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, char **valueP)> GRBgetstrattrelement = nullptr

Definition at line 122 of file environment.cc.

◆ GRBgetstrattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char **values)> GRBgetstrattrlist = nullptr

Definition at line 134 of file environment.cc.

◆ GRBgetstrparam

std::function< int(GRBenv *env, const char *paramname, char *valueP)> GRBgetstrparam = nullptr

Definition at line 367 of file environment.cc.

◆ GRBgetstrparaminfo

std::function< int(GRBenv *env, const char *paramname, char *valueP, char *defP)> GRBgetstrparaminfo = nullptr

Definition at line 375 of file environment.cc.

◆ GRBgettunelog

std::function< int(GRBmodel *model, int i, char **logP)> GRBgettunelog = nullptr

Definition at line 436 of file environment.cc.

◆ GRBgettuneresult

std::function< int(GRBmodel *model, int i)> GRBgettuneresult = nullptr

Definition at line 435 of file environment.cc.

◆ GRBgetvarbyname

std::function< int(GRBmodel *model, const char *name, int *indexP)> GRBgetvarbyname = nullptr

Definition at line 202 of file environment.cc.

◆ GRBgetvars

std::function< int(GRBmodel *model, int *numnzP, int *vbeg, int *vind, double *vval, int start, int len)> GRBgetvars = nullptr

Definition at line 169 of file environment.cc.

◆ GRBiismodel

std::function< GRBmodel *(GRBmodel *model)> GRBiismodel = nullptr

Definition at line 220 of file environment.cc.

◆ GRBisattravailable

std::function< int(GRBmodel *model, const char *attrname)> GRBisattravailable
Initial value:
=
nullptr

Definition at line 52 of file environment.cc.

◆ GRBismodelfile

std::function< int(const char *filename)> GRBismodelfile = nullptr

Definition at line 236 of file environment.cc.

◆ GRBisqp

std::function< int(GRBenv **, const char *, const char *, const char *, int, const char *)> GRBisqp = nullptr

Definition at line 48 of file environment.cc.

◆ GRBisrecordfile

std::function< int(const char *filename)> GRBisrecordfile = nullptr

Definition at line 238 of file environment.cc.

◆ GRBlinearizemodel

std::function< GRBmodel *(GRBmodel *model)> GRBlinearizemodel = nullptr

Definition at line 222 of file environment.cc.

◆ GRBloadclientenv

std::function< int(GRBenv **envP, const char *logfilename, const char *computeservers, int port, const char *password, int priority, double timeout)> GRBloadclientenv = nullptr

Definition at line 404 of file environment.cc.

◆ GRBloadclientenvadv

std::function< int(GRBenv **envP, const char *logfilename, const char *computeservers, int port, const char *password, int priority, double timeout, int apitype, int major, int minor, int tech, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBloadclientenvadv = nullptr

Definition at line 410 of file environment.cc.

◆ GRBloadcloudenv

std::function< int(GRBenv **envP, const char *logfilename, const char *accessID, const char *secretKey, const char *pool)> GRBloadcloudenv = nullptr

Definition at line 413 of file environment.cc.

◆ GRBloadcloudenvadv

std::function< int(GRBenv **envP, const char *logfilename, const char *accessID, const char *secretKey, const char *pool, int apitype, int major, int minor, int tech, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBloadcloudenvadv = nullptr

Definition at line 418 of file environment.cc.

◆ GRBloadenv

std::function< int(GRBenv **envP, const char *logfilename)> GRBloadenv = nullptr

Definition at line 396 of file environment.cc.

◆ GRBloadenvadv

std::function< int(GRBenv **envP, const char *logfilename, int apitype, int major, int minor, int tech, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBloadenvadv = nullptr

Definition at line 400 of file environment.cc.

◆ GRBloadenvsyscb

std::function< int(GRBenv **envP, const char *logfilename, void *(GUROBI_STDCALL *malloccb)(MALLOCCB_ARGS), void *(GUROBI_STDCALL *calloccb)(CALLOCCB_ARGS), void *(GUROBI_STDCALL *realloccb)(REALLOCCB_ARGS), void(GUROBI_STDCALL *freecb)(FREECB_ARGS), int(GUROBI_STDCALL *threadcreatecb)(THREADCREATECB_ARGS), void(GUROBI_STDCALL *threadjoincb)(THREADJOINCB_ARGS), void *syscbusrdata)> GRBloadenvsyscb = nullptr

Definition at line 231 of file environment.cc.

◆ GRBloadmodel

std::function< int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars, int numconstrs, int objsense, double objcon, double *obj, char *sense, double *rhs, int *vbeg, int *vlen, int *vind, double *vval, double *lb, double *ub, char *vtype, char **varnames, char **constrnames)> GRBloadmodel = nullptr

Definition at line 248 of file environment.cc.

◆ GRBmsg

std::function< void(GRBenv *env, const char *message)> GRBmsg = nullptr

Definition at line 359 of file environment.cc.

◆ GRBnewmodel

std::function< int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars, double *obj, double *lb, double *ub, char *vtype, char **varnames)> GRBnewmodel = nullptr

Definition at line 242 of file environment.cc.

◆ GRBoptimize

std::function< int(GRBmodel *model)> GRBoptimize = nullptr

Definition at line 207 of file environment.cc.

◆ GRBoptimizeasync

std::function< int(GRBmodel *model)> GRBoptimizeasync = nullptr

Definition at line 208 of file environment.cc.

◆ GRBplatform

std::function< char *(void)> GRBplatform = nullptr

Definition at line 430 of file environment.cc.

◆ GRBpresolvemodel

std::function< GRBmodel *(GRBmodel *model)> GRBpresolvemodel = nullptr

Definition at line 219 of file environment.cc.

◆ GRBread

std::function< int(GRBmodel *model, const char *filename)> GRBread = nullptr

Definition at line 234 of file environment.cc.

◆ GRBreadmodel

std::function< int(GRBenv *env, const char *filename, GRBmodel **modelP)> GRBreadmodel = nullptr

Definition at line 233 of file environment.cc.

◆ GRBreadparams

std::function< int(GRBenv *env, const char *filename)> GRBreadparams = nullptr

Definition at line 389 of file environment.cc.

◆ GRBrelaxmodel

std::function< GRBmodel *(GRBmodel *model)> GRBrelaxmodel = nullptr

Definition at line 217 of file environment.cc.

◆ GRBreleaselicense

std::function< void(GRBenv *env)> GRBreleaselicense = nullptr

Definition at line 424 of file environment.cc.

◆ GRBreplay

std::function< int(const char *filename)> GRBreplay = nullptr

Definition at line 350 of file environment.cc.

◆ GRBresetmodel

std::function< int(GRBmodel *model)> GRBresetmodel = nullptr

Definition at line 334 of file environment.cc.

◆ GRBresetparams

std::function< int(GRBenv *env)> GRBresetparams = nullptr

Definition at line 386 of file environment.cc.

◆ GRBsetcallbackfunc

std::function< int(GRBmodel *model, int(GUROBI_STDCALL *cb)(CB_ARGS), void *usrdata)> GRBsetcallbackfunc = nullptr

Definition at line 140 of file environment.cc.

◆ GRBsetcharattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, char *newvalues)> GRBsetcharattrarray = nullptr

Definition at line 87 of file environment.cc.

◆ GRBsetcharattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, char newvalue)> GRBsetcharattrelement = nullptr

Definition at line 81 of file environment.cc.

◆ GRBsetcharattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char *newvalues)> GRBsetcharattrlist = nullptr

Definition at line 93 of file environment.cc.

◆ GRBsetdblattr

std::function< int(GRBmodel *model, const char *attrname, double newvalue)> GRBsetdblattr = nullptr

Definition at line 97 of file environment.cc.

◆ GRBsetdblattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, double *newvalues)> GRBsetdblattrarray = nullptr

Definition at line 109 of file environment.cc.

◆ GRBsetdblattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, double newvalue)> GRBsetdblattrelement = nullptr

Definition at line 103 of file environment.cc.

◆ GRBsetdblattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, double *newvalues)> GRBsetdblattrlist = nullptr

Definition at line 115 of file environment.cc.

◆ GRBsetdblparam

std::function< int(GRBenv *env, const char *paramname, double value)> GRBsetdblparam = nullptr

Definition at line 381 of file environment.cc.

◆ GRBsetintattr

std::function< int(GRBmodel *model, const char *attrname, int newvalue)> GRBsetintattr = nullptr

Definition at line 57 of file environment.cc.

◆ GRBsetintattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, int *newvalues)> GRBsetintattrarray = nullptr

Definition at line 69 of file environment.cc.

◆ GRBsetintattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, int newvalue)> GRBsetintattrelement = nullptr

Definition at line 63 of file environment.cc.

◆ GRBsetintattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, int *newvalues)> GRBsetintattrlist = nullptr

Definition at line 75 of file environment.cc.

◆ GRBsetintparam

std::function< int(GRBenv *env, const char *paramname, int value)> GRBsetintparam = nullptr

Definition at line 379 of file environment.cc.

◆ GRBsetlogcallbackfunc

std::function< int(GRBmodel *model, int(GUROBI_STDCALL *cb)(char *msg))> GRBsetlogcallbackfunc = nullptr

Definition at line 144 of file environment.cc.

◆ GRBsetlogcallbackfuncenv

std::function< int(GRBenv *env, int(GUROBI_STDCALL *cb)(char *msg))> GRBsetlogcallbackfuncenv = nullptr

Definition at line 146 of file environment.cc.

◆ GRBsetlogfile

std::function< int(GRBenv *env, FILE *logfile)> GRBsetlogfile = nullptr

Definition at line 361 of file environment.cc.

◆ GRBsetobjective

std::function< int(GRBmodel *model, int sense, double constant, int lnz, int *lind, double *lval, int qnz, int *qrow, int *qcol, double *qval)> GRBsetobjective = nullptr

Definition at line 354 of file environment.cc.

◆ GRBsetobjectiven

std::function< int(GRBmodel *model, int index, int priority, double weight, double abstol, double reltol, const char *name, double constant, int lnz, int *lind, double *lval)> GRBsetobjectiven = nullptr

Definition at line 358 of file environment.cc.

◆ GRBsetparam

std::function< int(GRBenv *env, const char *paramname, const char *value)> GRBsetparam = nullptr

Definition at line 377 of file environment.cc.

◆ GRBsetpwlobj

std::function< int(GRBmodel *model, int var, int points, double *x, double *y)> GRBsetpwlobj = nullptr

Definition at line 332 of file environment.cc.

◆ GRBsetsignal

std::function< void(GRBmodel *model)> GRBsetsignal = nullptr

Definition at line 348 of file environment.cc.

◆ GRBsetstrattr

std::function< int(GRBmodel *model, const char *attrname, const char *newvalue)> GRBsetstrattr = nullptr

Definition at line 119 of file environment.cc.

◆ GRBsetstrattrarray

std::function< int(GRBmodel *model, const char *attrname, int first, int len, char **newvalues)> GRBsetstrattrarray = nullptr

Definition at line 131 of file environment.cc.

◆ GRBsetstrattrelement

std::function< int(GRBmodel *model, const char *attrname, int element, const char *newvalue)> GRBsetstrattrelement = nullptr

Definition at line 125 of file environment.cc.

◆ GRBsetstrattrlist

std::function< int(GRBmodel *model, const char *attrname, int len, int *ind, char **newvalues)> GRBsetstrattrlist = nullptr

Definition at line 137 of file environment.cc.

◆ GRBsetstrparam

std::function< int(GRBenv *env, const char *paramname, const char *value)> GRBsetstrparam = nullptr

Definition at line 383 of file environment.cc.

◆ GRBstrongbranch

std::function< int(GRBmodel *model, int num, int *cand, double *downobjbd, double *upobjbd, int *statusP)> GRBstrongbranch = nullptr

Definition at line 346 of file environment.cc.

◆ GRBsync

std::function< int(GRBmodel *model)> GRBsync = nullptr

Definition at line 439 of file environment.cc.

◆ GRBterminate

std::function< void(GRBmodel *model)> GRBterminate = nullptr

Definition at line 349 of file environment.cc.

◆ GRBtunemodel

std::function< int(GRBmodel *model)> GRBtunemodel = nullptr

Definition at line 431 of file environment.cc.

◆ GRBtunemodeladv

std::function< int(GRBmodel *model, GRBmodel *ignore, GRBmodel *hint)> GRBtunemodeladv = nullptr

Definition at line 438 of file environment.cc.

◆ GRBtunemodels

std::function< int(int nummodels, GRBmodel **models, GRBmodel *ignore, GRBmodel *hint)> GRBtunemodels = nullptr

Definition at line 434 of file environment.cc.

◆ GRBupdatemodel

std::function< int(GRBmodel *model)> GRBupdatemodel = nullptr

Definition at line 333 of file environment.cc.

◆ GRBversion

std::function< void(int *majorP, int *minorP, int *technicalP)> GRBversion
Initial value:
=
nullptr

Definition at line 428 of file environment.cc.

◆ GRBwrite

std::function< int(GRBmodel *model, const char *filename)> GRBwrite = nullptr

Definition at line 235 of file environment.cc.

◆ GRBwriteparams

std::function< int(GRBenv *env, const char *filename)> GRBwriteparams = nullptr

Definition at line 388 of file environment.cc.

◆ GRBXaddconstrs

std::function< int(GRBmodel *model, int numconstrs, size_t numnz, size_t *cbeg, int *cind, double *cval, char *sense, double *rhs, char **constrnames)> GRBXaddconstrs = nullptr

Definition at line 277 of file environment.cc.

◆ GRBXaddrangeconstrs

std::function< int(GRBmodel *model, int numconstrs, size_t numnz, size_t *cbeg, int *cind, double *cval, double *lower, double *upper, char **constrnames)> GRBXaddrangeconstrs = nullptr

Definition at line 288 of file environment.cc.

◆ GRBXaddvars

std::function< int(GRBmodel *model, int numvars, size_t numnz, size_t *vbeg, int *vind, double *vval, double *obj, double *lb, double *ub, char *vtype, char **varnames)> GRBXaddvars = nullptr

Definition at line 266 of file environment.cc.

◆ GRBXchgcoeffs

std::function< int(GRBmodel *model, size_t cnt, int *cind, int *vind, double *val)> GRBXchgcoeffs = nullptr

Definition at line 330 of file environment.cc.

◆ GRBXgetconstrs

std::function< int(GRBmodel *model, size_t *numnzP, size_t *cbeg, int *cind, double *cval, int start, int len)> GRBXgetconstrs = nullptr

Definition at line 166 of file environment.cc.

◆ GRBXgetvars

std::function< int(GRBmodel *model, size_t *numnzP, size_t *vbeg, int *vind, double *vval, int start, int len)> GRBXgetvars = nullptr

Definition at line 172 of file environment.cc.

◆ GRBXloadmodel

std::function< int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars, int numconstrs, int objsense, double objcon, double *obj, char *sense, double *rhs, size_t *vbeg, int *vlen, int *vind, double *vval, double *lb, double *ub, char *vtype, char **varnames, char **constrnames)> GRBXloadmodel = nullptr

Definition at line 254 of file environment.cc.

◆ GScipOutput_Status_Status_ARRAYSIZE

constexpr int GScipOutput_Status_Status_ARRAYSIZE = GScipOutput_Status_Status_MAX + 1
constexpr

Definition at line 187 of file gscip.pb.h.

◆ GScipOutput_Status_Status_MAX

constexpr GScipOutput_Status GScipOutput_Status_Status_MAX = GScipOutput_Status_INVALID_SOLVER_PARAMETERS
constexpr

Definition at line 186 of file gscip.pb.h.

◆ GScipOutput_Status_Status_MIN

constexpr GScipOutput_Status GScipOutput_Status_Status_MIN = GScipOutput_Status_UNKNOWN
constexpr

Definition at line 185 of file gscip.pb.h.

◆ GScipParameters_Emphasis_Emphasis_ARRAYSIZE

constexpr int GScipParameters_Emphasis_Emphasis_ARRAYSIZE = GScipParameters_Emphasis_Emphasis_MAX + 1
constexpr

Definition at line 120 of file gscip.pb.h.

◆ GScipParameters_Emphasis_Emphasis_MAX

constexpr GScipParameters_Emphasis GScipParameters_Emphasis_Emphasis_MAX = GScipParameters_Emphasis_PHASE_PROOF
constexpr

Definition at line 119 of file gscip.pb.h.

◆ GScipParameters_Emphasis_Emphasis_MIN

constexpr GScipParameters_Emphasis GScipParameters_Emphasis_Emphasis_MIN = GScipParameters_Emphasis_DEFAULT_EMPHASIS
constexpr

Definition at line 118 of file gscip.pb.h.

◆ GScipParameters_MetaParamValue_MetaParamValue_ARRAYSIZE

constexpr int GScipParameters_MetaParamValue_MetaParamValue_ARRAYSIZE = GScipParameters_MetaParamValue_MetaParamValue_MAX + 1
constexpr

Definition at line 147 of file gscip.pb.h.

◆ GScipParameters_MetaParamValue_MetaParamValue_MAX

constexpr GScipParameters_MetaParamValue GScipParameters_MetaParamValue_MetaParamValue_MAX = GScipParameters_MetaParamValue_OFF
constexpr

Definition at line 146 of file gscip.pb.h.

◆ GScipParameters_MetaParamValue_MetaParamValue_MIN

constexpr GScipParameters_MetaParamValue GScipParameters_MetaParamValue_MetaParamValue_MIN = GScipParameters_MetaParamValue_DEFAULT_META_PARAM_VALUE
constexpr

Definition at line 145 of file gscip.pb.h.

◆ kAllBits32

const uint32_t kAllBits32 = 0xFFFFFFFFU
static

Definition at line 35 of file bitset.h.

◆ kAllBits64

const uint64_t kAllBits64 = uint64_t{0xFFFFFFFFFFFFFFFF}
static

Definition at line 33 of file bitset.h.

◆ kAllBitsButLsb64

const uint64_t kAllBitsButLsb64 = uint64_t{0xFFFFFFFFFFFFFFFE}
static

Definition at line 34 of file bitset.h.

◆ kDefaultPrimalTolerance

constexpr double kDefaultPrimalTolerance = 1e-07
constexpr

Definition at line 166 of file linear_solver.h.

◆ kOptimizationProblemTypeNames

constexpr NamedOptimizationProblemType kOptimizationProblemTypeNames[]
constexpr
Initial value:
= {
{MPSolver::GLOP_LINEAR_PROGRAMMING, "glop"},
{MPSolver::CLP_LINEAR_PROGRAMMING, "clp"},
{MPSolver::GUROBI_LINEAR_PROGRAMMING, "gurobi_lp"},
{MPSolver::GLPK_LINEAR_PROGRAMMING, "glpk_lp"},
{MPSolver::CPLEX_LINEAR_PROGRAMMING, "cplex_lp"},
{MPSolver::XPRESS_LINEAR_PROGRAMMING, "xpress_lp"},
{MPSolver::SCIP_MIXED_INTEGER_PROGRAMMING, "scip"},
{MPSolver::CBC_MIXED_INTEGER_PROGRAMMING, "cbc"},
{MPSolver::SAT_INTEGER_PROGRAMMING, "sat"},
{MPSolver::BOP_INTEGER_PROGRAMMING, "bop"},
{MPSolver::GUROBI_MIXED_INTEGER_PROGRAMMING, "gurobi"},
{MPSolver::GLPK_MIXED_INTEGER_PROGRAMMING, "glpk"},
{MPSolver::KNAPSACK_MIXED_INTEGER_PROGRAMMING, "knapsack"},
{MPSolver::CPLEX_MIXED_INTEGER_PROGRAMMING, "cplex"},
{MPSolver::XPRESS_MIXED_INTEGER_PROGRAMMING, "xpress"},
}

Definition at line 516 of file linear_solver.cc.

◆ kUnassigned

const int kUnassigned = -1
static

Definition at line 676 of file routing.cc.

◆ LocalSearchMetaheuristic_Value_Value_ARRAYSIZE

constexpr int LocalSearchMetaheuristic_Value_Value_ARRAYSIZE = LocalSearchMetaheuristic_Value_Value_MAX + 1
constexpr

Definition at line 125 of file routing_enums.pb.h.

◆ LocalSearchMetaheuristic_Value_Value_MAX

constexpr LocalSearchMetaheuristic_Value LocalSearchMetaheuristic_Value_Value_MAX = LocalSearchMetaheuristic_Value_AUTOMATIC
constexpr

Definition at line 124 of file routing_enums.pb.h.

◆ LocalSearchMetaheuristic_Value_Value_MIN

constexpr LocalSearchMetaheuristic_Value LocalSearchMetaheuristic_Value_Value_MIN = LocalSearchMetaheuristic_Value_UNSET
constexpr

Definition at line 123 of file routing_enums.pb.h.

◆ MPModelRequest_SolverType_SolverType_ARRAYSIZE

constexpr int MPModelRequest_SolverType_SolverType_ARRAYSIZE = MPModelRequest_SolverType_SolverType_MAX + 1
constexpr

Definition at line 216 of file linear_solver.pb.h.

◆ MPModelRequest_SolverType_SolverType_MAX

constexpr MPModelRequest_SolverType MPModelRequest_SolverType_SolverType_MAX = MPModelRequest_SolverType_XPRESS_MIXED_INTEGER_PROGRAMMING
constexpr

Definition at line 215 of file linear_solver.pb.h.

◆ MPModelRequest_SolverType_SolverType_MIN

constexpr MPModelRequest_SolverType MPModelRequest_SolverType_SolverType_MIN = MPModelRequest_SolverType_CLP_LINEAR_PROGRAMMING
constexpr

Definition at line 214 of file linear_solver.pb.h.

◆ MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_ARRAYSIZE

constexpr int MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_ARRAYSIZE = MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX + 1
constexpr

Definition at line 180 of file linear_solver.pb.h.

◆ MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX

constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX = MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_BARRIER
constexpr

Definition at line 179 of file linear_solver.pb.h.

◆ MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MIN

constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MIN = MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_UNSPECIFIED
constexpr

Definition at line 178 of file linear_solver.pb.h.

◆ MPSolverResponseStatus_ARRAYSIZE

constexpr int MPSolverResponseStatus_ARRAYSIZE = MPSolverResponseStatus_MAX + 1
constexpr

Definition at line 249 of file linear_solver.pb.h.

◆ MPSolverResponseStatus_MAX

constexpr MPSolverResponseStatus MPSolverResponseStatus_MAX = MPSOLVER_UNKNOWN_STATUS
constexpr

Definition at line 248 of file linear_solver.pb.h.

◆ MPSolverResponseStatus_MIN

constexpr MPSolverResponseStatus MPSolverResponseStatus_MIN = MPSOLVER_OPTIMAL
constexpr

Definition at line 247 of file linear_solver.pb.h.

◆ MPSosConstraint_Type_Type_ARRAYSIZE

constexpr int MPSosConstraint_Type_Type_ARRAYSIZE = MPSosConstraint_Type_Type_MAX + 1
constexpr

Definition at line 155 of file linear_solver.pb.h.

◆ MPSosConstraint_Type_Type_MAX

constexpr MPSosConstraint_Type MPSosConstraint_Type_Type_MAX = MPSosConstraint_Type_SOS2
constexpr

Definition at line 154 of file linear_solver.pb.h.

◆ MPSosConstraint_Type_Type_MIN

constexpr MPSosConstraint_Type MPSosConstraint_Type_Type_MIN = MPSosConstraint_Type_SOS1_DEFAULT
constexpr

Definition at line 153 of file linear_solver.pb.h.

◆ OptionalBoolean_ARRAYSIZE

constexpr int OptionalBoolean_ARRAYSIZE = OptionalBoolean_MAX + 1
constexpr

Definition at line 70 of file optional_boolean.pb.h.

◆ OptionalBoolean_MAX

constexpr OptionalBoolean OptionalBoolean_MAX = BOOL_TRUE
constexpr

Definition at line 69 of file optional_boolean.pb.h.

◆ OptionalBoolean_MIN

constexpr OptionalBoolean OptionalBoolean_MIN = BOOL_UNSPECIFIED
constexpr

Definition at line 68 of file optional_boolean.pb.h.

◆ RoutingSearchParameters_SchedulingSolver_SchedulingSolver_ARRAYSIZE

constexpr int RoutingSearchParameters_SchedulingSolver_SchedulingSolver_ARRAYSIZE = RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MAX + 1
constexpr

Definition at line 94 of file routing_parameters.pb.h.

◆ RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MAX

constexpr RoutingSearchParameters_SchedulingSolver RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MAX = RoutingSearchParameters_SchedulingSolver_CP_SAT
constexpr

Definition at line 93 of file routing_parameters.pb.h.

◆ RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MIN

constexpr RoutingSearchParameters_SchedulingSolver RoutingSearchParameters_SchedulingSolver_SchedulingSolver_MIN = RoutingSearchParameters_SchedulingSolver_UNSET
constexpr

Definition at line 92 of file routing_parameters.pb.h.