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

Namespaces

namespace  internal
namespace  detail
namespace  codegen

Classes

struct  GurobiIsvKey
class  IndicatorConstraint
struct  IndicatorConstraintData
struct  AtomicConstraintTraits< IndicatorConstraintId >
class  QuadraticConstraint
struct  QuadraticConstraintData
struct  AtomicConstraintTraits< QuadraticConstraintId >
class  SecondOrderConeConstraint
struct  SecondOrderConeConstraintData
struct  AtomicConstraintTraits< SecondOrderConeConstraintId >
class  Sos1Constraint
class  Sos2Constraint
struct  AtomicConstraintTraits< Sos1ConstraintId >
struct  AtomicConstraintTraits< Sos2ConstraintId >
class  BaseSolver
class  ConcurrentCallsGuard
struct  InvalidIndicators
struct  InvertedBounds
class  SparseVectorFilterPredicate
struct  SupportedProblemStructures
class  IdNameBiMap
struct  ModelSummary
struct  NonStreamableSolverInitArguments
struct  NonStreamableSolverInitArgumentsHelper
class  NonStreamableSolverInitArgumentsValue
class  Solver
class  SolverInterface
class  AllSolversRegistry
class  SolverInterfaceMock
class  DelegatingSolver
class  SolverFactoryRegistration
struct  WithAlternateAllSolversRegistryConfiguration
class  WithAlternateAllSolversRegistry
struct  SparseVector
class  SparseVectorView
struct  CallbackRegistration
struct  CallbackData
struct  CallbackResult
struct  ComputeInfeasibleSubsystemArguments
struct  ModelSubset
struct  ComputeInfeasibleSubsystemResult
struct  Enum
struct  EnumProto
class  EnumTest
struct  LeadingCoefficientFormatter
struct  ConstantFormatter
class  IncrementalSolver
class  LinearConstraint
struct  MapFilter
struct  SolutionMatcherOptions
struct  SolveResultMatcherOptions
class  Model
struct  ModelSolveParameters
class  Objective
struct  GurobiParameters
struct  GlpkParameters
struct  XpressParameters
struct  SolveParameters
struct  PrimalSolution
struct  PrimalRay
struct  DualSolution
struct  DualRay
struct  Basis
struct  Solution
struct  SolveArguments
struct  ProblemStatus
struct  SolveStats
struct  ObjectiveBounds
struct  Termination
struct  SolveResult
struct  SolverInitArguments
struct  SolverResources
struct  ModelRanges
struct  StreamablePdlpInitArguments
struct  StreamableCpSatInitArguments
struct  StreamableGScipInitArguments
struct  StreamableGlopInitArguments
struct  StreamableGlpkInitArguments
struct  GurobiISVKey
struct  StreamableGurobiInitArguments
struct  StreamableXpressInitArguments
struct  StreamableSolverInitArguments
struct  UpdateResult
class  UpdateTracker
class  Variable
struct  LinearTerm
class  LinearExpression
struct  LowerBoundedLinearExpression
struct  UpperBoundedLinearExpression
struct  BoundedLinearExpression
class  QuadraticTermKey
class  QuadraticTerm
class  QuadraticExpression
struct  LowerBoundedQuadraticExpression
struct  UpperBoundedQuadraticExpression
struct  BoundedQuadraticExpression
class  AttrDiff
class  AttrKey
struct  is_attr_key
struct  is_attr_key< AttrKey< n, Symmetry > >
class  AttrStorage
struct  AttrTypeDescriptor
struct  BoolAttr0TypeDescriptor
struct  BoolAttr1TypeDescriptor
struct  IntAttr0TypeDescriptor
struct  IntAttr1TypeDescriptor
struct  DoubleAttr0TypeDescriptor
struct  DoubleAttr1TypeDescriptor
struct  DoubleAttr2TypeDescriptor
struct  SymmetricDoubleAttr2TypeDescriptor
struct  SymmetricDoubleAttr3TypeDescriptor
struct  VariableAttr1TypeDescriptor
struct  AllAttrs
struct  EnumeratedTupleCpp17Helper
class  AttrMap
class  Diff
class  ElementDiff
class  ElementRefTracker
class  ElementRefTracker< ElementId< element_type >, n, Symmetry >
class  ElementStorage
class  Elemental
struct  SymmetricDifference
struct  ElementalDifferenceOptions
class  ElementalDifference
class  ElementalMatcher
struct  is_element_id
struct  is_element_id< ElementId< element_type > >
struct  AttrOp
struct  NoSymmetry
struct  ElementSymmetry
class  TaggedId
class  TaggedIdsConstView
class  TaggedIdsVector
class  ThreadSafeIdMap
struct  FeasibilityCheckerOptions
struct  MoveVariablesToTheirBestFeasibleValueOptions
class  BaseSolverTest
struct  MessageCallbackTestParams
class  MessageCallbackTest
struct  CallbackTestParams
class  CallbackTest
struct  GenericTestParameters
class  GenericTest
struct  TimeLimitTestParameters
class  TimeLimitTest
struct  NontrivialInfeasibleIp
struct  InfeasibleSubsystemSupport
struct  InfeasibleSubsystemTestParameters
class  InfeasibleSubsystemTest
struct  InvalidInputTestParameters
class  InvalidInputTest
struct  InvalidParameterTestParams
class  InvalidParameterTest
class  IpModelSolveParametersTest
struct  SolutionHintTestParams
class  MipSolutionHintTest
struct  BranchPrioritiesTestParams
class  BranchPrioritiesTest
struct  LazyConstraintsTestParams
class  LazyConstraintsTest
struct  IpMultipleSolutionsTestParams
class  IpMultipleSolutionsTest
struct  ParameterSupport
struct  SolveResultSupport
struct  IpParameterTestParameters
class  IpParameterTest
struct  LargeInstanceTestParams
class  LargeInstanceIpParameterTest
struct  LogicalConstraintTestParameters
class  SimpleLogicalConstraintTest
class  IncrementalLogicalConstraintTest
struct  LpIncompleteSolveTestParams
class  LpIncompleteSolveTest
class  LpBasisStartTest
struct  LpModelSolveParametersTestParameters
class  LpModelSolveParametersTest
struct  LpParameterTestParams
class  LpParameterTest
struct  SolvedModel
struct  SimpleLpTestParameters
class  SimpleLpTest
class  IncrementalLpTest
struct  SimpleMipTestParameters
class  SimpleMipTest
class  IncrementalMipTest
struct  MultiObjectiveTestParameters
class  SimpleMultiObjectiveTest
class  IncrementalMultiObjectiveTest
struct  QcTestParameters
class  SimpleQcTest
class  IncrementalQcTest
class  QcDualsTest
struct  QpTestParameters
class  SimpleQpTest
class  IncrementalQpTest
class  QpDualsTest
struct  SecondOrderConeTestParameters
class  SimpleSecondOrderConeTest
class  IncrementalSecondOrderConeTest
struct  StatusTestParameters
class  StatusTest
class  CpSatSolver
class  GlopSolver
class  GlpkSparseVector
struct  GlpkRay
class  GlpkSolver
struct  GScipSolverConstraintData
class  GScipSolverConstraintHandler
class  GScipSolver
struct  GurobiFreeEnv
class  Gurobi
struct  GurobiCallbackInput
struct  NonStreamableGurobiInitArguments
class  GurobiSolver
class  HighsSolver
class  MessageCallbackData
class  BufferedMessageCallback
class  PdlpBridge
class  PdlpSolver
class  Xpress
class  XpressSolver
class  AtomicConstraintStorage
struct  AtomicConstraintTraits
class  UpdateDataFieldIterator
class  LinearConstraintStorage
struct  LinearExpressionData
class  ModelStorageItem
class  ModelStorageElement
struct  is_model_storage_element
class  ModelStorageItemContainer
class  ModelStorageV2
class  ObjectiveStorage
class  iterator_range
class  SparseCoefficientMap
class  SparseSymmetricMatrix
class  SparseMatrix
class  UpdateTrackers
class  VariableStorage
struct  ParamName
struct  DoubleOptions
struct  CallbackDataProto_SimplexStatsDefaultTypeInternal
struct  CallbackDataProto_PresolveStatsDefaultTypeInternal
struct  CallbackDataProto_MipStatsDefaultTypeInternal
struct  CallbackDataProto_BarrierStatsDefaultTypeInternal
struct  CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal
struct  CallbackRegistrationProtoDefaultTypeInternal
struct  CallbackDataProtoDefaultTypeInternal
struct  CallbackResultProtoDefaultTypeInternal
class  CallbackDataProto_SimplexStats
class  CallbackDataProto_PresolveStats
class  CallbackDataProto_MipStats
class  CallbackDataProto_BarrierStats
class  CallbackResultProto_GeneratedLinearConstraint
class  CallbackRegistrationProto
class  CallbackDataProto
class  CallbackResultProto
struct  ModelSubsetProto_BoundsDefaultTypeInternal
struct  ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal
struct  ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelSubsetProtoDefaultTypeInternal
struct  ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal
class  ModelSubsetProto_Bounds
class  ModelSubsetProto_VariableBoundsEntry_DoNotUse
class  ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse
class  ModelSubsetProto_LinearConstraintsEntry_DoNotUse
class  ModelSubsetProto
class  ComputeInfeasibleSubsystemResultProto
struct  VariablesProtoDefaultTypeInternal
struct  LinearConstraintsProtoDefaultTypeInternal
struct  SosConstraintProtoDefaultTypeInternal
struct  SecondOrderConeConstraintProtoDefaultTypeInternal
struct  QuadraticConstraintProtoDefaultTypeInternal
struct  ObjectiveProtoDefaultTypeInternal
struct  IndicatorConstraintProtoDefaultTypeInternal
struct  ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal
struct  ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal
struct  ModelProtoDefaultTypeInternal
class  VariablesProto
class  LinearConstraintsProto
class  SosConstraintProto
class  SecondOrderConeConstraintProto
class  QuadraticConstraintProto
class  ObjectiveProto
class  IndicatorConstraintProto
class  ModelProto_Sos2ConstraintsEntry_DoNotUse
class  ModelProto_Sos1ConstraintsEntry_DoNotUse
class  ModelProto_SecondOrderConeConstraintsEntry_DoNotUse
class  ModelProto_QuadraticConstraintsEntry_DoNotUse
class  ModelProto_IndicatorConstraintsEntry_DoNotUse
class  ModelProto_AuxiliaryObjectivesEntry_DoNotUse
class  ModelProto
struct  SolutionHintProtoDefaultTypeInternal
struct  ObjectiveParametersProtoDefaultTypeInternal
struct  ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUseDefaultTypeInternal
struct  ModelSolveParametersProtoDefaultTypeInternal
class  SolutionHintProto
class  ObjectiveParametersProto
class  ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse
class  ModelSolveParametersProto
struct  VariableUpdatesProtoDefaultTypeInternal
struct  ObjectiveUpdatesProtoDefaultTypeInternal
struct  LinearConstraintUpdatesProtoDefaultTypeInternal
struct  SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal
struct  SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal
struct  QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal
struct  IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal
struct  AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUseDefaultTypeInternal
struct  AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUseDefaultTypeInternal
struct  SosConstraintUpdatesProtoDefaultTypeInternal
struct  SecondOrderConeConstraintUpdatesProtoDefaultTypeInternal
struct  QuadraticConstraintUpdatesProtoDefaultTypeInternal
struct  IndicatorConstraintUpdatesProtoDefaultTypeInternal
struct  AuxiliaryObjectivesUpdatesProtoDefaultTypeInternal
struct  ModelUpdateProtoDefaultTypeInternal
class  VariableUpdatesProto
class  ObjectiveUpdatesProto
class  LinearConstraintUpdatesProto
class  SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse
class  SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse
class  QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse
class  IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse
class  AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse
class  AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse
class  SosConstraintUpdatesProto
class  SecondOrderConeConstraintUpdatesProto
class  QuadraticConstraintUpdatesProto
class  IndicatorConstraintUpdatesProto
class  AuxiliaryObjectivesUpdatesProto
class  ModelUpdateProto
struct  StrictnessProtoDefaultTypeInternal
struct  SolverInitializerProtoDefaultTypeInternal
struct  SolveParametersProtoDefaultTypeInternal
class  StrictnessProto
class  SolverInitializerProto
class  SolveParametersProto
struct  ProblemStatusProtoDefaultTypeInternal
struct  ObjectiveBoundsProtoDefaultTypeInternal
struct  TerminationProtoDefaultTypeInternal
struct  SolveStatsProtoDefaultTypeInternal
struct  SolveResultProto_PdlpOutputDefaultTypeInternal
struct  SolveResultProtoDefaultTypeInternal
class  ProblemStatusProto
class  ObjectiveBoundsProto
class  TerminationProto
class  SolveStatsProto
class  SolveResultProto_PdlpOutput
class  SolveResultProto
struct  StatusProtoDefaultTypeInternal
struct  SolverResourcesProtoDefaultTypeInternal
struct  SolveResponseDefaultTypeInternal
struct  SolveRequestDefaultTypeInternal
class  StatusProto
class  SolverResourcesProto
class  SolveResponse
class  SolveRequest
struct  SparseBasisStatusVectorDefaultTypeInternal
struct  PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUseDefaultTypeInternal
struct  PrimalSolutionProtoDefaultTypeInternal
struct  PrimalRayProtoDefaultTypeInternal
struct  DualSolutionProtoDefaultTypeInternal
struct  DualRayProtoDefaultTypeInternal
struct  BasisProtoDefaultTypeInternal
struct  SolutionProtoDefaultTypeInternal
class  SparseBasisStatusVector
class  PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse
class  PrimalSolutionProto
class  PrimalRayProto
class  DualSolutionProto
class  DualRayProto
class  BasisProto
class  SolutionProto
struct  GlpkParametersProtoDefaultTypeInternal
class  GlpkParametersProto
struct  GurobiParametersProto_ParameterDefaultTypeInternal
struct  GurobiInitializerProto_ISVKeyDefaultTypeInternal
struct  GurobiParametersProtoDefaultTypeInternal
struct  GurobiInitializerProtoDefaultTypeInternal
class  GurobiParametersProto_Parameter
class  GurobiInitializerProto_ISVKey
class  GurobiParametersProto
class  GurobiInitializerProto
struct  HighsOptionsProto_StringOptionsEntry_DoNotUseDefaultTypeInternal
struct  HighsOptionsProto_IntOptionsEntry_DoNotUseDefaultTypeInternal
struct  HighsOptionsProto_DoubleOptionsEntry_DoNotUseDefaultTypeInternal
struct  HighsOptionsProto_BoolOptionsEntry_DoNotUseDefaultTypeInternal
struct  HighsOptionsProtoDefaultTypeInternal
class  HighsOptionsProto_StringOptionsEntry_DoNotUse
class  HighsOptionsProto_IntOptionsEntry_DoNotUse
class  HighsOptionsProto_DoubleOptionsEntry_DoNotUse
class  HighsOptionsProto_BoolOptionsEntry_DoNotUse
class  HighsOptionsProto
struct  OsqpSettingsProtoDefaultTypeInternal
struct  OsqpOutputDefaultTypeInternal
class  OsqpSettingsProto
class  OsqpOutput
struct  XpressParametersProto_ParameterDefaultTypeInternal
struct  XpressInitializerProtoDefaultTypeInternal
struct  XpressParametersProtoDefaultTypeInternal
class  XpressParametersProto_Parameter
class  XpressInitializerProto
class  XpressParametersProto
struct  SparseVectorFilterProtoDefaultTypeInternal
struct  SparseInt32VectorProtoDefaultTypeInternal
struct  SparseDoubleVectorProtoDefaultTypeInternal
struct  SparseDoubleMatrixProtoDefaultTypeInternal
struct  SparseBoolVectorProtoDefaultTypeInternal
struct  LinearExpressionProtoDefaultTypeInternal
class  SparseVectorFilterProto
class  SparseInt32VectorProto
class  SparseDoubleVectorProto
class  SparseDoubleMatrixProto
class  SparseBoolVectorProto
class  LinearExpressionProto
struct  PrimalAndDualSolution
class  PrimalDualHybridGradientParams
struct  SolverResult

Typedefs

using Sos1ConstraintData = internal::SosConstraintData<Sos1ConstraintId>
using Sos2ConstraintData = internal::SosConstraintData<Sos2ConstraintId>
using SolverInterfaceFactoryMock
template<typename T>
using Pairs = std::initializer_list<std::pair<int64_t, const T>>
using Coefficient = std::tuple<int64_t, int64_t, const double>
using Coefficients = std::initializer_list<Coefficient>
using SparseSubmatrixRowsView
template<typename SparseVector>
using sparse_value_type
using Callback = std::function<CallbackResult(const CallbackData&)>
using ProtoEnumIsValid = bool (*)(int)
template<typename V>
using LinearConstraintMap = absl::flat_hash_map<LinearConstraint, V>
using MockSolveFunction
using MessageCallback = std::function<void(const std::vector<std::string>&)>
template<typename V>
using ObjectiveMap = absl::flat_hash_map<Objective, V>
using SolveFunction
using Range = std::pair<double, double>
template<typename V>
using VariableMap = absl::flat_hash_map<Variable, V>
using QuadraticProductId = std::pair<VariableId, VariableId>
template<typename V>
using QuadraticTermMap = absl::flat_hash_map<QuadraticTermKey, V>
template<typename AttrKeyT, typename = std::enable_if_t<is_attr_key_v<AttrKeyT>>>
using AttrKeyHashSet
template<typename AttrKeyT, typename V, typename = std::enable_if_t<is_attr_key_v<AttrKeyT>>>
using AttrKeyHashMap
using AllAttrTypeDescriptors
using BoolAttr0 = BoolAttr0TypeDescriptor::AttrType
using BoolAttr1 = BoolAttr1TypeDescriptor::AttrType
using IntAttr0 = IntAttr0TypeDescriptor::AttrType
using IntAttr1 = IntAttr1TypeDescriptor::AttrType
using DoubleAttr0 = DoubleAttr0TypeDescriptor::AttrType
using DoubleAttr1 = DoubleAttr1TypeDescriptor::AttrType
using DoubleAttr2 = DoubleAttr2TypeDescriptor::AttrType
using SymmetricDoubleAttr2 = SymmetricDoubleAttr2TypeDescriptor::AttrType
using SymmetricDoubleAttr3 = SymmetricDoubleAttr3TypeDescriptor::AttrType
using VariableAttr1 = VariableAttr1TypeDescriptor::AttrType
template<typename AttrT>
using AttrTypeDescriptorT
template<typename AttrType>
using AttrKeyFor
template<typename AttrType>
using ValueTypeFor = typename AttrTypeDescriptorT<AttrType>::ValueType
template<int n, template< int i > typename ValueType>
using EnumeratedTuple
template<typename Descriptor>
using ElementRefTrackerForAttrTypeDescriptor
template<ElementType element_type>
using ElementId = TaggedId<element_type>
template<ElementType element_type, typename Container>
using ElementIdsConstView = TaggedIdsConstView<element_type, Container>
template<ElementType element_type>
using ElementIdsVector = TaggedIdsVector<element_type>
template<ElementType element_type>
using ElementIdsSpan = TaggedIdsSpan<element_type>
using VariableId = ElementId<ElementType::kVariable>
using LinearConstraintId = ElementId<ElementType::kLinearConstraint>
using AuxiliaryObjectiveId = ElementId<ElementType::kAuxiliaryObjective>
using QuadraticConstraintId = ElementId<ElementType::kQuadraticConstraint>
using IndicatorConstraintId = ElementId<ElementType::kIndicatorConstraint>
template<auto tag>
using TaggedIdsSpan = typename TaggedIdsVector<tag>::View
using GRBenvUniquePtr = std::unique_ptr<GRBenv, GurobiFreeEnv>
using ModelStoragePtr = ModelStorage* absl_nonnull
using NullableModelStoragePtr = ModelStorage* absl_nullable
using ModelStorageCPtr = const ModelStorage* absl_nonnull
using NullableModelStorageCPtr = const ModelStorage* absl_nullable
using ObjectiveId = std::optional<AuxiliaryObjectiveId>

Enumerations

enum class  SupportType { kNotSupported = 1 , kSupported = 2 , kNotImplemented = 3 }
enum class  BasisStatus : int8_t {
  kFree = BASIS_STATUS_FREE , kAtLowerBound = BASIS_STATUS_AT_LOWER_BOUND , kAtUpperBound = BASIS_STATUS_AT_UPPER_BOUND , kFixedValue = BASIS_STATUS_FIXED_VALUE ,
  kBasic = BASIS_STATUS_BASIC
}
enum class  CallbackEvent {
  kPresolve = CALLBACK_EVENT_PRESOLVE , kSimplex = CALLBACK_EVENT_SIMPLEX , kMip = CALLBACK_EVENT_MIP , kMipSolution = CALLBACK_EVENT_MIP_SOLUTION ,
  kMipNode = CALLBACK_EVENT_MIP_NODE , kBarrier = CALLBACK_EVENT_BARRIER
}
enum class  SolverType {
  kGscip = SOLVER_TYPE_GSCIP , kGurobi = SOLVER_TYPE_GUROBI , kGlop = SOLVER_TYPE_GLOP , kCpSat = SOLVER_TYPE_CP_SAT ,
  kPdlp = SOLVER_TYPE_PDLP , kGlpk = SOLVER_TYPE_GLPK , kEcos = SOLVER_TYPE_ECOS , kScs = SOLVER_TYPE_SCS ,
  kHighs = SOLVER_TYPE_HIGHS , kSantorini = SOLVER_TYPE_SANTORINI , kXpress = SOLVER_TYPE_XPRESS
}
enum class  LPAlgorithm { kPrimalSimplex = LP_ALGORITHM_PRIMAL_SIMPLEX , kDualSimplex = LP_ALGORITHM_DUAL_SIMPLEX , kBarrier = LP_ALGORITHM_BARRIER , kFirstOrder = LP_ALGORITHM_FIRST_ORDER }
enum class  Emphasis {
  kOff = EMPHASIS_OFF , kLow = EMPHASIS_LOW , kMedium = EMPHASIS_MEDIUM , kHigh = EMPHASIS_HIGH ,
  kVeryHigh = EMPHASIS_VERY_HIGH
}
enum class  RemoteStreamingSolveMode { kDefault , kSubprocess , kInProcess }
enum class  SolutionStatus { kUndetermined = SOLUTION_STATUS_UNDETERMINED , kFeasible = SOLUTION_STATUS_FEASIBLE , kInfeasible = SOLUTION_STATUS_INFEASIBLE }
enum class  FeasibilityStatus { kUndetermined = FEASIBILITY_STATUS_UNDETERMINED , kFeasible = FEASIBILITY_STATUS_FEASIBLE , kInfeasible = FEASIBILITY_STATUS_INFEASIBLE }
enum class  TerminationReason {
  kOptimal = TERMINATION_REASON_OPTIMAL , kInfeasible = TERMINATION_REASON_INFEASIBLE , kUnbounded = TERMINATION_REASON_UNBOUNDED , kInfeasibleOrUnbounded = TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED ,
  kImprecise = TERMINATION_REASON_IMPRECISE , kFeasible = TERMINATION_REASON_FEASIBLE , kNoSolutionFound = TERMINATION_REASON_NO_SOLUTION_FOUND , kNumericalError = TERMINATION_REASON_NUMERICAL_ERROR ,
  kOtherError = TERMINATION_REASON_OTHER_ERROR
}
enum class  Limit {
  kUndetermined = LIMIT_UNDETERMINED , kIteration = LIMIT_ITERATION , kTime = LIMIT_TIME , kNode = LIMIT_NODE ,
  kSolution = LIMIT_SOLUTION , kMemory = LIMIT_MEMORY , kCutoff = LIMIT_CUTOFF , kObjective = LIMIT_OBJECTIVE ,
  kNorm = LIMIT_NORM , kInterrupted = LIMIT_INTERRUPTED , kSlowProgress = LIMIT_SLOW_PROGRESS , kOther = LIMIT_OTHER
}
enum class  ElementType {
  kVariable , kLinearConstraint , kAuxiliaryObjective , kQuadraticConstraint ,
  kIndicatorConstraint
}
enum class  QpSupportType { kNoQpSupport , kDiagonalQpOnly , kConvexQp }
enum  GlpkRayType { kPrimal , kDual }
enum class  ModelStorageElementEquality { kWithEquality , kWithoutEquality }
enum  CallbackEventProto : int {
  CALLBACK_EVENT_UNSPECIFIED = 0 , CALLBACK_EVENT_PRESOLVE = 1 , CALLBACK_EVENT_SIMPLEX = 2 , CALLBACK_EVENT_MIP = 3 ,
  CALLBACK_EVENT_MIP_SOLUTION = 4 , CALLBACK_EVENT_MIP_NODE = 5 , CALLBACK_EVENT_BARRIER = 6 , CallbackEventProto_INT_MIN_SENTINEL_DO_NOT_USE_ ,
  CallbackEventProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  TestEnumProto : int {
  TEST_ENUM_UNSPECIFIED = 0 , TEST_ENUM_FIRST_VALUE = 1 , TEST_ENUM_SECOND_VALUE = 3 , TestEnumProto_INT_MIN_SENTINEL_DO_NOT_USE_ ,
  TestEnumProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  SolverTypeProto : int {
  SOLVER_TYPE_UNSPECIFIED = 0 , SOLVER_TYPE_GSCIP = 1 , SOLVER_TYPE_GUROBI = 2 , SOLVER_TYPE_GLOP = 3 ,
  SOLVER_TYPE_CP_SAT = 4 , SOLVER_TYPE_PDLP = 5 , SOLVER_TYPE_GLPK = 6 , SOLVER_TYPE_OSQP = 7 ,
  SOLVER_TYPE_ECOS = 8 , SOLVER_TYPE_SCS = 9 , SOLVER_TYPE_HIGHS = 10 , SOLVER_TYPE_SANTORINI = 11 ,
  SOLVER_TYPE_XPRESS = 13 , SolverTypeProto_INT_MIN_SENTINEL_DO_NOT_USE_ , SolverTypeProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  LPAlgorithmProto : int {
  LP_ALGORITHM_UNSPECIFIED = 0 , LP_ALGORITHM_PRIMAL_SIMPLEX = 1 , LP_ALGORITHM_DUAL_SIMPLEX = 2 , LP_ALGORITHM_BARRIER = 3 ,
  LP_ALGORITHM_FIRST_ORDER = 4 , LPAlgorithmProto_INT_MIN_SENTINEL_DO_NOT_USE_ , LPAlgorithmProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  EmphasisProto : int {
  EMPHASIS_UNSPECIFIED = 0 , EMPHASIS_OFF = 1 , EMPHASIS_LOW = 2 , EMPHASIS_MEDIUM = 3 ,
  EMPHASIS_HIGH = 4 , EMPHASIS_VERY_HIGH = 5 , EmphasisProto_INT_MIN_SENTINEL_DO_NOT_USE_ , EmphasisProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  FeasibilityStatusProto : int {
  FEASIBILITY_STATUS_UNSPECIFIED = 0 , FEASIBILITY_STATUS_UNDETERMINED = 1 , FEASIBILITY_STATUS_FEASIBLE = 2 , FEASIBILITY_STATUS_INFEASIBLE = 3 ,
  FeasibilityStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_ , FeasibilityStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  TerminationReasonProto : int {
  TERMINATION_REASON_UNSPECIFIED = 0 , TERMINATION_REASON_OPTIMAL = 1 , TERMINATION_REASON_INFEASIBLE = 2 , TERMINATION_REASON_UNBOUNDED = 3 ,
  TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED = 4 , TERMINATION_REASON_IMPRECISE = 5 , TERMINATION_REASON_FEASIBLE = 9 , TERMINATION_REASON_NO_SOLUTION_FOUND = 6 ,
  TERMINATION_REASON_NUMERICAL_ERROR = 7 , TERMINATION_REASON_OTHER_ERROR = 8 , TerminationReasonProto_INT_MIN_SENTINEL_DO_NOT_USE_ , TerminationReasonProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  LimitProto : int {
  LIMIT_UNSPECIFIED = 0 , LIMIT_UNDETERMINED = 1 , LIMIT_ITERATION = 2 , LIMIT_TIME = 3 ,
  LIMIT_NODE = 4 , LIMIT_SOLUTION = 5 , LIMIT_MEMORY = 6 , LIMIT_CUTOFF = 12 ,
  LIMIT_OBJECTIVE = 7 , LIMIT_NORM = 8 , LIMIT_INTERRUPTED = 9 , LIMIT_SLOW_PROGRESS = 10 ,
  LIMIT_OTHER = 11 , LimitProto_INT_MIN_SENTINEL_DO_NOT_USE_ , LimitProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  SolutionStatusProto : int {
  SOLUTION_STATUS_UNSPECIFIED = 0 , SOLUTION_STATUS_UNDETERMINED = 1 , SOLUTION_STATUS_FEASIBLE = 2 , SOLUTION_STATUS_INFEASIBLE = 3 ,
  SolutionStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_ , SolutionStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_
}
enum  BasisStatusProto : int {
  BASIS_STATUS_UNSPECIFIED = 0 , BASIS_STATUS_FREE = 1 , BASIS_STATUS_AT_LOWER_BOUND = 2 , BASIS_STATUS_AT_UPPER_BOUND = 3 ,
  BASIS_STATUS_FIXED_VALUE = 4 , BASIS_STATUS_BASIC = 5 , BasisStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_ , BasisStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_
}

Functions

absl::StatusOr< GRBenv * > NewPrimaryEnvFromISVKey (const GurobiIsvKey &isv_key)
absl::Status ValidateConstraint (const IndicatorConstraintProto &constraint, const IdNameBiMap &variable_universe)
absl::Status ValidateConstraint (const QuadraticConstraintProto &constraint, const IdNameBiMap &variable_universe)
std::ostream & operator<< (std::ostream &ostr, const SecondOrderConeConstraint &constraint)
bool operator== (const SecondOrderConeConstraint &lhs, const SecondOrderConeConstraint &rhs)
bool operator!= (const SecondOrderConeConstraint &lhs, const SecondOrderConeConstraint &rhs)
template<typename H>
AbslHashValue (H h, const SecondOrderConeConstraint &constraint)
absl::Status ValidateConstraint (const SecondOrderConeConstraintProto &constraint, const IdNameBiMap &variable_universe)
std::ostream & operator<< (std::ostream &ostr, const Sos1Constraint &constraint)
bool operator== (const Sos1Constraint &lhs, const Sos1Constraint &rhs)
bool operator!= (const Sos1Constraint &lhs, const Sos1Constraint &rhs)
template<typename H>
AbslHashValue (H h, const Sos1Constraint &constraint)
std::ostream & operator<< (std::ostream &ostr, const Sos2Constraint &constraint)
bool operator== (const Sos2Constraint &lhs, const Sos2Constraint &rhs)
bool operator!= (const Sos2Constraint &lhs, const Sos2Constraint &rhs)
template<typename H>
AbslHashValue (H h, const Sos2Constraint &constraint)
absl::Status ValidateConstraint (const SosConstraintProto &constraint, const IdNameBiMap &variable_universe)
LinearExpression ToLinearExpression (const ModelStorage &storage, const LinearExpressionData &expr_data)
LinearExpressionData FromLinearExpression (const LinearExpression &expression)
template<typename IdType>
std::vector< VariableAtomicConstraintNonzeroVariables (const ModelStorage &storage, const IdType id)
template<typename ConstraintType>
std::vector< ConstraintType > AtomicConstraints (const ModelStorage &storage)
template<typename ConstraintType>
std::vector< ConstraintType > SortedAtomicConstraints (const ModelStorage &storage)
std::ostream & operator<< (std::ostream &out, const BaseSolver::SolveArgs &args)
std::ostream & operator<< (std::ostream &out, const BaseSolver::ComputeInfeasibleSubsystemArgs &args)
SolveResultProto ResultForIntegerInfeasible (const bool is_maximize, const int64_t bad_variable_id, const double lb, const double ub)
ObjectiveBoundsProto GetObjectiveBounds (const SolveResultProto &solve_result)
ProblemStatusProto GetProblemStatus (const SolveResultProto &solve_result)
void RemoveSparseDoubleVectorZeros (SparseDoubleVectorProto &sparse_vector)
SparseDoubleVectorProto FilterSparseVector (const SparseDoubleVectorProto &input, const SparseVectorFilterProto &filter)
void ApplyAllFilters (const ModelSolveParametersProto &model_solve_params, SolutionProto &solution)
absl::flat_hash_set< CallbackEventProtoEventSet (const CallbackRegistrationProto &callback_registration)
TerminationProto TerminateForLimit (const LimitProto limit, const bool feasible, const absl::string_view detail)
TerminationProto FeasibleTermination (const LimitProto limit, const absl::string_view detail)
TerminationProto NoSolutionFoundTermination (const LimitProto limit, const absl::string_view detail)
TerminationProto TerminateForReason (const TerminationReasonProto reason, const absl::string_view detail)
ObjectiveBoundsProto MakeTrivialBounds (const bool is_maximize)
TerminationProto TerminateForReason (const bool is_maximize, const TerminationReasonProto reason, const absl::string_view detail)
TerminationProto OptimalTerminationProto (const double finite_primal_objective, const double dual_objective, const absl::string_view detail)
TerminationProto UnboundedTerminationProto (const bool is_maximize, const absl::string_view detail)
TerminationProto InfeasibleTerminationProto (bool is_maximize, const FeasibilityStatusProto dual_feasibility_status, const absl::string_view detail)
TerminationProto LimitTerminationProto (const bool is_maximize, const LimitProto limit, const std::optional< double > optional_finite_primal_objective, const std::optional< double > optional_dual_objective, const absl::string_view detail)
TerminationProto LimitTerminationProto (LimitProto limit, const double primal_objective, const double dual_objective, const bool claim_dual_feasible_solution_exists, const absl::string_view detail)
TerminationProto CutoffTerminationProto (bool is_maximize, const absl::string_view detail)
TerminationProto NoSolutionFoundTerminationProto (const bool is_maximize, const LimitProto limit, const std::optional< double > optional_dual_objective, const absl::string_view detail)
TerminationProto FeasibleTerminationProto (const bool is_maximize, const LimitProto limit, const double primal_objective, const std::optional< double > optional_dual_objective, const absl::string_view detail)
TerminationProto InfeasibleOrUnboundedTerminationProto (bool is_maximize, const FeasibilityStatusProto dual_feasibility_status, const absl::string_view detail)
absl::Status ModelIsSupported (const ModelProto &model, const SupportedProblemStructures &support_menu, const absl::string_view solver_name)
bool UpdateIsSupported (const ModelUpdateProto &update, const SupportedProblemStructures &support_menu)
absl::Status ModelSolveParametersAreSupported (const ModelSolveParametersProto &model_parameters, const SupportedProblemStructures &support_menu, const absl::string_view solver_name)
void UpgradeSolveResultProtoForStatsMigration (SolveResultProto &solve_result_proto)
int NumVariables (const VariablesProto &variables)
int NumConstraints (const LinearConstraintsProto &linear_constraints)
int NumMatrixNonzeros (const SparseDoubleMatrixProto &matrix)
std::optional< int64_t > FirstVariableId (const VariablesProto &variables)
std::optional< int64_t > FirstLinearConstraintId (const LinearConstraintsProto &linear_constraints)
 ABSL_DEPRECATED ("Use TerminateForReason(bool, TerminationReasonProto, absl::string_view) " "instead") TerminationProto TerminateForReason(TerminationReasonProto reason
template<typename T>
std::vector< T > SortedSetElements (const absl::flat_hash_set< T > &elements)
template<typename K, typename V>
std::vector< K > MapKeys (const absl::flat_hash_map< K, V > &in_map)
template<typename K, typename V>
std::vector< K > MapKeys (const google::protobuf::Map< K, V > &in_map)
template<typename K, typename V>
std::vector< K > SortedMapKeys (const absl::flat_hash_map< K, V > &in_map)
template<typename K, typename V>
std::vector< K > SortedMapKeys (const google::protobuf::Map< K, V > &in_map)
SparseDoubleVectorProto MakeSparseDoubleVector (std::initializer_list< std::pair< int64_t, double > > pairs)
SparseBoolVectorProto MakeSparseBoolVector (std::initializer_list< std::pair< int64_t, bool > > pairs)
SparseDoubleMatrixProto MakeSparseDoubleMatrix (std::initializer_list< std::tuple< int64_t, int64_t, double > > values)
 MATCHER_P (SparseVectorMatcher, pairs, "")
 MATCHER_P (SparseDoubleMatrixMatcher, coefficients, "")
SparseSubmatrixRowsView SparseSubmatrixByRows (const SparseDoubleMatrixProto &matrix, const int64_t start_row_id, const std::optional< int64_t > end_row_id, const int64_t start_col_id, const std::optional< int64_t > end_col_id)
std::vector< std::pair< int64_t, SparseVector< double > > > TransposeSparseSubmatrix (const SparseSubmatrixRowsView &submatrix_by_rows)
template<typename Collection, typename T = typename Collection::value_type>
SparseVectorView< T > MakeView (absl::Span< const int64_t > ids, const Collection &values)
template<typename T>
SparseVectorView< const T * > MakeView (const google::protobuf::RepeatedField< int64_t > &ids, const google::protobuf::RepeatedPtrField< T > &values)
template<typename SparseVectorProto, typename T = sparse_value_type<SparseVectorProto>>
SparseVectorView< T > MakeView (const SparseVectorProto &sparse_vector)
template<typename T>
SparseVectorView< T > MakeView (const SparseVector< T > &sparse_vector)
 MATH_OPT_DEFINE_ENUM (BasisStatus, BASIS_STATUS_UNSPECIFIED)
 MATH_OPT_DEFINE_ENUM (CallbackEvent, CALLBACK_EVENT_UNSPECIFIED)
std::ostream & operator<< (std::ostream &out, const ModelSubset::Bounds &bounds)
std::ostream & operator<< (std::ostream &out, const ModelSubset &model_subset)
std::ostream & operator<< (std::ostream &out, const ComputeInfeasibleSubsystemResult &result)
template<typename E>
Enum< E >::Proto EnumToProto (std::optional< E > value)
template<typename E>
Enum< E >::Proto EnumToProto (E value)
template<typename P>
std::optional< typename EnumProto< P >::Cpp > EnumFromProto (P proto_value)
template<typename E>
absl::string_view EnumToString (E value)
template<typename E>
std::optional< absl::string_view > EnumToOptString (E value)
template<typename E>
std::optional< E > EnumFromString (absl::string_view str)
template<typename E>
std::enable_if_t< Enum< E >::kIsImplemented, std::ostream & > operator<< (std::ostream &out, const E value)
template<typename E, typename = std::enable_if_t<Enum<E>::kIsImplemented>>
std::ostream & operator<< (std::ostream &out, const std::optional< E > opt_value)
 TYPED_TEST_SUITE_P (EnumTest)
 TYPED_TEST_P (EnumTest, UnderlyingTypeFits)
 TYPED_TEST_P (EnumTest, AllProtoValues)
 TYPED_TEST_P (EnumTest, AllCppValuesString)
 REGISTER_TYPED_TEST_SUITE_P (EnumTest, UnderlyingTypeFits, AllProtoValues, AllCppValuesString)
std::ostream & operator<< (std::ostream &out, const LeadingCoefficientFormatter formatter)
std::ostream & operator<< (std::ostream &out, const ConstantFormatter formatter)
template<typename Map, typename = std::enable_if_t<is_key_type_v<typename Map::key_type>>>
std::vector< typename Map::key_type > SortedKeys (const Map &map)
template<typename Set, typename = std::enable_if_t<is_key_type_v<typename Set::key_type>>>
std::vector< typename Set::key_type > SortedElements (const Set &set)
template<typename Map, typename Keys, typename = std::enable_if_t<is_key_type_v<typename Map::key_type>>>
std::vector< typename Map::mapped_type > Values (const Map &map, const Keys &keys)
absl::StatusOr< MapFilter< Variable > > VariableFilterFromProto (const Model &model, const SparseVectorFilterProto &proto)
absl::StatusOr< MapFilter< LinearConstraint > > LinearConstraintFilterFromProto (const Model &model, const SparseVectorFilterProto &proto)
absl::StatusOr< MapFilter< QuadraticConstraint > > QuadraticConstraintFilterFromProto (const Model &model, const SparseVectorFilterProto &proto)
template<typename KeyType>
MapFilter< KeyType > MakeSkipAllFilter ()
template<typename KeyType>
MapFilter< KeyType > MakeSkipZerosFilter ()
template<typename Collection, typename ValueType = typename Collection::value_type>
MapFilter< ValueType > MakeKeepKeysFilter (const Collection &keys)
template<typename KeyType>
MapFilter< KeyType > MakeKeepKeysFilter (std::initializer_list< KeyType > keys)
void PrintTo (const PrimalSolution &primal_solution, std::ostream *const os)
void PrintTo (const DualSolution &dual_solution, std::ostream *const os)
void PrintTo (const PrimalRay &primal_ray, std::ostream *const os)
void PrintTo (const DualRay &dual_ray, std::ostream *const os)
void PrintTo (const Basis &basis, std::ostream *const os)
void PrintTo (const Solution &solution, std::ostream *const os)
void PrintTo (const SolveResult &result, std::ostream *const os)
Matcher< VariableMap< double > > IsNearlySupersetOf (VariableMap< double > expected, double tolerance)
Matcher< VariableMap< double > > IsNear (VariableMap< double > expected, const double tolerance)
Matcher< LinearConstraintMap< double > > IsNearlySupersetOf (LinearConstraintMap< double > expected, double tolerance)
Matcher< LinearConstraintMap< double > > IsNear (LinearConstraintMap< double > expected, const double tolerance)
Matcher< absl::flat_hash_map< QuadraticConstraint, double > > IsNear (absl::flat_hash_map< QuadraticConstraint, double > expected, const double tolerance)
Matcher< absl::flat_hash_map< QuadraticConstraint, double > > IsNearlySupersetOf (absl::flat_hash_map< QuadraticConstraint, double > expected, double tolerance)
template<typename K>
Matcher< absl::flat_hash_map< K, double > > IsNear (absl::flat_hash_map< K, double > expected, const double tolerance)
template<typename K>
Matcher< absl::flat_hash_map< K, double > > IsNearlySupersetOf (absl::flat_hash_map< K, double > expected, const double tolerance)
testing::Matcher< LinearExpressionIsIdentical (LinearExpression expected)
testing::Matcher< LinearExpressionLinearExpressionIsNear (const LinearExpression expected, const double tolerance)
testing::Matcher< BoundedLinearExpressionIsNearlyEquivalent (const BoundedLinearExpression &expected, const double tolerance)
testing::Matcher< QuadraticExpressionIsIdentical (QuadraticExpression expected)
Matcher< SolutionStatusSolutionStatusIs (const SolutionStatus expected, const bool allow_undetermined)
Matcher< PrimalSolutionIsNear (PrimalSolution expected, const double tolerance, const bool allow_undetermined)
Matcher< DualSolutionIsNear (DualSolution expected, const double tolerance, const bool allow_undetermined)
Matcher< BasisBasisIs (const Basis &expected)
Matcher< SolutionIsNear (Solution expected, const SolutionMatcherOptions options)
Matcher< PrimalRayIsNear (PrimalRay expected, const double tolerance)
Matcher< PrimalRayPrimalRayIsNear (VariableMap< double > expected_var_values, const double tolerance)
Matcher< DualRayIsNear (DualRay expected, const double tolerance)
Matcher< ObjectiveBoundsObjectiveBoundsNear (const ObjectiveBounds &expected, const double tolerance)
Matcher< SolveResultTerminatesWithOneOf (const std::vector< TerminationReason > &allowed)
Matcher< SolveResultTerminatesWith (const TerminationReason expected)
testing::Matcher< SolveResultTerminatesWithLimit (const Limit expected, const bool allow_limit_undetermined)
testing::Matcher< SolveResultTerminatesWithReasonFeasible (const Limit expected, const bool allow_limit_undetermined)
testing::Matcher< SolveResultTerminatesWithReasonNoSolutionFound (const Limit expected, const bool allow_limit_undetermined)
template<typename MatcherType>
std::string MatcherToStringImpl (const MatcherType &matcher, const bool negate)
template<typename T>
std::string MatcherToString (const Matcher< T > &matcher, bool negate)
template<typename T>
std::string MatcherToString (const ::testing::PolymorphicMatcher< T > &matcher, bool negate)
 MATCHER_P (FirstElementIs, first_element_matcher,(negation ? absl::StrCat("is empty or first element ", MatcherToString(first_element_matcher, true)) :absl::StrCat("has at least one element and first element ", MatcherToString(first_element_matcher, false))))
Matcher< TerminationLimitIs (math_opt::Limit limit, const Matcher< std::string > detail_matcher)
Matcher< TerminationReasonIs (TerminationReason reason)
Matcher< TerminationReasonIsOptimal ()
Matcher< ProblemStatusProblemStatusIs (const ProblemStatus &expected)
Matcher< TerminationTerminationIsOptimal ()
Matcher< TerminationTerminationIsOptimal (const double primal_objective_value, const std::optional< double > dual_objective_value, const double tolerance)
Matcher< TerminationTerminationIsIgnoreDetail (const Termination &expected)
Matcher< SolveResultIsOptimal (const std::optional< double > expected_primal_objective, const double tolerance)
Matcher< SolveResultIsOptimalWithSolution (const double expected_objective, const VariableMap< double > expected_variable_values, const double tolerance)
Matcher< SolveResultIsOptimalWithDualSolution (const double expected_objective, const LinearConstraintMap< double > expected_dual_values, const VariableMap< double > expected_reduced_costs, const double tolerance)
Matcher< SolveResultIsOptimalWithDualSolution (const double expected_objective, const LinearConstraintMap< double > expected_dual_values, const absl::flat_hash_map< QuadraticConstraint, double > expected_quadratic_dual_values, const VariableMap< double > expected_reduced_costs, const double tolerance)
Matcher< SolveResultHasSolution (PrimalSolution expected, const double tolerance)
Matcher< SolveResultHasDualSolution (DualSolution expected, const double tolerance)
Matcher< SolveResultHasPrimalRay (PrimalRay expected, const double tolerance)
Matcher< SolveResultHasPrimalRay (VariableMap< double > expected_vars, const double tolerance)
Matcher< SolveResultHasDualRay (DualRay expected, const double tolerance)
Matcher< SolveResultIsConsistentWith (const SolveResult &expected, const SolveResultMatcherOptions &options)
testing::Matcher< ComputeInfeasibleSubsystemResultIsFeasible ()
testing::Matcher< ComputeInfeasibleSubsystemResultIsUndetermined ()
testing::Matcher< ComputeInfeasibleSubsystemResultIsInfeasible (const std::optional< bool > expected_is_minimal, const std::optional< ModelSubset > expected_infeasible_subsystem)
Matcher< UpdateResultDidUpdate ()
testing::Matcher< TerminationLimitIs (Limit limit, testing::Matcher< std::string > detail_matcher=testing::_)
template<typename K, typename V, typename = std::enable_if_t<is_key_type_v<K>>>
void PrintTo (const absl::flat_hash_map< K, V > &id_map, std::ostream *const os)
MessageCallback PrinterMessageCallback (std::ostream &output_stream, const absl::string_view prefix)
MessageCallback InfoLoggerMessageCallback (const absl::string_view prefix, const absl::SourceLocation loc)
MessageCallback VLoggerMessageCallback (int level, absl::string_view prefix, absl::SourceLocation loc)
MessageCallback VectorMessageCallback (std::vector< std::string > *sink)
MessageCallback RepeatedPtrFieldMessageCallback (google::protobuf::RepeatedPtrField< std::string > *sink)
std::ostream & operator<< (std::ostream &ostr, const Model &model)
std::ostream & operator<< (std::ostream &ostr, const Objective &objective)
bool operator== (const Objective &lhs, const Objective &rhs)
bool operator!= (const Objective &lhs, const Objective &rhs)
template<typename H>
AbslHashValue (H h, const Objective &objective)
bool AbslParseFlag (const absl::string_view text, SolverType *const value, std::string *const error)
std::string AbslUnparseFlag (const SolverType value)
bool AbslParseFlag (absl::string_view text, LPAlgorithm *const value, std::string *const error)
std::string AbslUnparseFlag (const LPAlgorithm value)
bool AbslParseFlag (absl::string_view text, Emphasis *const value, std::string *const error)
std::string AbslUnparseFlag (const Emphasis value)
bool AbslParseFlag (absl::string_view text, SolveParameters *solve_parameters, std::string *error)
std::string AbslUnparseFlag (SolveParameters solve_parameters)
 MATH_OPT_DEFINE_ENUM (SolverType, SOLVER_TYPE_UNSPECIFIED)
 MATH_OPT_DEFINE_ENUM (LPAlgorithm, LP_ALGORITHM_UNSPECIFIED)
 MATH_OPT_DEFINE_ENUM (Emphasis, EMPHASIS_UNSPECIFIED)
std::string AbslUnparseFlag (const RemoteStreamingSolveMode value)
bool AbslParseFlag (const absl::string_view text, RemoteStreamingSolveMode *const value, std::string *const error)
std::ostream & operator<< (std::ostream &out, const RemoteStreamingSolveMode mode)
template<typename Sink>
void AbslStringify (Sink &sink, const RemoteStreamingSolveMode mode)
 MATH_OPT_DEFINE_ENUM (SolutionStatus, SOLUTION_STATUS_UNSPECIFIED)
absl::StatusOr< SolveResultSolve (const Model &model, const SolverType solver_type, const SolveArguments &solve_args, const SolverInitArguments &init_args)
absl::StatusOr< ComputeInfeasibleSubsystemResultComputeInfeasibleSubsystem (const Model &model, const SolverType solver_type, const ComputeInfeasibleSubsystemArguments &compute_args, const SolverInitArguments &init_args)
absl::StatusOr< std::unique_ptr< IncrementalSolver > > NewIncrementalSolver (Model *model, SolverType solver_type, SolverInitArguments arguments)
std::ostream & operator<< (std::ostream &ostr, const ObjectiveBounds &objective_bounds)
std::ostream & operator<< (std::ostream &ostr, const Termination &termination)
std::ostream & operator<< (std::ostream &ostr, const ProblemStatus &problem_status)
std::ostream & operator<< (std::ostream &ostr, const SolveStats &solve_stats)
absl::Status CheckSolverSpecificOutputEmpty (const SolveResultProto &result)
std::ostream & operator<< (std::ostream &out, const SolveResult &result)
 MATH_OPT_DEFINE_ENUM (FeasibilityStatus, FEASIBILITY_STATUS_UNSPECIFIED)
 MATH_OPT_DEFINE_ENUM (TerminationReason, TERMINATION_REASON_UNSPECIFIED)
 MATH_OPT_DEFINE_ENUM (Limit, LIMIT_UNSPECIFIED)
template<typename Sink>
void AbslStringify (Sink &sink, const Termination &termination)
std::ostream & operator<< (std::ostream &out, const SolverResources &resources)
bool AbslParseFlag (const absl::string_view text, SolverResources *const solver_resources, std::string *const error)
std::string AbslUnparseFlag (const SolverResources &solver_resources)
absl::StatusOr< VariableMap< double > > VariableValuesFromProto (const ModelStorageCPtr model, const SparseDoubleVectorProto &vars_proto)
absl::StatusOr< VariableMap< int32_t > > VariableValuesFromProto (const ModelStorageCPtr model, const SparseInt32VectorProto &vars_proto)
SparseDoubleVectorProto VariableValuesToProto (const VariableMap< double > &variable_values)
absl::StatusOr< absl::flat_hash_map< Objective, double > > AuxiliaryObjectiveValuesFromProto (const ModelStorageCPtr model, const google::protobuf::Map< int64_t, double > &aux_obj_proto)
google::protobuf::Map< int64_t, double > AuxiliaryObjectiveValuesToProto (const absl::flat_hash_map< Objective, double > &aux_obj_values)
absl::StatusOr< LinearConstraintMap< double > > LinearConstraintValuesFromProto (const ModelStorageCPtr model, const SparseDoubleVectorProto &lin_cons_proto)
SparseDoubleVectorProto LinearConstraintValuesToProto (const LinearConstraintMap< double > &linear_constraint_values)
absl::StatusOr< absl::flat_hash_map< QuadraticConstraint, double > > QuadraticConstraintValuesFromProto (const ModelStorageCPtr model, const SparseDoubleVectorProto &quad_cons_proto)
SparseDoubleVectorProto QuadraticConstraintValuesToProto (const absl::flat_hash_map< QuadraticConstraint, double > &quadratic_constraint_values)
absl::StatusOr< VariableMap< BasisStatus > > VariableBasisFromProto (const ModelStorageCPtr model, const SparseBasisStatusVector &basis_proto)
SparseBasisStatusVector VariableBasisToProto (const VariableMap< BasisStatus > &basis_values)
absl::StatusOr< LinearConstraintMap< BasisStatus > > LinearConstraintBasisFromProto (const ModelStorageCPtr model, const SparseBasisStatusVector &basis_proto)
SparseBasisStatusVector LinearConstraintBasisToProto (const LinearConstraintMap< BasisStatus > &basis_values)
std::ostream & operator<< (std::ostream &out, const ModelRanges &ranges)
ModelRanges ComputeModelRanges (const Model &model)
std::ostream & operator<< (std::ostream &ostr, const LinearExpression &expression)
std::ostream & operator<< (std::ostream &ostr, const BoundedLinearExpression &bounded_expression)
std::ostream & operator<< (std::ostream &ostr, const QuadraticExpression &expr)
std::ostream & operator<< (std::ostream &ostr, const BoundedQuadraticExpression &bounded_expression)
internal::VariablesEquality operator== (const Variable &lhs, const Variable &rhs)
bool operator!= (const Variable &lhs, const Variable &rhs)
LinearTerm operator* (double coefficient, LinearTerm term)
LinearTerm operator* (LinearTerm term, double coefficient)
LinearTerm operator* (double coefficient, Variable variable)
LinearTerm operator* (Variable variable, double coefficient)
LinearTerm operator/ (LinearTerm term, double coefficient)
LinearTerm operator/ (Variable variable, double coefficient)
template<typename Iterable>
LinearExpression Sum (const Iterable &items)
RightIterable LinearExpression InnerProduct (const LeftIterable &left, const RightIterable &right)
LinearExpression operator- (LinearExpression expr)
LinearExpression operator+ (Variable lhs, double rhs)
LinearExpression operator+ (double lhs, Variable rhs)
LinearExpression operator+ (Variable lhs, Variable rhs)
LinearExpression operator+ (const LinearTerm &lhs, double rhs)
LinearExpression operator+ (double lhs, const LinearTerm &rhs)
LinearExpression operator+ (const LinearTerm &lhs, Variable rhs)
LinearExpression operator+ (Variable lhs, const LinearTerm &rhs)
LinearExpression operator+ (const LinearTerm &lhs, const LinearTerm &rhs)
LinearExpression operator+ (LinearExpression lhs, double rhs)
LinearExpression operator+ (double lhs, LinearExpression rhs)
LinearExpression operator+ (LinearExpression lhs, Variable rhs)
LinearExpression operator+ (Variable lhs, LinearExpression rhs)
LinearExpression operator+ (LinearExpression lhs, const LinearTerm &rhs)
LinearExpression operator+ (LinearTerm lhs, LinearExpression rhs)
LinearExpression operator+ (LinearExpression lhs, const LinearExpression &rhs)
LinearExpression operator- (Variable lhs, double rhs)
LinearExpression operator- (double lhs, Variable rhs)
LinearExpression operator- (Variable lhs, Variable rhs)
LinearExpression operator- (const LinearTerm &lhs, double rhs)
LinearExpression operator- (double lhs, const LinearTerm &rhs)
LinearExpression operator- (const LinearTerm &lhs, Variable rhs)
LinearExpression operator- (Variable lhs, const LinearTerm &rhs)
LinearExpression operator- (const LinearTerm &lhs, const LinearTerm &rhs)
LinearExpression operator- (LinearExpression lhs, double rhs)
LinearExpression operator- (double lhs, LinearExpression rhs)
LinearExpression operator- (LinearExpression lhs, Variable rhs)
LinearExpression operator- (Variable lhs, LinearExpression rhs)
LinearExpression operator- (LinearExpression lhs, const LinearTerm &rhs)
LinearExpression operator- (LinearTerm lhs, LinearExpression rhs)
LinearExpression operator- (LinearExpression lhs, const LinearExpression &rhs)
LinearExpression operator* (LinearExpression lhs, double rhs)
LinearExpression operator* (double lhs, LinearExpression rhs)
LinearExpression operator/ (LinearExpression lhs, double rhs)
LowerBoundedLinearExpression operator>= (LinearExpression expression, double constant)
LowerBoundedLinearExpression operator<= (double constant, LinearExpression expression)
LowerBoundedLinearExpression operator>= (const LinearTerm &term, double constant)
LowerBoundedLinearExpression operator<= (double constant, const LinearTerm &term)
LowerBoundedLinearExpression operator>= (Variable variable, double constant)
LowerBoundedLinearExpression operator<= (double constant, Variable variable)
UpperBoundedLinearExpression operator<= (LinearExpression expression, double constant)
UpperBoundedLinearExpression operator>= (double constant, LinearExpression expression)
UpperBoundedLinearExpression operator<= (const LinearTerm &term, double constant)
UpperBoundedLinearExpression operator>= (double constant, const LinearTerm &term)
UpperBoundedLinearExpression operator<= (Variable variable, double constant)
UpperBoundedLinearExpression operator>= (double constant, Variable variable)
BoundedLinearExpression operator<= (LowerBoundedLinearExpression lhs, double rhs)
BoundedLinearExpression operator>= (double lhs, LowerBoundedLinearExpression rhs)
BoundedLinearExpression operator>= (UpperBoundedLinearExpression lhs, double rhs)
BoundedLinearExpression operator<= (double lhs, UpperBoundedLinearExpression rhs)
BoundedLinearExpression operator<= (LinearExpression lhs, const LinearExpression &rhs)
BoundedLinearExpression operator>= (LinearExpression lhs, const LinearExpression &rhs)
BoundedLinearExpression operator<= (LinearExpression lhs, const LinearTerm &rhs)
BoundedLinearExpression operator>= (LinearExpression lhs, const LinearTerm &rhs)
BoundedLinearExpression operator<= (const LinearTerm &lhs, LinearExpression rhs)
BoundedLinearExpression operator>= (const LinearTerm &lhs, LinearExpression rhs)
BoundedLinearExpression operator<= (LinearExpression lhs, Variable rhs)
BoundedLinearExpression operator>= (LinearExpression lhs, Variable rhs)
BoundedLinearExpression operator<= (Variable lhs, LinearExpression rhs)
BoundedLinearExpression operator>= (Variable lhs, LinearExpression rhs)
BoundedLinearExpression operator<= (const LinearTerm &lhs, const LinearTerm &rhs)
BoundedLinearExpression operator>= (const LinearTerm &lhs, const LinearTerm &rhs)
BoundedLinearExpression operator<= (const LinearTerm &lhs, Variable rhs)
BoundedLinearExpression operator>= (const LinearTerm &lhs, Variable rhs)
BoundedLinearExpression operator<= (Variable lhs, const LinearTerm &rhs)
BoundedLinearExpression operator>= (Variable lhs, const LinearTerm &rhs)
BoundedLinearExpression operator<= (Variable lhs, Variable rhs)
BoundedLinearExpression operator>= (Variable lhs, Variable rhs)
BoundedLinearExpression operator== (LinearExpression lhs, const LinearExpression &rhs)
BoundedLinearExpression operator== (LinearExpression lhs, const LinearTerm &rhs)
BoundedLinearExpression operator== (const LinearTerm &lhs, LinearExpression rhs)
BoundedLinearExpression operator== (LinearExpression lhs, Variable rhs)
BoundedLinearExpression operator== (Variable lhs, LinearExpression rhs)
BoundedLinearExpression operator== (LinearExpression lhs, double rhs)
BoundedLinearExpression operator== (double lhs, LinearExpression rhs)
BoundedLinearExpression operator== (const LinearTerm &lhs, const LinearTerm &rhs)
BoundedLinearExpression operator== (const LinearTerm &lhs, Variable rhs)
BoundedLinearExpression operator== (Variable lhs, const LinearTerm &rhs)
BoundedLinearExpression operator== (const LinearTerm &lhs, double rhs)
BoundedLinearExpression operator== (double lhs, const LinearTerm &rhs)
BoundedLinearExpression operator== (Variable lhs, double rhs)
BoundedLinearExpression operator== (double lhs, Variable rhs)
std::ostream & operator<< (std::ostream &ostr, const QuadraticTermKey &key)
bool operator== (QuadraticTermKey lhs, QuadraticTermKey rhs)
bool operator!= (QuadraticTermKey lhs, QuadraticTermKey rhs)
QuadraticTerm operator- (QuadraticTerm term)
QuadraticTerm operator* (double lhs, QuadraticTerm rhs)
QuadraticTerm operator* (Variable lhs, Variable rhs)
QuadraticTerm operator* (Variable lhs, LinearTerm rhs)
QuadraticTerm operator* (LinearTerm lhs, Variable rhs)
QuadraticTerm operator* (LinearTerm lhs, LinearTerm rhs)
QuadraticTerm operator* (QuadraticTerm lhs, double rhs)
QuadraticTerm operator/ (QuadraticTerm lhs, double rhs)
QuadraticExpression operator- (QuadraticExpression expr)
QuadraticExpression operator+ (double lhs, const QuadraticTerm &rhs)
QuadraticExpression operator+ (double lhs, QuadraticExpression rhs)
QuadraticExpression operator+ (Variable lhs, const QuadraticTerm &rhs)
QuadraticExpression operator+ (Variable lhs, QuadraticExpression rhs)
QuadraticExpression operator+ (const LinearTerm &lhs, const QuadraticTerm &rhs)
QuadraticExpression operator+ (const LinearTerm &lhs, QuadraticExpression rhs)
QuadraticExpression operator+ (LinearExpression lhs, const QuadraticTerm &rhs)
QuadraticExpression operator+ (const LinearExpression &lhs, QuadraticExpression rhs)
QuadraticExpression operator+ (const QuadraticTerm &lhs, double rhs)
QuadraticExpression operator+ (const QuadraticTerm &lhs, Variable rhs)
QuadraticExpression operator+ (const QuadraticTerm &lhs, const LinearTerm &rhs)
QuadraticExpression operator+ (const QuadraticTerm &lhs, LinearExpression rhs)
QuadraticExpression operator+ (const QuadraticTerm &lhs, const QuadraticTerm &rhs)
QuadraticExpression operator+ (const QuadraticTerm &lhs, QuadraticExpression rhs)
QuadraticExpression operator+ (QuadraticExpression lhs, double rhs)
QuadraticExpression operator+ (QuadraticExpression lhs, Variable rhs)
QuadraticExpression operator+ (QuadraticExpression lhs, const LinearTerm &rhs)
QuadraticExpression operator+ (QuadraticExpression lhs, const LinearExpression &rhs)
QuadraticExpression operator+ (QuadraticExpression lhs, const QuadraticTerm &rhs)
QuadraticExpression operator+ (QuadraticExpression lhs, const QuadraticExpression &rhs)
QuadraticExpression operator- (double lhs, const QuadraticTerm &rhs)
QuadraticExpression operator- (double lhs, QuadraticExpression rhs)
QuadraticExpression operator- (Variable lhs, const QuadraticTerm &rhs)
QuadraticExpression operator- (Variable lhs, QuadraticExpression rhs)
QuadraticExpression operator- (const LinearTerm &lhs, const QuadraticTerm &rhs)
QuadraticExpression operator- (const LinearTerm &lhs, QuadraticExpression rhs)
QuadraticExpression operator- (LinearExpression lhs, const QuadraticTerm &rhs)
QuadraticExpression operator- (const LinearExpression &lhs, QuadraticExpression rhs)
QuadraticExpression operator- (const QuadraticTerm &lhs, double rhs)
QuadraticExpression operator- (const QuadraticTerm &lhs, Variable rhs)
QuadraticExpression operator- (const QuadraticTerm &lhs, const LinearTerm &rhs)
QuadraticExpression operator- (const QuadraticTerm &lhs, LinearExpression rhs)
QuadraticExpression operator- (const QuadraticTerm &lhs, const QuadraticTerm &rhs)
QuadraticExpression operator- (const QuadraticTerm &lhs, QuadraticExpression rhs)
QuadraticExpression operator- (QuadraticExpression lhs, double rhs)
QuadraticExpression operator- (QuadraticExpression lhs, Variable rhs)
QuadraticExpression operator- (QuadraticExpression lhs, const LinearTerm &rhs)
QuadraticExpression operator- (QuadraticExpression lhs, const LinearExpression &rhs)
QuadraticExpression operator- (QuadraticExpression lhs, const QuadraticTerm &rhs)
QuadraticExpression operator- (QuadraticExpression lhs, const QuadraticExpression &rhs)
QuadraticExpression operator* (double lhs, QuadraticExpression rhs)
QuadraticExpression operator* (Variable lhs, const LinearExpression &rhs)
QuadraticExpression operator* (LinearTerm lhs, const LinearExpression &rhs)
QuadraticExpression operator* (const LinearExpression &lhs, Variable rhs)
QuadraticExpression operator* (const LinearExpression &lhs, LinearTerm rhs)
QuadraticExpression operator* (const LinearExpression &lhs, const LinearExpression &rhs)
QuadraticExpression operator* (QuadraticExpression lhs, double rhs)
QuadraticExpression operator/ (QuadraticExpression lhs, double rhs)
LowerBoundedQuadraticExpression operator>= (QuadraticExpression lhs, double rhs)
LowerBoundedQuadraticExpression operator>= (QuadraticTerm lhs, double rhs)
LowerBoundedQuadraticExpression operator<= (double lhs, QuadraticExpression rhs)
LowerBoundedQuadraticExpression operator<= (double lhs, QuadraticTerm rhs)
UpperBoundedQuadraticExpression operator>= (double lhs, QuadraticExpression rhs)
UpperBoundedQuadraticExpression operator>= (double lhs, QuadraticTerm rhs)
UpperBoundedQuadraticExpression operator<= (QuadraticExpression lhs, double rhs)
UpperBoundedQuadraticExpression operator<= (QuadraticTerm lhs, double rhs)
BoundedQuadraticExpression operator>= (UpperBoundedQuadraticExpression lhs, double rhs)
BoundedQuadraticExpression operator>= (double lhs, LowerBoundedQuadraticExpression rhs)
BoundedQuadraticExpression operator<= (LowerBoundedQuadraticExpression lhs, double rhs)
BoundedQuadraticExpression operator<= (double lhs, UpperBoundedQuadraticExpression rhs)
BoundedQuadraticExpression operator>= (QuadraticExpression lhs, const QuadraticExpression &rhs)
BoundedQuadraticExpression operator>= (QuadraticExpression lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator>= (QuadraticExpression lhs, const LinearExpression &rhs)
BoundedQuadraticExpression operator>= (QuadraticExpression lhs, LinearTerm rhs)
BoundedQuadraticExpression operator>= (QuadraticExpression lhs, Variable rhs)
BoundedQuadraticExpression operator<= (QuadraticExpression lhs, const QuadraticExpression &rhs)
BoundedQuadraticExpression operator<= (QuadraticExpression lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator<= (QuadraticExpression lhs, const LinearExpression &rhs)
BoundedQuadraticExpression operator<= (QuadraticExpression lhs, LinearTerm rhs)
BoundedQuadraticExpression operator<= (QuadraticExpression lhs, Variable rhs)
BoundedQuadraticExpression operator== (QuadraticExpression lhs, const QuadraticExpression &rhs)
BoundedQuadraticExpression operator== (QuadraticExpression lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (QuadraticExpression lhs, const LinearExpression &rhs)
BoundedQuadraticExpression operator== (QuadraticExpression lhs, LinearTerm rhs)
BoundedQuadraticExpression operator== (QuadraticExpression lhs, Variable rhs)
BoundedQuadraticExpression operator== (QuadraticExpression lhs, double rhs)
BoundedQuadraticExpression operator>= (QuadraticTerm lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator>= (QuadraticTerm lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator>= (QuadraticTerm lhs, LinearExpression rhs)
BoundedQuadraticExpression operator>= (QuadraticTerm lhs, LinearTerm rhs)
BoundedQuadraticExpression operator>= (QuadraticTerm lhs, Variable rhs)
BoundedQuadraticExpression operator<= (QuadraticTerm lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator<= (QuadraticTerm lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator<= (QuadraticTerm lhs, LinearExpression rhs)
BoundedQuadraticExpression operator<= (QuadraticTerm lhs, LinearTerm rhs)
BoundedQuadraticExpression operator<= (QuadraticTerm lhs, Variable rhs)
BoundedQuadraticExpression operator== (QuadraticTerm lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator== (QuadraticTerm lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (QuadraticTerm lhs, LinearExpression rhs)
BoundedQuadraticExpression operator== (QuadraticTerm lhs, LinearTerm rhs)
BoundedQuadraticExpression operator== (QuadraticTerm lhs, Variable rhs)
BoundedQuadraticExpression operator== (QuadraticTerm lhs, double rhs)
BoundedQuadraticExpression operator>= (const LinearExpression &lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator>= (LinearExpression lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator<= (const LinearExpression &lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator<= (LinearExpression lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (const LinearExpression &lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator== (LinearExpression lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator>= (LinearTerm lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator>= (LinearTerm lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator<= (LinearTerm lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator<= (LinearTerm lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (LinearTerm lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator== (LinearTerm lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator>= (Variable lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator>= (Variable lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator<= (Variable lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator<= (Variable lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (Variable lhs, QuadraticExpression rhs)
BoundedQuadraticExpression operator== (Variable lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (double lhs, QuadraticTerm rhs)
BoundedQuadraticExpression operator== (double lhs, QuadraticExpression rhs)
template<typename LeftIterable, typename RightIterable>
LinearExpression InnerProduct (const LeftIterable &left, const RightIterable &right)
template<typename H>
AbslHashValue (H h, const QuadraticTermKey &key)
template<int n, typename Fn>
constexpr decltype(auto) ApplyOnIndexRange (Fn &&fn)
template<int n, typename Fn>
constexpr decltype(auto) ForEachIndex (Fn &&fn)
template<typename Fn, typename Tuple>
constexpr decltype(auto) ForEach (Fn &&fn, Tuple &&tuple)
template<typename... Ints>
 AttrKey (Ints... dims) -> AttrKey< sizeof...(Ints), NoSymmetry >
template<int n, typename Symmetry>
std::ostream & operator<< (std::ostream &ostr, const AttrKey< n, Symmetry > &key)
template<typename AttrT>
static constexpr int GetIndexIfAttr ()
template<typename AttrT, typename = std::enable_if_t<(GetIndexIfAttr<AttrT>() >= 0)>>
absl::string_view ToString (const AttrT attr)
template<typename Sink, typename AttrT, typename = std::enable_if_t<(GetIndexIfAttr<AttrT>() >= 0)>>
void AbslStringify (Sink &sink, const AttrT attr_type)
template<typename AttrT>
std::enable_if_t<(GetIndexIfAttr< AttrT >() >=0), std::ostream & > operator<< (std::ostream &ostr, AttrT attr)
template<auto attr>
constexpr AttrTypeDescriptorT< decltype(attr)>::ValueType GetAttrDefaultValue ()
template<typename AttrType>
constexpr int GetAttrKeySize ()
template<auto attr>
constexpr int GetAttrKeySize ()
template<typename AttrType>
constexpr std::array< ElementType, GetAttrKeySize< AttrType >()> GetElementTypes (const AttrType attr)
template<auto attr>
constexpr std::array< ElementType, GetAttrKeySize< attr >()> GetElementTypes ()
template<typename AttrType, typename Fn, int n = 0>
decltype(auto) CallForAttr (AttrType attr, Fn &&fn)
template<typename ValueType>
std::string FormatAttrValue (const ValueType v)
template<>
std::string FormatAttrValue (const double v)
template<>
std::string FormatAttrValue (const bool v)
std::ostream & operator<< (std::ostream &ostr, const Elemental &elemental)
template<typename Sink>
void AbslStringify (Sink &sink, const Elemental &elemental)
template<typename T>
absl::flat_hash_set< T > IntersectSets (const absl::flat_hash_set< T > &first, const absl::flat_hash_set< T > &second)
testing::Matcher< const Elemental & > EquivToElemental (const Elemental &expected ABSL_ATTRIBUTE_LIFETIME_BOUND, const ElementalDifferenceOptions &options={})
absl::string_view ToString (const ElementType element_type)
std::ostream & operator<< (std::ostream &ostr, const ElementType element_type)
template<typename Sink>
void AbslStringify (Sink &sink, ElementType element_type)
template<auto tag>
std::string ToString (const TaggedId< tag > &id)
template<auto tag>
std::ostream & operator<< (std::ostream &ostr, const TaggedId< tag > &id)
template<typename Sink, auto tag>
void AbslStringify (Sink &sink, const TaggedId< tag > &id)
template<int n, typename Symmetry>
std::vector< AttrKey< n, Symmetry > > MakeRandomAttrKeys (const int num_keys, const int64_t id_bound)
absl::StatusOr< std::string > ModelProtoToLp (const ModelProto &model)
absl::StatusOr< ModelProtoModelProtoFromLp (const absl::string_view lp_data)
absl::StatusOr< std::string > ModelProtoToMps (const ModelProto &model)
absl::StatusOr< ModelProtoReadMpsFile (const absl::string_view filename)
absl::StatusOr< ModelProtoMpsToModelProto (absl::string_view mps_data)
void RemoveNames (ModelProto &model)
void RemoveNames (ModelUpdateProto &update)
absl::StatusOr<::operations_research::math_opt::ModelProtoMPModelProtoToMathOptModel (const ::operations_research::MPModelProto &model)
absl::StatusOr< std::optional< SolutionHintProto > > MPModelProtoSolutionHintToMathOptHint (const MPModelProto &model)
absl::StatusOr<::operations_research::MPModelProtoMathOptModelToMPModelProto (const ::operations_research::math_opt::ModelProto &model)
absl::StatusOr< ModelProtoMPModelProtoToMathOptModel (const MPModelProto &model)
absl::StatusOr< MPModelProtoMathOptModelToMPModelProto (const ModelProto &model)
void AddRobustConstraint (const Model &uncertainty_model, const Variable rhs, absl::Span< const std::pair< LinearExpression, Variable > > uncertain_coefficients, Model &main_model)
absl::Status FormulateIndicatorConstraintAsMip (Model &model, const IndicatorConstraint indicator_constraint)
double LowerBound (const LinearExpression &linear_expression)
double UpperBound (const LinearExpression &linear_expression)
absl::StatusOr< ModelSubsetCheckPrimalSolutionFeasibility (const Model &model, const VariableMap< double > &variable_values, const FeasibilityCheckerOptions &options)
absl::StatusOr< std::vector< std::string > > ViolatedConstraintsAsStrings (const Model &model, const ModelSubset &violated_constraints, const VariableMap< double > &variable_values)
absl::StatusOr< VariableMap< double > > MoveVariablesToTheirBestFeasibleValue (const Model &model, const VariableMap< double > &input_solution, absl::Span< const Variable > variables, const MoveVariablesToTheirBestFeasibleValueOptions &options)
double RoundedLowerBound (const Variable v, const double tolerance)
double RoundedUpperBound (const Variable v, const double tolerance)
bool ActivatePrimalRay (SolverType solver_type, SolveParameters &params)
bool ActivateDualRay (SolverType solver_type, SolveParameters &params)
std::ostream & operator<< (std::ostream &out, const MessageCallbackTestParams &params)
std::ostream & operator<< (std::ostream &out, const CallbackTestParams &params)
std::ostream & operator<< (std::ostream &out, const TimeLimitTestParameters &params)
std::ostream & operator<< (std::ostream &out, const GenericTestParameters &params)
std::ostream & operator<< (std::ostream &ostr, const InfeasibleSubsystemSupport &support_menu)
std::ostream & operator<< (std::ostream &ostr, const InfeasibleSubsystemTestParameters &params)
 TEST_P (InfeasibleSubsystemTest, CanComputeInfeasibleSubsystem)
 TEST_P (InfeasibleSubsystemTest, InvertedVariableBounds)
 TEST_P (InfeasibleSubsystemTest, IntegerVariableWithInfeasibleBounds)
≤ TEST_P (InfeasibleSubsystemTest, InconsistentLessThanLinearConstraint)
≤ TEST_P (InfeasibleSubsystemTest, InconsistentGreaterThanLinearConstraint)
 TEST_P (InfeasibleSubsystemTest, InconsistentEqualityLinearConstraint)
 TEST_P (InfeasibleSubsystemTest, InconsistentRangedLinearConstraint)
∞ ≤ x â‰¤ (variable bounds) TEST_P(InfeasibleSubsystemTest
 EXPECT_THAT (ComputeInfeasibleSubsystem(model, GetParam().solver_type), IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=false,.upper=true}}},.linear_constraints={ {c, ModelSubset::Bounds{.lower=true,.upper=false}}}})))
≤ TEST_P (InfeasibleSubsystemTest, InconsistentLessThanQuadraticConstraint)
≤ TEST_P (InfeasibleSubsystemTest, InconsistentGreaterThanQuadraticConstraint)
 TEST_P (InfeasibleSubsystemTest, InconsistentEqualityQuadraticConstraint)
 EXPECT_THAT (ComputeInfeasibleSubsystem(model, GetParam().solver_type), IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=true,.upper=true}}},.quadratic_constraints={ {c, ModelSubset::Bounds{.lower=true,.upper=false}}}})))
 EXPECT_THAT (ComputeInfeasibleSubsystem(model, GetParam().solver_type), IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=true,.upper=false}}},.second_order_cone_constraints={c}})))
 EXPECT_THAT (ComputeInfeasibleSubsystem(model, GetParam().solver_type), IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=false,.upper=true}}},.second_order_cone_constraints={c}})))
≤ y y TEST_P (InfeasibleSubsystemTest, InconsistentSos1Constraint)
 TEST_P (InfeasibleSubsystemTest, InconsistentSos1ConstraintWithExpressions)
≤ z z ≤TEST_P (InfeasibleSubsystemTest, InconsistentSos2Constraint)
 TEST_P (InfeasibleSubsystemTest, InconsistentSos2ConstraintWithExpressions)
 EXPECT_THAT (ComputeInfeasibleSubsystem(model, GetParam().solver_type), IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=true,.upper=false}}},.variable_integrality={x},.indicator_constraints={c}})))
 TEST_P (InfeasibleSubsystemTest, IndicatorConstraintOkInconsistentImpliedNullIndicator)
 TEST_P (InfeasibleSubsystemTest, NontrivialInfeasibleIpSolveWithoutLimitsFindsIIS)
 TEST_P (InfeasibleSubsystemTest, NontrivialInfeasibleIpSolveTimeLimitZeroIsUndetermined)
 TEST_P (InfeasibleSubsystemTest, NontrivialInfeasibleIpSolveInterruptedBeforeStartIsUndetermined)
 TEST_P (InfeasibleSubsystemTest, NontrivialInfeasibleIpSolveWithMessageCallbackIsInvoked)
std::ostream & operator<< (std::ostream &out, const InvalidInputTestParameters &params)
std::ostream & operator<< (std::ostream &out, const InvalidParameterTestParams &params)
std::ostream & operator<< (std::ostream &out, const SolutionHintTestParams &params)
std::ostream & operator<< (std::ostream &out, const BranchPrioritiesTestParams &params)
std::ostream & operator<< (std::ostream &out, const LazyConstraintsTestParams &params)
std::ostream & operator<< (std::ostream &out, const IpMultipleSolutionsTestParams &params)
std::ostream & operator<< (std::ostream &ostr, const SolveResultSupport &solve_result_support)
std::ostream & operator<< (std::ostream &ostr, const ParameterSupport &param_support)
std::ostream & operator<< (std::ostream &ostr, const IpParameterTestParameters &params)
std::ostream & operator<< (std::ostream &out, const LargeInstanceTestParams &params)
std::ostream & operator<< (std::ostream &out, const LogicalConstraintTestParameters &params)
std::ostream & operator<< (std::ostream &out, const LpIncompleteSolveTestParams &params)
std::ostream & operator<< (std::ostream &out, const LpModelSolveParametersTestParameters &params)
std::ostream & operator<< (std::ostream &out, const LpParameterTestParams &params)
std::ostream & operator<< (std::ostream &out, const SimpleLpTestParameters &params)
std::ostream & operator<< (std::ostream &out, const SimpleMipTestParameters &params)
<=x<=1 IncrementalMipTest::IncrementalMipTest() :model_("incremental_solve_test"), x_(model_.AddContinuousVariable(0.0, 1.0, "x")), y_(model_.AddIntegerVariable(0.0, 2.0, "y")), c_(model_.AddLinearConstraint(0<=x_+y_<=1.5, "c")) { model_.Maximize(3.0 *x_+2.0 *y_+0.1);solver_=NewIncrementalSolver(&model_, TestedSolver()).value();const SolveResult first_solve=solver_->Solve().value();CHECK(first_solve.has_primal_feasible_solution());CHECK_LE(std::abs(first_solve.objective_value() - 3.6), kTolerance)<< first_solve.objective_value();} namespace { TEST_P(SimpleMipTest, OneVarMax) { Model model;const Variable x=model.AddVariable(0.0, 4.0, false, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, OneVarMin) { Model model;const Variable x=model.AddVariable(-2.4, 4.0, false, "x");model.Minimize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(-4.8));EXPECT_THAT(result.variable_values(), IsNear({{x, -2.4}}));} TEST_P(SimpleMipTest, OneIntegerVar) { Model model;const Variable x=model.AddVariable(0.0, 4.5, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, SimpleLinearConstraint) { Model model;const Variable x=model.AddBinaryVariable("x");const Variable y=model.AddBinaryVariable("y");model.Maximize(2.0 *x+y);model.AddLinearConstraint(0.0<=x+y<=1.5, "c");ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(2.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 1}, {y, 0}}));} TEST_P(SimpleMipTest, Unbounded) { Model model;const Variable x=model.AddVariable(0.0, kInf, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));if(GetParam().report_unboundness_correctly) { ASSERT_THAT(result, TerminatesWithOneOf({TerminationReason::kUnbounded, TerminationReason::kInfeasibleOrUnbounded}));} else { ASSERT_THAT(result, TerminatesWith(TerminationReason::kOtherError));} } TEST_P(SimpleMipTest, Infeasible) { Model model;const Variable x=model.AddVariable(0.0, 3.0, true, "x");model.Maximize(2.0 *x);model.AddLinearConstraint(x >=4.0);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, TerminatesWith(TerminationReason::kInfeasible));} TEST_P(SimpleMipTest, FractionalBoundsContainNoInteger) { if(GetParam().solver_type==SolverType::kGurobi) { GTEST_SKIP()<< "TODO(b/272298816): Gurobi bindings are broken here.";} if(GetParam().solver_type==SolverType::kXpress) { GTEST_SKIP()<< "Xpress does not support contradictory bounds.";} Model model;const Variable x=model.AddIntegerVariable(0.5, 0.6, "x");model.Maximize(x);EXPECT_THAT(Solve(model, GetParam().solver_type), IsOkAndHolds(TerminatesWith(TerminationReason::kInfeasible)));} TEST_P(IncrementalMipTest, EmptyUpdate) { ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(3.6));EXPECT_THAT(result.variable_values(), IsNear({{x_, 0.5}, {y_, 1.0}}));} TEST_P(IncrementalMipTest, MakeContinuous) { model_.set_continuous(y_);ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(4.1));EXPECT_THAT(result.variable_values(), IsNear({{x_, 1.0}, {y_, 0.5}}));} TEST_P(IncrementalMipTest, DISABLED_MakeContinuousWithNonIntegralBounds) { solver_.reset();Model model("bounds");const Variable x=model.AddIntegerVariable(0.5, 1.5, "x");model.Maximize(x);ASSERT_OK_AND_ASSIGN(const auto solver, NewIncrementalSolver(&model, TestedSolver()));ASSERT_THAT(solver->Solve(), IsOkAndHolds(IsOptimal(1.0)));model.set_continuous(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver->SolveWithoutUpdate(), IsOkAndHolds(IsOptimal(1.5)));model.Minimize(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver-> SolveWithoutUpdate ()
<=x<=1 IncrementalMipTest::IncrementalMipTest() :model_("incremental_solve_test"), x_(model_.AddContinuousVariable(0.0, 1.0, "x")), y_(model_.AddIntegerVariable(0.0, 2.0, "y")), c_(model_.AddLinearConstraint(0<=x_+y_<=1.5, "c")) { model_.Maximize(3.0 *x_+2.0 *y_+0.1);solver_=NewIncrementalSolver(&model_, TestedSolver()).value();const SolveResult first_solve=solver_->Solve().value();CHECK(first_solve.has_primal_feasible_solution());CHECK_LE(std::abs(first_solve.objective_value() - 3.6), kTolerance)<< first_solve.objective_value();} namespace { TEST_P(SimpleMipTest, OneVarMax) { Model model;const Variable x=model.AddVariable(0.0, 4.0, false, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, OneVarMin) { Model model;const Variable x=model.AddVariable(-2.4, 4.0, false, "x");model.Minimize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(-4.8));EXPECT_THAT(result.variable_values(), IsNear({{x, -2.4}}));} TEST_P(SimpleMipTest, OneIntegerVar) { Model model;const Variable x=model.AddVariable(0.0, 4.5, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, SimpleLinearConstraint) { Model model;const Variable x=model.AddBinaryVariable("x");const Variable y=model.AddBinaryVariable("y");model.Maximize(2.0 *x+y);model.AddLinearConstraint(0.0<=x+y<=1.5, "c");ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(2.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 1}, {y, 0}}));} TEST_P(SimpleMipTest, Unbounded) { Model model;const Variable x=model.AddVariable(0.0, kInf, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));if(GetParam().report_unboundness_correctly) { ASSERT_THAT(result, TerminatesWithOneOf({TerminationReason::kUnbounded, TerminationReason::kInfeasibleOrUnbounded}));} else { ASSERT_THAT(result, TerminatesWith(TerminationReason::kOtherError));} } TEST_P(SimpleMipTest, Infeasible) { Model model;const Variable x=model.AddVariable(0.0, 3.0, true, "x");model.Maximize(2.0 *x);model.AddLinearConstraint(x >=4.0);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, TerminatesWith(TerminationReason::kInfeasible));} TEST_P(SimpleMipTest, FractionalBoundsContainNoInteger) { if(GetParam().solver_type==SolverType::kGurobi) { GTEST_SKIP()<< "TODO(b/272298816): Gurobi bindings are broken here.";} if(GetParam().solver_type==SolverType::kXpress) { GTEST_SKIP()<< "Xpress does not support contradictory bounds.";} Model model;const Variable x=model.AddIntegerVariable(0.5, 0.6, "x");model.Maximize(x);EXPECT_THAT(Solve(model, GetParam().solver_type), IsOkAndHolds(TerminatesWith(TerminationReason::kInfeasible)));} TEST_P(IncrementalMipTest, EmptyUpdate) { ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(3.6));EXPECT_THAT(result.variable_values(), IsNear({{x_, 0.5}, {y_, 1.0}}));} TEST_P(IncrementalMipTest, MakeContinuous) { model_.set_continuous(y_);ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(4.1));EXPECT_THAT(result.variable_values(), IsNear({{x_, 1.0}, {y_, 0.5}}));} TEST_P(IncrementalMipTest, DISABLED_MakeContinuousWithNonIntegralBounds) { solver_.reset();Model model("bounds");const Variable x=model.AddIntegerVariable(0.5, 1.5, "x");model.Maximize(x);ASSERT_OK_AND_ASSIGN(const auto solver, NewIncrementalSolver(&model, TestedSolver()));ASSERT_THAT(solver->Solve(), IsOkAndHolds(IsOptimal(1.0)));model.set_continuous(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver->SolveWithoutUpdate(), IsOkAndHolds(IsOptimal(1.5)));model.Minimize(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver-> IsOkAndHolds (IsOptimal(0.5)))
 TEST_P (IncrementalMipTest, MakeIntegralWithNonIntegralBounds)
 TEST_P (IncrementalMipTest, MakeInteger)
 TEST_P (IncrementalMipTest, ObjDir)
 TEST_P (IncrementalMipTest, ObjOffset)
 TEST_P (IncrementalMipTest, LinearObjCoef)
 TEST_P (IncrementalMipTest, VariableLb)
 TEST_P (IncrementalMipTest, VariableUb)
 TEST_P (IncrementalMipTest, LinearConstraintLb)
 TEST_P (IncrementalMipTest, LinearConstraintUb)
 TEST_P (IncrementalMipTest, LinearConstraintCoefficient)
 TEST_P (IncrementalMipTest, AddVariable)
 TEST_P (IncrementalMipTest, AddLinearConstraint)
 TEST_P (IncrementalMipTest, DeleteVariable)
 TEST_P (IncrementalMipTest, DeleteLinearConstraint)
 TEST_P (IncrementalMipTest, ChangeBoundsWithTemporaryInversion)
std::ostream & operator<< (std::ostream &out, const MultiObjectiveTestParameters &params)
std::ostream & operator<< (std::ostream &out, const QcTestParameters &params)
std::string ToString (QpSupportType qp_support)
std::ostream & operator<< (std::ostream &out, const QpTestParameters &params)
std::ostream & operator<< (std::ostream &out, const SecondOrderConeTestParameters &params)
std::ostream & operator<< (std::ostream &out, const StatusTestParameters &params)
std::unique_ptr< ModelSmallModel (const bool integer)
std::unique_ptr< ModelDenseIndependentSet (const bool integer, const int n)
ModelSolveParameters::SolutionHint DenseIndependentSetHint5 (const Model &model)
std::unique_ptr< ModelIndependentSetCompleteGraph (const bool integer, const int n)
 MATH_OPT_REGISTER_SOLVER (SOLVER_TYPE_CP_SAT, CpSatSolver::New)
template<typename IndexType>
void UpdateIdIndexMap (glop::StrictITIVector< IndexType, bool > indices_to_delete, IndexType num_indices, absl::flat_hash_map< int64_t, IndexType > &id_index_map)
template<typename IndexType>
SparseDoubleVectorProto FillSparseDoubleVector (absl::Span< const int64_t > ids_in_order, const absl::flat_hash_map< int64_t, IndexType > &id_map, const glop::StrictITIVector< IndexType, glop::Fractional > &values, const SparseVectorFilterProto &filter)
template<typename ValueType>
BasisStatusProto FromGlopBasisStatus (const ValueType glop_basis_status)
template<typename IndexType, typename ValueType>
SparseBasisStatusVector FillSparseBasisStatusVector (absl::Span< const int64_t > ids_in_order, const absl::flat_hash_map< int64_t, IndexType > &id_map, const glop::StrictITIVector< IndexType, ValueType > &values)
template<typename ValueType>
ValueType ToGlopBasisStatus (const BasisStatusProto basis_status)
template<typename T>
std::vector< int64_t > GetSortedIs (const absl::flat_hash_map< int64_t, T > &id_map)
template<typename T>
glop::StrictITIVector< T, int64_t > IndexToId (const absl::flat_hash_map< int64_t, T > &id_map)
double WorstGLPKDualBound (const bool is_maximize, const double objective_value, const double relative_gap_limit)
absl::StatusOr< std::optional< GlpkRay > > GlpkComputeUnboundRay (glp_prob *const problem)
GScipParameters::MetaParamValue ConvertMathOptEmphasis (EmphasisProto emphasis)
absl::StatusOr< GRBenvUniquePtrGurobiNewPrimaryEnv (const std::optional< GurobiIsvKey > &isv_key)
std::vector< bool > EventToGurobiWhere (const absl::flat_hash_set< CallbackEventProto > &events)
absl::Status GurobiCallbackImpl (const Gurobi::CallbackContext &context, const GurobiCallbackInput &callback_input, MessageCallbackData &message_callback_data, SolveInterrupter *const local_interrupter)
void GurobiCallbackImplFlush (const GurobiCallbackInput &callback_input, MessageCallbackData &message_callback_data)
absl::StatusOr< GRBenvUniquePtrNewPrimaryEnvironment (std::optional< GurobiInitializerProto::ISVKey > proto_isv_key)
 MATH_OPT_REGISTER_SOLVER (SOLVER_TYPE_HIGHS, HighsSolver::New)
 MATH_OPT_REGISTER_SOLVER (SOLVER_TYPE_PDLP, PdlpSolver::New)
template<typename V, typename C>
MemberPointerValueType (V C::*)
template<typename V, typename C>
MemberPointerClassType (V C::*)
template<auto PointerToMember, typename BaseIter>
auto MakeUpdateDataFieldIterator (BaseIter base_iter)
template<auto PointerToMember, typename UpdateTrackers>
auto MakeUpdateDataFieldRange (const UpdateTrackers &trackers)
 DEFINE_STRONG_INT_TYPE (SecondOrderConeConstraintId, int64_t)
 DEFINE_STRONG_INT_TYPE (Sos1ConstraintId, int64_t)
 DEFINE_STRONG_INT_TYPE (Sos2ConstraintId, int64_t)
 DEFINE_STRONG_INT_TYPE (UpdateTrackerId, int64_t)
template<typename T>
iterator_range< T > make_range (T x, T y)
template<typename T>
iterator_range< T > make_range (std::pair< T, T > p)
template<typename Collection>
auto collection_to_range (Collection &c)
template<typename T>
std::string StreamToString (const T &value)
absl::Span< const FileFormatAllFileFormats ()
std::string AbslUnparseFlag (const FileFormat f)
std::ostream & operator<< (std::ostream &out, const FileFormat f)
bool AbslParseFlag (const absl::string_view text, FileFormat *const f, std::string *const error)
absl::flat_hash_map< absl::string_view, FileFormatExtensionToFileFormat ()
std::optional< FileFormatFormatFromFilePath (absl::string_view file_path)
std::optional< FileFormatFormatFromFlagOrFilePath (const std::optional< FileFormat > format_flag_value, const absl::string_view file_path)
std::string OptionalFormatFlagPossibleValuesList ()
std::string FormatFlagPossibleValuesList ()
absl::StatusOr< std::pair< ModelProto, std::optional< SolutionHintProto > > > ReadModel (const absl::string_view file_path, const FileFormat format)
absl::Status WriteModel (const absl::string_view file_path, const ModelProto &model_proto, const std::optional< SolutionHintProto > &hint_proto, const FileFormat format)
absl::Status ValidateFeasibilityStatus (const FeasibilityStatusProto &status)
absl::Status ValidateProblemStatus (const ProblemStatusProto &status)
absl::Status CheckPrimalStatusIs (const ProblemStatusProto &status, const FeasibilityStatusProto required_status)
absl::Status CheckPrimalStatusIsNot (const ProblemStatusProto &status, const FeasibilityStatusProto forbidden_status)
absl::Status CheckDualStatusIsNot (const ProblemStatusProto &status, const FeasibilityStatusProto forbidden_status)
absl::Status CheckDualStatusIs (const ProblemStatusProto &status, const FeasibilityStatusProto required_status, const bool primal_or_dual_infeasible_also_ok)
absl::Status ValidateObjectiveBounds (const ObjectiveBoundsProto &bounds)
absl::Status CheckFinitePrimalBound (const ObjectiveBoundsProto &bounds)
absl::Status ValidateBoundStatusConsistency (const ObjectiveBoundsProto &objective_bounds, const ProblemStatusProto &status, bool is_maximize)
absl::Status ValidateCallbackRegistration (const CallbackRegistrationProto &callback_registration, const ModelSummary &model_summary)
absl::Status ValidateCallbackDataProto (const CallbackDataProto &cb_data, const CallbackRegistrationProto &callback_registration, const ModelSummary &model_summary)
absl::Status ValidateCallbackResultProto (const CallbackResultProto &callback_result, const CallbackEventProto callback_event, const CallbackRegistrationProto &callback_registration, const ModelSummary &model_summary)
absl::Status CheckRegisteredCallbackEvents (const CallbackRegistrationProto &registration, const absl::flat_hash_set< CallbackEventProto > &supported_events)
absl::Status CheckIdsRangeAndStrictlyIncreasing (absl::Span< const int64_t > ids)
absl::Status CheckIdsSubset (absl::Span< const int64_t > ids, const IdNameBiMap &universe, std::optional< int64_t > upper_bound)
absl::Status CheckIdsSubset (absl::Span< const int64_t > ids, const IdNameBiMap &universe, absl::string_view ids_description, absl::string_view universe_description)
absl::Status CheckIdsIdentical (absl::Span< const int64_t > first_ids, const IdNameBiMap &second_ids, absl::string_view first_description, absl::string_view second_description)
absl::Status ValidateModelSubset (const ModelSubsetProto &model_subset, const ModelSummary &model_summary)
absl::Status ValidateComputeInfeasibleSubsystemResult (const ComputeInfeasibleSubsystemResultProto &result, const ModelSummary &model_summary)
absl::Status ValidateComputeInfeasibleSubsystemResultNoModel (const ComputeInfeasibleSubsystemResultProto &result)
absl::Status ValidateLinearExpression (const LinearExpressionProto &expression, const IdNameBiMap &variable_universe)
absl::Status ValidateSparseVectorFilter (const SparseVectorFilterProto &v, const IdNameBiMap &valid_ids)
absl::Status ValidateModelSolveParameters (const ModelSolveParametersProto &parameters, const ModelSummary &model_summary)
absl::StatusOr< ModelSummaryValidateModel (const ModelProto &model, const bool check_names)
absl::Status ValidateModelUpdate (const ModelUpdateProto &model_update, ModelSummary &model_summary)
absl::Status ValidateSolutions (const google::protobuf::RepeatedPtrField< SolutionProto > &solutions, const ModelSolveParametersProto &parameters, const ModelSummary &model_summary)
absl::Status CheckHasPrimalSolution (const SolveResultProto &result)
absl::Status CheckPrimalSolutionAndTerminationConsistency (const TerminationProto &termination, const google::protobuf::RepeatedPtrField< SolutionProto > &solutions, const bool maximize)
absl::Status CheckDualSolutionAndStatusConsistency (const TerminationProto &termination, const google::protobuf::RepeatedPtrField< SolutionProto > &solutions, const bool maximize)
absl::Status ValidateResult (const SolveResultProto &result, const ModelSolveParametersProto &parameters, const ModelSummary &model_summary)
absl::Status CheckScalarNoNanNoInf (const double d)
absl::Status CheckScalar (const double value, const DoubleOptions &options)
absl::Status ValidateSolution (const SolutionProto &solution, const ModelSolveParametersProto &parameters, const ModelSummary &model_summary)
absl::Status ValidatePrimalSolutionVector (const SparseDoubleVectorProto &vector, const SparseVectorFilterProto &filter, const ModelSummary &model_summary)
absl::Status ValidatePrimalSolution (const PrimalSolutionProto &primal_solution, const SparseVectorFilterProto &filter, const ModelSummary &model_summary)
absl::Status ValidatePrimalRay (const PrimalRayProto &primal_ray, const SparseVectorFilterProto &filter, const ModelSummary &model_summary)
absl::Status ValidateDualSolution (const DualSolutionProto &dual_solution, const ModelSolveParametersProto &parameters, const ModelSummary &model_summary)
absl::Status ValidateDualRay (const DualRayProto &dual_ray, const ModelSolveParametersProto &parameters, const ModelSummary &model_summary)
absl::Status SparseBasisStatusVectorIsValid (const SparseVectorView< int > &status_vector_view)
absl::Status ValidateBasis (const BasisProto &basis, const ModelSummary &model_summary, const bool check_dual_feasibility)
absl::Status ValidateSolveParameters (const SolveParametersProto &parameters)
absl::Status ValidateSolveStats (const SolveStatsProto &solve_stats)
absl::Status SparseMatrixValid (const SparseDoubleMatrixProto &matrix, const bool enforce_upper_triangular)
absl::Status SparseMatrixIdsAreKnown (const SparseDoubleMatrixProto &matrix, const IdNameBiMap &row_ids, const IdNameBiMap &column_ids)
template<typename T>
absl::Status CheckIdsAndValuesSize (const SparseVectorView< T > &vector_view, absl::string_view value_name="values")
template<typename T, typename = std::enable_if_t<!std::is_floating_point<T>::value>>
absl::Status CheckValues (const SparseVectorView< T > &vector_view, absl::string_view value_name="values")
template<typename T, typename = std::enable_if_t<!std::is_floating_point<T>::value>>
absl::Status CheckIdsAndValues (const SparseVectorView< T > &vector_view, absl::string_view value_name="values")
template<typename T, typename = std::enable_if_t<std::is_floating_point<T>::value>>
absl::Status CheckValues (const SparseVectorView< T > &vector_view, const DoubleOptions &options, absl::string_view value_name="values")
template<typename T, typename = std::enable_if_t<std::is_floating_point<T>::value>>
absl::Status CheckIdsAndValues (const SparseVectorView< T > &vector_view, const DoubleOptions &options, absl::string_view value_name="values")
absl::Status ValidateTermination (const TerminationProto &termination, const bool is_maximize)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CallbackEventProto_descriptor ()
bool CallbackEventProto_IsValid (int value)
template<typename T>
const ::std::string & CallbackEventProto_Name (T value)
template<>
const ::std::string & CallbackEventProto_Name (CallbackEventProto value)
bool CallbackEventProto_Parse (::absl::string_view name, CallbackEventProto *PROTOBUF_NONNULL value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TestEnumProto_descriptor ()
bool TestEnumProto_IsValid (int value)
template<typename T>
const ::std::string & TestEnumProto_Name (T value)
template<>
const ::std::string & TestEnumProto_Name (TestEnumProto value)
bool TestEnumProto_Parse (::absl::string_view name, TestEnumProto *PROTOBUF_NONNULL value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SolverTypeProto_descriptor ()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LPAlgorithmProto_descriptor ()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL EmphasisProto_descriptor ()
bool SolverTypeProto_IsValid (int value)
template<typename T>
const ::std::string & SolverTypeProto_Name (T value)
template<>
const ::std::string & SolverTypeProto_Name (SolverTypeProto value)
bool SolverTypeProto_Parse (::absl::string_view name, SolverTypeProto *PROTOBUF_NONNULL value)
bool LPAlgorithmProto_IsValid (int value)
template<typename T>
const ::std::string & LPAlgorithmProto_Name (T value)
template<>
const ::std::string & LPAlgorithmProto_Name (LPAlgorithmProto value)
bool LPAlgorithmProto_Parse (::absl::string_view name, LPAlgorithmProto *PROTOBUF_NONNULL value)
bool EmphasisProto_IsValid (int value)
template<typename T>
const ::std::string & EmphasisProto_Name (T value)
template<>
const ::std::string & EmphasisProto_Name (EmphasisProto value)
bool EmphasisProto_Parse (::absl::string_view name, EmphasisProto *PROTOBUF_NONNULL value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FeasibilityStatusProto_descriptor ()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TerminationReasonProto_descriptor ()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LimitProto_descriptor ()
bool FeasibilityStatusProto_IsValid (int value)
template<typename T>
const ::std::string & FeasibilityStatusProto_Name (T value)
template<>
const ::std::string & FeasibilityStatusProto_Name (FeasibilityStatusProto value)
bool FeasibilityStatusProto_Parse (::absl::string_view name, FeasibilityStatusProto *PROTOBUF_NONNULL value)
bool TerminationReasonProto_IsValid (int value)
template<typename T>
const ::std::string & TerminationReasonProto_Name (T value)
template<>
const ::std::string & TerminationReasonProto_Name (TerminationReasonProto value)
bool TerminationReasonProto_Parse (::absl::string_view name, TerminationReasonProto *PROTOBUF_NONNULL value)
bool LimitProto_IsValid (int value)
template<typename T>
const ::std::string & LimitProto_Name (T value)
template<>
const ::std::string & LimitProto_Name (LimitProto value)
bool LimitProto_Parse (::absl::string_view name, LimitProto *PROTOBUF_NONNULL value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SolutionStatusProto_descriptor ()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL BasisStatusProto_descriptor ()
bool SolutionStatusProto_IsValid (int value)
template<typename T>
const ::std::string & SolutionStatusProto_Name (T value)
template<>
const ::std::string & SolutionStatusProto_Name (SolutionStatusProto value)
bool SolutionStatusProto_Parse (::absl::string_view name, SolutionStatusProto *PROTOBUF_NONNULL value)
bool BasisStatusProto_IsValid (int value)
template<typename T>
const ::std::string & BasisStatusProto_Name (T value)
template<>
const ::std::string & BasisStatusProto_Name (BasisStatusProto value)
bool BasisStatusProto_Parse (::absl::string_view name, BasisStatusProto *PROTOBUF_NONNULL value)

Variables

constexpr absl::string_view kDeletedConstraintDefaultDescription
constexpr double kInf = std::numeric_limits<double>::infinity()
constexpr std::size_t kMaxNonBinaryIndicatorVariables = 10
constexpr std::size_t kMaxInvertedBounds = 10
absl::string_view detail = {})
template<typename T>
constexpr bool is_key_type_v
constexpr double kMatcherDefaultTolerance = 1e-5
For infeasible and unbounded problems
For infeasible and unbounded see Not checked if options check_solutions_if_inf_or_unbounded and the If options first_solution_only is false
For infeasible and unbounded see Not checked if options check_solutions_if_inf_or_unbounded and the If options first_solution_only is check the entire list of Dual solution is not checked if options check_dual
constexpr absl::string_view kDeletedObjectiveDefaultDescription
When unset
When the underlying default is used When the feature cannot be turned off
When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by default
When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is supported
When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is kLow
When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is kMedium
When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is kHigh
template<typename T>
static constexpr bool is_attr_key_v = is_attr_key<T>::value
constexpr auto kElements
constexpr int kNumElements = static_cast<int>(kElements.size())
constexpr absl::string_view kElementNames [kNumElements]
constexpr absl::string_view kShortElementNames [kNumElements]
template<typename T>
static constexpr bool is_element_id_v = is_element_id<T>::value
constexpr double kMaxIntegralityTolerance = 0.25
∞ ≤ x InconsistentVariableBoundsAndLinearConstraint
const Variable x = model.AddContinuousVariable(-kInf, 0.0)
const LinearConstraint c = model.AddLinearConstraint(x >= 1.0)
≤ x InconsistentVariableBoundsAndQuadraticConstraint
≤ x InconsistentSecondOrderConeConstraint
≤ x InconsistentSecondOrderConeConstraintWithExpressionUnderNorm
≤ x InconsistentSecondOrderConeConstraintWithExpressionInUpperBound
≤ x InconsistentIndicatorConstraint
constexpr double kTolerance = 1e-6
constexpr absl::string_view kNoMultiObjectiveSupportMessage
constexpr absl::string_view kNoIntegerVariableSupportMessage
constexpr std::string_view kNoQpSupportMessage
constexpr std::string_view kNoNonDiagonalQpSupportMessage
constexpr SupportedProblemStructures kPdlpSupportedStructures
constexpr int kXpressOk = 0
constexpr SupportedProblemStructures kXpressSupportedStructures
constexpr ObjectiveId kPrimaryObjectiveId
*If primal bound
*If primal *dual status is infeasible
*If primal *dual status is and *dual bound is equal to primal bound *is finite
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_SimplexStatsDefaultTypeInternal _CallbackDataProto_SimplexStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_PresolveStatsDefaultTypeInternal _CallbackDataProto_PresolveStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_MipStatsDefaultTypeInternal _CallbackDataProto_MipStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_BarrierStatsDefaultTypeInternal _CallbackDataProto_BarrierStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal _CallbackResultProto_GeneratedLinearConstraint_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackRegistrationProtoDefaultTypeInternal _CallbackRegistrationProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProtoDefaultTypeInternal _CallbackDataProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProtoDefaultTypeInternal _CallbackResultProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t CallbackEventProto_internal_data_ []
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_
constexpr CallbackEventProto CallbackEventProto_MIN
constexpr CallbackEventProto CallbackEventProto_MAX
constexpr int CallbackEventProto_ARRAYSIZE = 6 + 1
PROTOBUF_CONSTINIT const uint32_t TestEnumProto_internal_data_ []
constexpr TestEnumProto TestEnumProto_MIN
constexpr TestEnumProto TestEnumProto_MAX
constexpr int TestEnumProto_ARRAYSIZE = 3 + 1
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_BoundsDefaultTypeInternal _ModelSubsetProto_Bounds_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_VariableBoundsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_LinearConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProtoDefaultTypeInternal _ModelSubsetProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal _ComputeInfeasibleSubsystemResultProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariablesProtoDefaultTypeInternal _VariablesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintsProtoDefaultTypeInternal _LinearConstraintsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintProtoDefaultTypeInternal _SosConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintProtoDefaultTypeInternal _SecondOrderConeConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintProtoDefaultTypeInternal _QuadraticConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveProtoDefaultTypeInternal _ObjectiveProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintProtoDefaultTypeInternal _IndicatorConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos2ConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos1ConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_IndicatorConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal _ModelProto_AuxiliaryObjectivesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProtoDefaultTypeInternal _ModelProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VariablesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolutionHintProtoDefaultTypeInternal _SolutionHintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveParametersProtoDefaultTypeInternal _ObjectiveParametersProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUseDefaultTypeInternal _ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSolveParametersProtoDefaultTypeInternal _ModelSolveParametersProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolutionHintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveParametersProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSolveParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariableUpdatesProtoDefaultTypeInternal _VariableUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveUpdatesProtoDefaultTypeInternal _ObjectiveUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintUpdatesProtoDefaultTypeInternal _LinearConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUseDefaultTypeInternal _AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUseDefaultTypeInternal _AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintUpdatesProtoDefaultTypeInternal _SosConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintUpdatesProtoDefaultTypeInternal _SecondOrderConeConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintUpdatesProtoDefaultTypeInternal _QuadraticConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintUpdatesProtoDefaultTypeInternal _IndicatorConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuxiliaryObjectivesUpdatesProtoDefaultTypeInternal _AuxiliaryObjectivesUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelUpdateProtoDefaultTypeInternal _ModelUpdateProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VariableUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelUpdateProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StrictnessProtoDefaultTypeInternal _StrictnessProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolverInitializerProtoDefaultTypeInternal _SolverInitializerProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveParametersProtoDefaultTypeInternal _SolveParametersProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t SolverTypeProto_internal_data_ []
PROTOBUF_CONSTINIT const uint32_t LPAlgorithmProto_internal_data_ []
PROTOBUF_CONSTINIT const uint32_t EmphasisProto_internal_data_ []
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StrictnessProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_
constexpr SolverTypeProto SolverTypeProto_MIN
constexpr SolverTypeProto SolverTypeProto_MAX
constexpr int SolverTypeProto_ARRAYSIZE = 13 + 1
constexpr LPAlgorithmProto LPAlgorithmProto_MIN
constexpr LPAlgorithmProto LPAlgorithmProto_MAX
constexpr int LPAlgorithmProto_ARRAYSIZE = 4 + 1
constexpr EmphasisProto EmphasisProto_MIN
constexpr EmphasisProto EmphasisProto_MAX
constexpr int EmphasisProto_ARRAYSIZE = 5 + 1
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProblemStatusProtoDefaultTypeInternal _ProblemStatusProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveBoundsProtoDefaultTypeInternal _ObjectiveBoundsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminationProtoDefaultTypeInternal _TerminationProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveStatsProtoDefaultTypeInternal _SolveStatsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProto_PdlpOutputDefaultTypeInternal _SolveResultProto_PdlpOutput_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProtoDefaultTypeInternal _SolveResultProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t FeasibilityStatusProto_internal_data_ []
PROTOBUF_CONSTINIT const uint32_t TerminationReasonProto_internal_data_ []
PROTOBUF_CONSTINIT const uint32_t LimitProto_internal_data_ []
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TerminationProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_
constexpr FeasibilityStatusProto FeasibilityStatusProto_MIN
constexpr FeasibilityStatusProto FeasibilityStatusProto_MAX
constexpr int FeasibilityStatusProto_ARRAYSIZE = 3 + 1
constexpr TerminationReasonProto TerminationReasonProto_MIN
constexpr TerminationReasonProto TerminationReasonProto_MAX
constexpr int TerminationReasonProto_ARRAYSIZE = 9 + 1
constexpr LimitProto LimitProto_MIN
constexpr LimitProto LimitProto_MAX
constexpr int LimitProto_ARRAYSIZE = 12 + 1
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusProtoDefaultTypeInternal _StatusProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolverResourcesProtoDefaultTypeInternal _SolverResourcesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResponseDefaultTypeInternal _SolveResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveRequestDefaultTypeInternal _SolveRequest_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolverResourcesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveRequest_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResponse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StatusProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseBasisStatusVectorDefaultTypeInternal _SparseBasisStatusVector_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUseDefaultTypeInternal _PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalSolutionProtoDefaultTypeInternal _PrimalSolutionProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalRayProtoDefaultTypeInternal _PrimalRayProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DualSolutionProtoDefaultTypeInternal _DualSolutionProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DualRayProtoDefaultTypeInternal _DualRayProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BasisProtoDefaultTypeInternal _BasisProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolutionProtoDefaultTypeInternal _SolutionProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t SolutionStatusProto_internal_data_ []
PROTOBUF_CONSTINIT const uint32_t BasisStatusProto_internal_data_ []
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PrimalSolutionProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PrimalRayProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DualSolutionProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DualRayProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseBasisStatusVector_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull BasisProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolutionProto_class_data_
constexpr SolutionStatusProto SolutionStatusProto_MIN
constexpr SolutionStatusProto SolutionStatusProto_MAX
constexpr int SolutionStatusProto_ARRAYSIZE = 3 + 1
constexpr BasisStatusProto BasisStatusProto_MIN
constexpr BasisStatusProto BasisStatusProto_MAX
constexpr int BasisStatusProto_ARRAYSIZE = 5 + 1
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlpkParametersProtoDefaultTypeInternal _GlpkParametersProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GlpkParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiParametersProto_ParameterDefaultTypeInternal _GurobiParametersProto_Parameter_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiInitializerProto_ISVKeyDefaultTypeInternal _GurobiInitializerProto_ISVKey_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiParametersProtoDefaultTypeInternal _GurobiParametersProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiInitializerProtoDefaultTypeInternal _GurobiInitializerProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiInitializerProto_ISVKey_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiInitializerProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiParametersProto_Parameter_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_StringOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_StringOptionsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_IntOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_IntOptionsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_DoubleOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_DoubleOptionsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_BoolOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_BoolOptionsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProtoDefaultTypeInternal _HighsOptionsProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpSettingsProtoDefaultTypeInternal _OsqpSettingsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpOutputDefaultTypeInternal _OsqpOutput_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressParametersProto_ParameterDefaultTypeInternal _XpressParametersProto_Parameter_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressInitializerProtoDefaultTypeInternal _XpressInitializerProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressParametersProtoDefaultTypeInternal _XpressParametersProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressInitializerProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressParametersProto_Parameter_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseVectorFilterProtoDefaultTypeInternal _SparseVectorFilterProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseInt32VectorProtoDefaultTypeInternal _SparseInt32VectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleVectorProtoDefaultTypeInternal _SparseDoubleVectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleMatrixProtoDefaultTypeInternal _SparseDoubleMatrixProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseBoolVectorProtoDefaultTypeInternal _SparseBoolVectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearExpressionProtoDefaultTypeInternal _LinearExpressionProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseDoubleVectorProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseBoolVectorProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseInt32VectorProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseVectorFilterProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseDoubleMatrixProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearExpressionProto_class_data_

Typedef Documentation

◆ AllAttrTypeDescriptors

◆ AttrKeyFor

template<typename AttrType>
using operations_research::math_opt::AttrKeyFor
Initial value:

Definition at line 104 of file derived_data.h.

◆ AttrKeyHashMap

template<typename AttrKeyT, typename V, typename = std::enable_if_t<is_attr_key_v<AttrKeyT>>>
using operations_research::math_opt::AttrKeyHashMap
Initial value:
std::conditional_t<(AttrKeyT::size() > 0), absl::flat_hash_map<AttrKeyT, V>,
detail::AttrKey0RawSet<typename AttrKeyT::SymmetryT,
std::pair<AttrKeyT, V>>>

Definition at line 355 of file attr_key.h.

◆ AttrKeyHashSet

template<typename AttrKeyT, typename = std::enable_if_t<is_attr_key_v<AttrKeyT>>>
using operations_research::math_opt::AttrKeyHashSet
Initial value:
std::conditional_t<
(AttrKeyT::size() > 0), absl::flat_hash_set<AttrKeyT>,

Definition at line 347 of file attr_key.h.

◆ AttrTypeDescriptorT

Initial value:

Definition at line 76 of file derived_data.h.

◆ AuxiliaryObjectiveId

◆ BoolAttr0

◆ BoolAttr1

◆ Callback

Definition at line 94 of file callback.h.

◆ Coefficient

using operations_research::math_opt::Coefficient = std::tuple<int64_t, int64_t, const double>

Definition at line 61 of file sparse_collection_matchers.h.

◆ Coefficients

Definition at line 62 of file sparse_collection_matchers.h.

◆ DoubleAttr0

◆ DoubleAttr1

◆ DoubleAttr2

◆ ElementId

template<ElementType element_type>
using operations_research::math_opt::ElementId = TaggedId<element_type>

Definition at line 59 of file elements.h.

◆ ElementIdsConstView

template<ElementType element_type, typename Container>
using operations_research::math_opt::ElementIdsConstView = TaggedIdsConstView<element_type, Container>

Definition at line 62 of file elements.h.

◆ ElementIdsSpan

template<ElementType element_type>
using operations_research::math_opt::ElementIdsSpan = TaggedIdsSpan<element_type>

Definition at line 68 of file elements.h.

◆ ElementIdsVector

template<ElementType element_type>
using operations_research::math_opt::ElementIdsVector = TaggedIdsVector<element_type>

Definition at line 65 of file elements.h.

◆ ElementRefTrackerForAttrTypeDescriptor

Initial value:
ElementRefTracker<typename Descriptor::ValueType,
Descriptor::kNumKeyElements,
typename Descriptor::Symmetry>

Definition at line 30 of file element_ref_tracker.h.

◆ EnumeratedTuple

template<int n, template< int i > typename ValueType>
using operations_research::math_opt::EnumeratedTuple

◆ GRBenvUniquePtr

Definition at line 59 of file g_gurobi.h.

◆ IndicatorConstraintId

◆ IntAttr0

◆ IntAttr1

◆ LinearConstraintId

◆ LinearConstraintMap

template<typename V>
using operations_research::math_opt::LinearConstraintMap = absl::flat_hash_map<LinearConstraint, V>

Definition at line 73 of file linear_constraint.h.

◆ MessageCallback

using operations_research::math_opt::MessageCallback = std::function<void(const std::vector<std::string>&)>

Definition at line 40 of file message_callback.h.

◆ MockSolveFunction

◆ ModelStorageCPtr

using operations_research::math_opt::ModelStorageCPtr = const ModelStorage* absl_nonnull

Definition at line 1345 of file model_storage.h.

◆ ModelStoragePtr

using operations_research::math_opt::ModelStoragePtr = ModelStorage* absl_nonnull

Definition at line 1343 of file model_storage.h.

◆ NullableModelStorageCPtr

using operations_research::math_opt::NullableModelStorageCPtr = const ModelStorage* absl_nullable

Definition at line 1346 of file model_storage.h.

◆ NullableModelStoragePtr

using operations_research::math_opt::NullableModelStoragePtr = ModelStorage* absl_nullable

Definition at line 1344 of file model_storage.h.

◆ ObjectiveId

◆ ObjectiveMap

template<typename V>
using operations_research::math_opt::ObjectiveMap = absl::flat_hash_map<Objective, V>

Definition at line 120 of file objective.h.

◆ Pairs

template<typename T>
using operations_research::math_opt::Pairs = std::initializer_list<std::pair<int64_t, const T>>

Definition at line 43 of file sparse_collection_matchers.h.

◆ ProtoEnumIsValid

Definition at line 161 of file enums.h.

◆ QuadraticConstraintId

◆ QuadraticProductId

◆ QuadraticTermMap

template<typename V>
using operations_research::math_opt::QuadraticTermMap = absl::flat_hash_map<QuadraticTermKey, V>

Definition at line 698 of file variable_and_expressions.h.

◆ Range

using operations_research::math_opt::Range = std::pair<double, double>

Definition at line 27 of file statistics.h.

◆ SolveFunction

Initial value:

Definition at line 82 of file solve.h.

◆ SolverInterfaceFactoryMock

Initial value:
testing::MockFunction<absl::StatusOr<std::unique_ptr<SolverInterface>>(
const ModelProto& model, const SolverInterface::InitArgs& init_args)>

Definition at line 168 of file solver_interface_mock.h.

◆ Sos1ConstraintData

Definition at line 99 of file storage.h.

◆ Sos2ConstraintData

Definition at line 100 of file storage.h.

◆ sparse_value_type

Initial value:
typename std::remove_reference<
decltype(SparseVector().values())>::type::value_type

Definition at line 70 of file sparse_vector_view.h.

◆ SparseSubmatrixRowsView

Initial value:
std::vector<std::pair<int64_t, SparseVectorView<double>>>

Definition at line 31 of file sparse_submatrix.h.

◆ SymmetricDoubleAttr2

◆ SymmetricDoubleAttr3

◆ TaggedIdsSpan

template<auto tag>
using operations_research::math_opt::TaggedIdsSpan = typename TaggedIdsVector<tag>::View

Definition at line 227 of file tagged_id.h.

◆ ValueTypeFor

template<typename AttrType>
using operations_research::math_opt::ValueTypeFor = typename AttrTypeDescriptorT<AttrType>::ValueType

Definition at line 109 of file derived_data.h.

◆ VariableAttr1

◆ VariableId

◆ VariableMap

template<typename V>
using operations_research::math_opt::VariableMap = absl::flat_hash_map<Variable, V>

Definition at line 167 of file variable_and_expressions.h.

Enumeration Type Documentation

◆ BasisStatus

enum class operations_research::math_opt::BasisStatus : int8_t
strong
Enumerator
kFree 
kAtLowerBound 
kAtUpperBound 
kFixedValue 
kBasic 

Definition at line 28 of file basis_status.h.

◆ BasisStatusProto

Enumerator
BASIS_STATUS_UNSPECIFIED 
BASIS_STATUS_FREE 
BASIS_STATUS_AT_LOWER_BOUND 
BASIS_STATUS_AT_UPPER_BOUND 
BASIS_STATUS_FIXED_VALUE 
BASIS_STATUS_BASIC 
BasisStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
BasisStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 152 of file solution.pb.h.

◆ CallbackEvent

Enumerator
kPresolve 
kSimplex 
kMip 
kMipSolution 
kMipNode 
kBarrier 

Definition at line 97 of file callback.h.

◆ CallbackEventProto

Enumerator
CALLBACK_EVENT_UNSPECIFIED 
CALLBACK_EVENT_PRESOLVE 
CALLBACK_EVENT_SIMPLEX 
CALLBACK_EVENT_MIP 
CALLBACK_EVENT_MIP_SOLUTION 
CALLBACK_EVENT_MIP_NODE 
CALLBACK_EVENT_BARRIER 
CallbackEventProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
CallbackEventProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

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

◆ ElementType

Enumerator
kVariable 
kLinearConstraint 
kAuxiliaryObjective 
kQuadraticConstraint 
kIndicatorConstraint 

Definition at line 30 of file elements.h.

◆ Emphasis

Enumerator
kOff 
kLow 
kMedium 
kHigh 
kVeryHigh 

Definition at line 184 of file parameters.h.

◆ EmphasisProto

Enumerator
EMPHASIS_UNSPECIFIED 
EMPHASIS_OFF 
EMPHASIS_LOW 
EMPHASIS_MEDIUM 
EMPHASIS_HIGH 
EMPHASIS_VERY_HIGH 
EmphasisProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
EmphasisProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 190 of file parameters.pb.h.

◆ FeasibilityStatus

Enumerator
kUndetermined 
kFeasible 
kInfeasible 

Definition at line 43 of file solve_result.h.

◆ FeasibilityStatusProto

Enumerator
FEASIBILITY_STATUS_UNSPECIFIED 
FEASIBILITY_STATUS_UNDETERMINED 
FEASIBILITY_STATUS_FEASIBLE 
FEASIBILITY_STATUS_INFEASIBLE 
FeasibilityStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
FeasibilityStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

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

◆ GlpkRayType

Enumerator
kPrimal 
kDual 

Definition at line 33 of file rays.h.

◆ Limit

Enumerator
kUndetermined 
kIteration 
kTime 
kNode 
kSolution 
kMemory 
kCutoff 
kObjective 
kNorm 
kInterrupted 
kSlowProgress 
kOther 

Definition at line 173 of file solve_result.h.

◆ LimitProto

Enumerator
LIMIT_UNSPECIFIED 
LIMIT_UNDETERMINED 
LIMIT_ITERATION 
LIMIT_TIME 
LIMIT_NODE 
LIMIT_SOLUTION 
LIMIT_MEMORY 
LIMIT_CUTOFF 
LIMIT_OBJECTIVE 
LIMIT_NORM 
LIMIT_INTERRUPTED 
LIMIT_SLOW_PROGRESS 
LIMIT_OTHER 
LimitProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
LimitProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 193 of file result.pb.h.

◆ LPAlgorithm

Enumerator
kPrimalSimplex 
kDualSimplex 
kBarrier 
kFirstOrder 

Definition at line 133 of file parameters.h.

◆ LPAlgorithmProto

Enumerator
LP_ALGORITHM_UNSPECIFIED 
LP_ALGORITHM_PRIMAL_SIMPLEX 
LP_ALGORITHM_DUAL_SIMPLEX 
LP_ALGORITHM_BARRIER 
LP_ALGORITHM_FIRST_ORDER 
LPAlgorithmProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
LPAlgorithmProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

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

◆ ModelStorageElementEquality

Enumerator
kWithEquality 
kWithoutEquality 

Definition at line 52 of file model_storage_item.h.

◆ QpSupportType

Enumerator
kNoQpSupport 
kDiagonalQpOnly 
kConvexQp 

Definition at line 26 of file qp_tests.h.

◆ RemoteStreamingSolveMode

Enumerator
kDefault 
kSubprocess 
kInProcess 

Definition at line 32 of file remote_streaming_mode.h.

◆ SolutionStatus

Enumerator
kUndetermined 
kFeasible 
kInfeasible 

Definition at line 39 of file solution.h.

◆ SolutionStatusProto

Enumerator
SOLUTION_STATUS_UNSPECIFIED 
SOLUTION_STATUS_UNDETERMINED 
SOLUTION_STATUS_FEASIBLE 
SOLUTION_STATUS_INFEASIBLE 
SolutionStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
SolutionStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 114 of file solution.pb.h.

◆ SolverType

Enumerator
kGscip 
kGurobi 
kGlop 
kCpSat 
kPdlp 
kGlpk 
kEcos 
kScs 
kHighs 
kSantorini 
kXpress 

Definition at line 41 of file parameters.h.

◆ SolverTypeProto

Enumerator
SOLVER_TYPE_UNSPECIFIED 
SOLVER_TYPE_GSCIP 
SOLVER_TYPE_GUROBI 
SOLVER_TYPE_GLOP 
SOLVER_TYPE_CP_SAT 
SOLVER_TYPE_PDLP 
SOLVER_TYPE_GLPK 
SOLVER_TYPE_OSQP 
SOLVER_TYPE_ECOS 
SOLVER_TYPE_SCS 
SOLVER_TYPE_HIGHS 
SOLVER_TYPE_SANTORINI 
SOLVER_TYPE_XPRESS 
SolverTypeProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
SolverTypeProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 104 of file parameters.pb.h.

◆ SupportType

Enumerator
kNotSupported 
kSupported 
kNotImplemented 

Definition at line 317 of file math_opt_proto_utils.h.

◆ TerminationReason

Enumerator
kOptimal 
kInfeasible 
kUnbounded 
kInfeasibleOrUnbounded 
kImprecise 
kFeasible 
kNoSolutionFound 
kNumericalError 
kOtherError 

Definition at line 124 of file solve_result.h.

◆ TerminationReasonProto

Enumerator
TERMINATION_REASON_UNSPECIFIED 
TERMINATION_REASON_OPTIMAL 
TERMINATION_REASON_INFEASIBLE 
TERMINATION_REASON_UNBOUNDED 
TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED 
TERMINATION_REASON_IMPRECISE 
TERMINATION_REASON_FEASIBLE 
TERMINATION_REASON_NO_SOLUTION_FOUND 
TERMINATION_REASON_NUMERICAL_ERROR 
TERMINATION_REASON_OTHER_ERROR 
TerminationReasonProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
TerminationReasonProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

Definition at line 149 of file result.pb.h.

◆ TestEnumProto

Enumerator
TEST_ENUM_UNSPECIFIED 
TEST_ENUM_FIRST_VALUE 
TEST_ENUM_SECOND_VALUE 
TestEnumProto_INT_MIN_SENTINEL_DO_NOT_USE_ 
TestEnumProto_INT_MAX_SENTINEL_DO_NOT_USE_ 

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

Function Documentation

◆ â‰¤()

≤ x operations_research::math_opt::≤ ( variable bounds)

◆ ABSL_DEPRECATED()

operations_research::math_opt::ABSL_DEPRECATED ( "Use TerminateForReason(bool, TerminationReasonProto, absl::string_view) " "instead" )

◆ AbslHashValue() [1/5]

template<typename H>
H operations_research::math_opt::AbslHashValue ( H h,
const Objective & objective )

Definition at line 208 of file objective.h.

◆ AbslHashValue() [2/5]

template<typename H>
H operations_research::math_opt::AbslHashValue ( H h,
const QuadraticTermKey & key )

Definition at line 2019 of file variable_and_expressions.h.

◆ AbslHashValue() [3/5]

template<typename H>
H operations_research::math_opt::AbslHashValue ( H h,
const SecondOrderConeConstraint & constraint )

Definition at line 121 of file second_order_cone_constraint.h.

◆ AbslHashValue() [4/5]

template<typename H>
H operations_research::math_opt::AbslHashValue ( H h,
const Sos1Constraint & constraint )

Definition at line 123 of file sos1_constraint.h.

◆ AbslHashValue() [5/5]

template<typename H>
H operations_research::math_opt::AbslHashValue ( H h,
const Sos2Constraint & constraint )

Definition at line 123 of file sos2_constraint.h.

◆ AbslParseFlag() [1/7]

bool operations_research::math_opt::AbslParseFlag ( absl::string_view text,
Emphasis *const value,
std::string *const error )

Definition at line 171 of file parameters.cc.

◆ AbslParseFlag() [2/7]

bool operations_research::math_opt::AbslParseFlag ( absl::string_view text,
LPAlgorithm *const value,
std::string *const error )

Definition at line 138 of file parameters.cc.

◆ AbslParseFlag() [3/7]

bool operations_research::math_opt::AbslParseFlag ( absl::string_view text,
SolveParameters * solve_parameters,
std::string * error )

Definition at line 352 of file parameters.cc.

◆ AbslParseFlag() [4/7]

bool operations_research::math_opt::AbslParseFlag ( const absl::string_view text,
FileFormat *const f,
std::string *const error )

Definition at line 81 of file file_format_flags.cc.

◆ AbslParseFlag() [5/7]

bool operations_research::math_opt::AbslParseFlag ( const absl::string_view text,
RemoteStreamingSolveMode *const value,
std::string *const error )

Definition at line 36 of file remote_streaming_mode.cc.

◆ AbslParseFlag() [6/7]

bool operations_research::math_opt::AbslParseFlag ( const absl::string_view text,
SolverResources *const solver_resources,
std::string *const error )

Definition at line 55 of file solver_resources.cc.

◆ AbslParseFlag() [7/7]

bool operations_research::math_opt::AbslParseFlag ( const absl::string_view text,
SolverType *const value,
std::string *const error )

Definition at line 104 of file parameters.cc.

◆ AbslStringify() [1/6]

template<typename Sink, typename AttrT, typename = std::enable_if_t<(GetIndexIfAttr<AttrT>() >= 0)>>
void operations_research::math_opt::AbslStringify ( Sink & sink,
const AttrT attr_type )

Definition at line 336 of file attributes.h.

◆ AbslStringify() [2/6]

template<typename Sink>
void operations_research::math_opt::AbslStringify ( Sink & sink,
const Elemental & elemental )

Definition at line 395 of file elemental.h.

◆ AbslStringify() [3/6]

template<typename Sink>
void operations_research::math_opt::AbslStringify ( Sink & sink,
const RemoteStreamingSolveMode mode )

Definition at line 80 of file remote_streaming_mode.h.

◆ AbslStringify() [4/6]

template<typename Sink, auto tag>
void operations_research::math_opt::AbslStringify ( Sink & sink,
const TaggedId< tag > & id )

Definition at line 123 of file tagged_id.h.

◆ AbslStringify() [5/6]

template<typename Sink>
void operations_research::math_opt::AbslStringify ( Sink & sink,
const Termination & termination )

Definition at line 453 of file solve_result.h.

◆ AbslStringify() [6/6]

template<typename Sink>
void operations_research::math_opt::AbslStringify ( Sink & sink,
ElementType element_type )

Definition at line 54 of file elements.h.

◆ AbslUnparseFlag() [1/7]

std::string operations_research::math_opt::AbslUnparseFlag ( const Emphasis value)

Definition at line 176 of file parameters.cc.

◆ AbslUnparseFlag() [2/7]

std::string operations_research::math_opt::AbslUnparseFlag ( const FileFormat f)

Definition at line 58 of file file_format_flags.cc.

◆ AbslUnparseFlag() [3/7]

std::string operations_research::math_opt::AbslUnparseFlag ( const LPAlgorithm value)

Definition at line 143 of file parameters.cc.

◆ AbslUnparseFlag() [4/7]

std::string operations_research::math_opt::AbslUnparseFlag ( const RemoteStreamingSolveMode value)

Definition at line 24 of file remote_streaming_mode.cc.

◆ AbslUnparseFlag() [5/7]

std::string operations_research::math_opt::AbslUnparseFlag ( const SolverResources & solver_resources)

Definition at line 74 of file solver_resources.cc.

◆ AbslUnparseFlag() [6/7]

std::string operations_research::math_opt::AbslUnparseFlag ( const SolverType value)

Definition at line 109 of file parameters.cc.

◆ AbslUnparseFlag() [7/7]

std::string operations_research::math_opt::AbslUnparseFlag ( SolveParameters solve_parameters)

Definition at line 370 of file parameters.cc.

◆ ActivateDualRay()

bool operations_research::math_opt::ActivateDualRay ( SolverType solver_type,
SolveParameters & params )

◆ ActivatePrimalRay()

bool operations_research::math_opt::ActivatePrimalRay ( SolverType solver_type,
SolveParameters & params )

◆ AddRobustConstraint()

void operations_research::math_opt::AddRobustConstraint ( const Model & uncertainty_model,
const Variable rhs,
absl::Span< const std::pair< LinearExpression, Variable > > uncertain_coefficients,
Model & main_model )

Definition at line 201 of file dualizer.cc.

◆ AllFileFormats()

absl::Span< const FileFormat > operations_research::math_opt::AllFileFormats ( )

Definition at line 46 of file file_format_flags.cc.

◆ ApplyAllFilters()

void operations_research::math_opt::ApplyAllFilters ( const ModelSolveParametersProto & model_solve_params,
SolutionProto & solution )

Definition at line 122 of file math_opt_proto_utils.cc.

◆ ApplyOnIndexRange()

template<int n, typename Fn>
decltype(auto) operations_research::math_opt::ApplyOnIndexRange ( Fn && fn)
constexpr

Definition at line 38 of file arrays.h.

◆ AtomicConstraintNonzeroVariables()

template<typename IdType>
std::vector< Variable > operations_research::math_opt::AtomicConstraintNonzeroVariables ( const ModelStorage & storage,
const IdType id )

Definition at line 42 of file model_util.h.

◆ AtomicConstraints()

template<typename ConstraintType>
std::vector< ConstraintType > operations_research::math_opt::AtomicConstraints ( const ModelStorage & storage)

Definition at line 57 of file model_util.h.

◆ AttrKey()

template<typename... Ints>
operations_research::math_opt::AttrKey ( Ints... dims) ->AttrKey< sizeof...(Ints), NoSymmetry >

◆ AuxiliaryObjectiveValuesFromProto()

absl::StatusOr< absl::flat_hash_map< Objective, double > > operations_research::math_opt::AuxiliaryObjectiveValuesFromProto ( const ModelStorageCPtr model,
const google::protobuf::Map< int64_t, double > & aux_obj_proto )

Definition at line 161 of file sparse_containers.cc.

◆ AuxiliaryObjectiveValuesToProto()

google::protobuf::Map< int64_t, double > operations_research::math_opt::AuxiliaryObjectiveValuesToProto ( const absl::flat_hash_map< Objective, double > & aux_obj_values)

Definition at line 176 of file sparse_containers.cc.

◆ BasisIs()

testing::Matcher< Basis > operations_research::math_opt::BasisIs ( const Basis & expected)

Definition at line 450 of file matchers.cc.

◆ BasisStatusProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::BasisStatusProto_descriptor ( )

Definition at line 424 of file solution.pb.cc.

◆ BasisStatusProto_IsValid()

bool operations_research::math_opt::BasisStatusProto_IsValid ( int value)
inline

Definition at line 170 of file solution.pb.h.

◆ BasisStatusProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::BasisStatusProto_Name ( BasisStatusProto value)
inline

Definition at line 183 of file solution.pb.h.

◆ BasisStatusProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::BasisStatusProto_Name ( T value)

Definition at line 176 of file solution.pb.h.

◆ BasisStatusProto_Parse()

bool operations_research::math_opt::BasisStatusProto_Parse ( ::absl::string_view name,
BasisStatusProto *PROTOBUF_NONNULL value )
inline

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

◆ CallbackEventProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::CallbackEventProto_descriptor ( )

Definition at line 501 of file callback.pb.cc.

◆ CallbackEventProto_IsValid()

bool operations_research::math_opt::CallbackEventProto_IsValid ( int value)
inline

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

◆ CallbackEventProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::CallbackEventProto_Name ( CallbackEventProto value)
inline

Definition at line 138 of file callback.pb.h.

◆ CallbackEventProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::CallbackEventProto_Name ( T value)

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

◆ CallbackEventProto_Parse()

bool operations_research::math_opt::CallbackEventProto_Parse ( ::absl::string_view name,
CallbackEventProto *PROTOBUF_NONNULL value )
inline

Definition at line 142 of file callback.pb.h.

◆ CallForAttr()

template<typename AttrType, typename Fn, int n = 0>
decltype(auto) operations_research::math_opt::CallForAttr ( AttrType attr,
Fn && fn )

Definition at line 187 of file derived_data.h.

◆ CheckDualSolutionAndStatusConsistency()

absl::Status operations_research::math_opt::CheckDualSolutionAndStatusConsistency ( const TerminationProto & termination,
const google::protobuf::RepeatedPtrField< SolutionProto > & solutions,
const bool maximize )

Definition at line 204 of file result_validator.cc.

◆ CheckDualStatusIs()

absl::Status operations_research::math_opt::CheckDualStatusIs ( const ProblemStatusProto & status,
const FeasibilityStatusProto required_status,
const bool primal_or_dual_infeasible_also_ok )

Definition at line 102 of file bounds_and_status_validator.cc.

◆ CheckDualStatusIsNot()

absl::Status operations_research::math_opt::CheckDualStatusIsNot ( const ProblemStatusProto & status,
const FeasibilityStatusProto forbidden_status )

Definition at line 89 of file bounds_and_status_validator.cc.

◆ CheckFinitePrimalBound()

absl::Status operations_research::math_opt::CheckFinitePrimalBound ( const ObjectiveBoundsProto & bounds)

Definition at line 136 of file bounds_and_status_validator.cc.

◆ CheckHasPrimalSolution()

absl::Status operations_research::math_opt::CheckHasPrimalSolution ( const SolveResultProto & result)

Definition at line 171 of file result_validator.cc.

◆ CheckIdsAndValues() [1/2]

template<typename T, typename = std::enable_if_t<!std::is_floating_point<T>::value>>
absl::Status operations_research::math_opt::CheckIdsAndValues ( const SparseVectorView< T > & vector_view,
absl::string_view value_name = "values" )

Definition at line 50 of file sparse_vector_validator.h.

◆ CheckIdsAndValues() [2/2]

template<typename T, typename = std::enable_if_t<std::is_floating_point<T>::value>>
absl::Status operations_research::math_opt::CheckIdsAndValues ( const SparseVectorView< T > & vector_view,
const DoubleOptions & options,
absl::string_view value_name = "values" )

Definition at line 73 of file sparse_vector_validator.h.

◆ CheckIdsAndValuesSize()

template<typename T>
absl::Status operations_research::math_opt::CheckIdsAndValuesSize ( const SparseVectorView< T > & vector_view,
absl::string_view value_name = "values" )

Definition at line 30 of file sparse_vector_validator.h.

◆ CheckIdsIdentical()

absl::Status operations_research::math_opt::CheckIdsIdentical ( absl::Span< const int64_t > first_ids,
const IdNameBiMap & second_ids,
absl::string_view first_description,
absl::string_view second_description )

Definition at line 86 of file ids_validator.cc.

◆ CheckIdsRangeAndStrictlyIncreasing()

absl::Status operations_research::math_opt::CheckIdsRangeAndStrictlyIncreasing ( absl::Span< const int64_t > ids)

Definition at line 36 of file ids_validator.cc.

◆ CheckIdsSubset() [1/2]

absl::Status operations_research::math_opt::CheckIdsSubset ( absl::Span< const int64_t > ids,
const IdNameBiMap & universe,
absl::string_view ids_description,
absl::string_view universe_description )

Definition at line 71 of file ids_validator.cc.

◆ CheckIdsSubset() [2/2]

absl::Status operations_research::math_opt::CheckIdsSubset ( absl::Span< const int64_t > ids,
const IdNameBiMap & universe,
std::optional< int64_t > upper_bound )

Definition at line 55 of file ids_validator.cc.

◆ CheckPrimalSolutionAndTerminationConsistency()

absl::Status operations_research::math_opt::CheckPrimalSolutionAndTerminationConsistency ( const TerminationProto & termination,
const google::protobuf::RepeatedPtrField< SolutionProto > & solutions,
const bool maximize )

Definition at line 180 of file result_validator.cc.

◆ CheckPrimalSolutionFeasibility()

absl::StatusOr< ModelSubset > operations_research::math_opt::CheckPrimalSolutionFeasibility ( const Model & model,
const VariableMap< double > & variable_values,
const FeasibilityCheckerOptions & options )

Definition at line 213 of file solution_feasibility_checker.cc.

◆ CheckPrimalStatusIs()

absl::Status operations_research::math_opt::CheckPrimalStatusIs ( const ProblemStatusProto & status,
const FeasibilityStatusProto required_status )

Definition at line 63 of file bounds_and_status_validator.cc.

◆ CheckPrimalStatusIsNot()

absl::Status operations_research::math_opt::CheckPrimalStatusIsNot ( const ProblemStatusProto & status,
const FeasibilityStatusProto forbidden_status )

Definition at line 76 of file bounds_and_status_validator.cc.

◆ CheckRegisteredCallbackEvents()

absl::Status operations_research::math_opt::CheckRegisteredCallbackEvents ( const CallbackRegistrationProto & registration,
const absl::flat_hash_set< CallbackEventProto > & supported_events )

Definition at line 299 of file callback_validator.cc.

◆ CheckScalar()

absl::Status operations_research::math_opt::CheckScalar ( const double value,
const DoubleOptions & options )

Definition at line 36 of file scalar_validator.cc.

◆ CheckScalarNoNanNoInf()

absl::Status operations_research::math_opt::CheckScalarNoNanNoInf ( const double d)

Definition at line 28 of file scalar_validator.cc.

◆ CheckSolverSpecificOutputEmpty()

absl::Status operations_research::math_opt::CheckSolverSpecificOutputEmpty ( const SolveResultProto & result)

Definition at line 491 of file solve_result.cc.

◆ CheckValues() [1/2]

template<typename T, typename = std::enable_if_t<!std::is_floating_point<T>::value>>
absl::Status operations_research::math_opt::CheckValues ( const SparseVectorView< T > & vector_view,
absl::string_view value_name = "values" )

Definition at line 42 of file sparse_vector_validator.h.

◆ CheckValues() [2/2]

template<typename T, typename = std::enable_if_t<std::is_floating_point<T>::value>>
absl::Status operations_research::math_opt::CheckValues ( const SparseVectorView< T > & vector_view,
const DoubleOptions & options,
absl::string_view value_name = "values" )

Definition at line 59 of file sparse_vector_validator.h.

◆ collection_to_range()

template<typename Collection>
auto operations_research::math_opt::collection_to_range ( Collection & c)

Definition at line 82 of file range.h.

◆ ComputeInfeasibleSubsystem()

absl::StatusOr< ComputeInfeasibleSubsystemResult > operations_research::math_opt::ComputeInfeasibleSubsystem ( const Model & model,
const SolverType solver_type,
const ComputeInfeasibleSubsystemArguments & compute_args,
const SolverInitArguments & init_args )

Definition at line 72 of file solve.cc.

◆ ComputeModelRanges()

ModelRanges operations_research::math_opt::ComputeModelRanges ( const Model & model)

Definition at line 97 of file statistics.cc.

◆ ConvertMathOptEmphasis()

GScipParameters::MetaParamValue operations_research::math_opt::ConvertMathOptEmphasis ( EmphasisProto emphasis)

Definition at line 606 of file gscip_solver.cc.

◆ CutoffTerminationProto()

TerminationProto operations_research::math_opt::CutoffTerminationProto ( bool is_maximize,
const absl::string_view detail )

Definition at line 317 of file math_opt_proto_utils.cc.

◆ DEFINE_STRONG_INT_TYPE() [1/4]

operations_research::math_opt::DEFINE_STRONG_INT_TYPE ( SecondOrderConeConstraintId ,
int64_t  )

◆ DEFINE_STRONG_INT_TYPE() [2/4]

operations_research::math_opt::DEFINE_STRONG_INT_TYPE ( Sos1ConstraintId ,
int64_t  )

◆ DEFINE_STRONG_INT_TYPE() [3/4]

operations_research::math_opt::DEFINE_STRONG_INT_TYPE ( Sos2ConstraintId ,
int64_t  )

◆ DEFINE_STRONG_INT_TYPE() [4/4]

operations_research::math_opt::DEFINE_STRONG_INT_TYPE ( UpdateTrackerId ,
int64_t  )

◆ DenseIndependentSet()

std::unique_ptr< Model > operations_research::math_opt::DenseIndependentSet ( const bool integer,
const int n )

Definition at line 44 of file test_models.cc.

◆ DenseIndependentSetHint5()

ModelSolveParameters::SolutionHint operations_research::math_opt::DenseIndependentSetHint5 ( const Model & model)

Definition at line 95 of file test_models.cc.

◆ DidUpdate()

testing::Matcher< UpdateResult > operations_research::math_opt::DidUpdate ( )

Definition at line 1028 of file matchers.cc.

◆ EmphasisProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::EmphasisProto_descriptor ( )

Definition at line 341 of file parameters.pb.cc.

◆ EmphasisProto_IsValid()

bool operations_research::math_opt::EmphasisProto_IsValid ( int value)
inline

Definition at line 208 of file parameters.pb.h.

◆ EmphasisProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::EmphasisProto_Name ( EmphasisProto value)
inline

Definition at line 221 of file parameters.pb.h.

◆ EmphasisProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::EmphasisProto_Name ( T value)

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

◆ EmphasisProto_Parse()

bool operations_research::math_opt::EmphasisProto_Parse ( ::absl::string_view name,
EmphasisProto *PROTOBUF_NONNULL value )
inline

Definition at line 225 of file parameters.pb.h.

◆ EnumFromProto()

template<typename P>
std::optional< typename EnumProto< P >::Cpp > operations_research::math_opt::EnumFromProto ( P proto_value)

Definition at line 281 of file enums.h.

◆ EnumFromString()

template<typename E>
std::optional< E > operations_research::math_opt::EnumFromString ( absl::string_view str)

Definition at line 302 of file enums.h.

◆ EnumToOptString()

template<typename E>
std::optional< absl::string_view > operations_research::math_opt::EnumToOptString ( E value)

Definition at line 297 of file enums.h.

◆ EnumToProto() [1/2]

template<typename E>
Enum< E >::Proto operations_research::math_opt::EnumToProto ( E value)

Definition at line 276 of file enums.h.

◆ EnumToProto() [2/2]

template<typename E>
Enum< E >::Proto operations_research::math_opt::EnumToProto ( std::optional< E > value)

Definition at line 270 of file enums.h.

◆ EnumToString()

template<typename E>
absl::string_view operations_research::math_opt::EnumToString ( E value)

Definition at line 289 of file enums.h.

◆ EquivToElemental()

testing::Matcher< const Elemental & > operations_research::math_opt::EquivToElemental ( const Elemental &expected ABSL_ATTRIBUTE_LIFETIME_BOUND,
const ElementalDifferenceOptions & options = {} )
inline

Definition at line 45 of file elemental_matcher.h.

◆ EventSet()

absl::flat_hash_set< CallbackEventProto > operations_research::math_opt::EventSet ( const CallbackRegistrationProto & callback_registration)

Definition at line 144 of file math_opt_proto_utils.cc.

◆ EventToGurobiWhere()

std::vector< bool > operations_research::math_opt::EventToGurobiWhere ( const absl::flat_hash_set< CallbackEventProto > & events)

Definition at line 309 of file gurobi_callback.cc.

◆ EXPECT_THAT() [1/5]

operations_research::math_opt::EXPECT_THAT ( ComputeInfeasibleSubsystem(model, GetParam().solver_type) ,
IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=false,.upper=true}}},.linear_constraints={ {c, ModelSubset::Bounds{.lower=true,.upper=false}}}}))  )

◆ EXPECT_THAT() [2/5]

operations_research::math_opt::EXPECT_THAT ( ComputeInfeasibleSubsystem(model, GetParam().solver_type) ,
IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=false,.upper=true}}},.second_order_cone_constraints={c}}))  )

◆ EXPECT_THAT() [3/5]

operations_research::math_opt::EXPECT_THAT ( ComputeInfeasibleSubsystem(model, GetParam().solver_type) ,
IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=true,.upper=false}}},.second_order_cone_constraints={c}}))  )

◆ EXPECT_THAT() [4/5]

operations_research::math_opt::EXPECT_THAT ( ComputeInfeasibleSubsystem(model, GetParam().solver_type) ,
IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=true,.upper=false}}},.variable_integrality={x},.indicator_constraints={c}}))  )

◆ EXPECT_THAT() [5/5]

operations_research::math_opt::EXPECT_THAT ( ComputeInfeasibleSubsystem(model, GetParam().solver_type) ,
IsOkAndHolds(IsInfeasible(true, ModelSubset{ .variable_bounds={{x, ModelSubset::Bounds{.lower=true,.upper=true}}},.quadratic_constraints={ {c, ModelSubset::Bounds{.lower=true,.upper=false}}}}))  )

◆ ExtensionToFileFormat()

absl::flat_hash_map< absl::string_view, FileFormat > operations_research::math_opt::ExtensionToFileFormat ( )

Definition at line 94 of file file_format_flags.cc.

◆ FeasibilityStatusProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::FeasibilityStatusProto_descriptor ( )

Definition at line 401 of file result.pb.cc.

◆ FeasibilityStatusProto_IsValid()

bool operations_research::math_opt::FeasibilityStatusProto_IsValid ( int value)
inline

Definition at line 127 of file result.pb.h.

◆ FeasibilityStatusProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::FeasibilityStatusProto_Name ( FeasibilityStatusProto value)
inline

Definition at line 140 of file result.pb.h.

◆ FeasibilityStatusProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::FeasibilityStatusProto_Name ( T value)

Definition at line 133 of file result.pb.h.

◆ FeasibilityStatusProto_Parse()

bool operations_research::math_opt::FeasibilityStatusProto_Parse ( ::absl::string_view name,
FeasibilityStatusProto *PROTOBUF_NONNULL value )
inline

Definition at line 144 of file result.pb.h.

◆ FeasibleTermination()

TerminationProto operations_research::math_opt::FeasibleTermination ( const LimitProto limit,
const absl::string_view detail )

Definition at line 171 of file math_opt_proto_utils.cc.

◆ FeasibleTerminationProto()

TerminationProto operations_research::math_opt::FeasibleTerminationProto ( const bool is_maximize,
const LimitProto limit,
const double primal_objective,
const std::optional< double > optional_dual_objective,
const absl::string_view detail )

Definition at line 347 of file math_opt_proto_utils.cc.

◆ FillSparseBasisStatusVector()

template<typename IndexType, typename ValueType>
SparseBasisStatusVector operations_research::math_opt::FillSparseBasisStatusVector ( absl::Span< const int64_t > ids_in_order,
const absl::flat_hash_map< int64_t, IndexType > & id_map,
const glop::StrictITIVector< IndexType, ValueType > & values )

Definition at line 499 of file glop_solver.cc.

◆ FillSparseDoubleVector()

template<typename IndexType>
SparseDoubleVectorProto operations_research::math_opt::FillSparseDoubleVector ( absl::Span< const int64_t > ids_in_order,
const absl::flat_hash_map< int64_t, IndexType > & id_map,
const glop::StrictITIVector< IndexType, glop::Fractional > & values,
const SparseVectorFilterProto & filter )

Definition at line 463 of file glop_solver.cc.

◆ FilterSparseVector()

SparseDoubleVectorProto operations_research::math_opt::FilterSparseVector ( const SparseDoubleVectorProto & input,
const SparseVectorFilterProto & filter )

Definition at line 108 of file math_opt_proto_utils.cc.

◆ FirstLinearConstraintId()

std::optional< int64_t > operations_research::math_opt::FirstLinearConstraintId ( const LinearConstraintsProto & linear_constraints)
inline

Definition at line 70 of file math_opt_proto_utils.h.

◆ FirstVariableId()

std::optional< int64_t > operations_research::math_opt::FirstVariableId ( const VariablesProto & variables)
inline

Definition at line 63 of file math_opt_proto_utils.h.

◆ ForEach()

template<typename Fn, typename Tuple>
decltype(auto) operations_research::math_opt::ForEach ( Fn && fn,
Tuple && tuple )
constexpr

Definition at line 65 of file arrays.h.

◆ ForEachIndex()

template<int n, typename Fn>
decltype(auto) operations_research::math_opt::ForEachIndex ( Fn && fn)
constexpr

Definition at line 56 of file arrays.h.

◆ FormatAttrValue() [1/3]

template<>
std::string operations_research::math_opt::FormatAttrValue ( const bool v)
inline

Definition at line 212 of file derived_data.h.

◆ FormatAttrValue() [2/3]

template<>
std::string operations_research::math_opt::FormatAttrValue ( const double v)
inline

Definition at line 207 of file derived_data.h.

◆ FormatAttrValue() [3/3]

template<typename ValueType>
std::string operations_research::math_opt::FormatAttrValue ( const ValueType v)

Definition at line 202 of file derived_data.h.

◆ FormatFlagPossibleValuesList()

std::string operations_research::math_opt::FormatFlagPossibleValuesList ( )

Definition at line 181 of file file_format_flags.cc.

◆ FormatFromFilePath()

std::optional< FileFormat > operations_research::math_opt::FormatFromFilePath ( absl::string_view file_path)

Definition at line 107 of file file_format_flags.cc.

◆ FormatFromFlagOrFilePath()

std::optional< FileFormat > operations_research::math_opt::FormatFromFlagOrFilePath ( const std::optional< FileFormat > format_flag_value,
const absl::string_view file_path )

Definition at line 129 of file file_format_flags.cc.

◆ FormulateIndicatorConstraintAsMip()

absl::Status operations_research::math_opt::FormulateIndicatorConstraintAsMip ( Model & model,
const IndicatorConstraint indicator_constraint )

Definition at line 27 of file general_constraint_to_mip.cc.

◆ FromGlopBasisStatus()

template<typename ValueType>
BasisStatusProto operations_research::math_opt::FromGlopBasisStatus ( const ValueType glop_basis_status)

Definition at line 482 of file glop_solver.cc.

◆ FromLinearExpression()

LinearExpressionData operations_research::math_opt::FromLinearExpression ( const LinearExpression & expression)

Definition at line 34 of file model_util.cc.

◆ GetAttrDefaultValue()

template<auto attr>
AttrTypeDescriptorT< decltype(attr)>::ValueType operations_research::math_opt::GetAttrDefaultValue ( )
constexpr

Definition at line 84 of file derived_data.h.

◆ GetAttrKeySize() [1/2]

template<auto attr>
int operations_research::math_opt::GetAttrKeySize ( )
constexpr

Definition at line 98 of file derived_data.h.

◆ GetAttrKeySize() [2/2]

template<typename AttrType>
int operations_research::math_opt::GetAttrKeySize ( )
constexpr

Definition at line 94 of file derived_data.h.

◆ GetElementTypes() [1/2]

template<auto attr>
std::array< ElementType, GetAttrKeySize< attr >()> operations_research::math_opt::GetElementTypes ( )
constexpr

Definition at line 122 of file derived_data.h.

◆ GetElementTypes() [2/2]

template<typename AttrType>
std::array< ElementType, GetAttrKeySize< AttrType >()> operations_research::math_opt::GetElementTypes ( const AttrType attr)
constexpr

Definition at line 116 of file derived_data.h.

◆ GetIndexIfAttr()

template<typename AttrT>
constexpr int operations_research::math_opt::GetIndexIfAttr ( )
staticconstexpr

Definition at line 313 of file attributes.h.

◆ GetObjectiveBounds()

ObjectiveBoundsProto operations_research::math_opt::GetObjectiveBounds ( const SolveResultProto & solve_result)

Definition at line 48 of file math_opt_proto_utils.cc.

◆ GetProblemStatus()

ProblemStatusProto operations_research::math_opt::GetProblemStatus ( const SolveResultProto & solve_result)

Definition at line 59 of file math_opt_proto_utils.cc.

◆ GetSortedIs()

template<typename T>
std::vector< int64_t > operations_research::math_opt::GetSortedIs ( const absl::flat_hash_map< int64_t, T > & id_map)

Definition at line 533 of file glop_solver.cc.

◆ GlpkComputeUnboundRay()

absl::StatusOr< std::optional< GlpkRay > > operations_research::math_opt::GlpkComputeUnboundRay ( glp_prob *const problem)

Definition at line 351 of file rays.cc.

◆ GurobiCallbackImpl()

absl::Status operations_research::math_opt::GurobiCallbackImpl ( const Gurobi::CallbackContext & context,
const GurobiCallbackInput & callback_input,
MessageCallbackData & message_callback_data,
SolveInterrupter *const local_interrupter )

Definition at line 318 of file gurobi_callback.cc.

◆ GurobiCallbackImplFlush()

void operations_research::math_opt::GurobiCallbackImplFlush ( const GurobiCallbackInput & callback_input,
MessageCallbackData & message_callback_data )

Definition at line 381 of file gurobi_callback.cc.

◆ GurobiNewPrimaryEnv()

absl::StatusOr< GRBenvUniquePtr > operations_research::math_opt::GurobiNewPrimaryEnv ( const std::optional< GurobiIsvKey > & isv_key)

Definition at line 162 of file g_gurobi.cc.

◆ HasDualRay()

testing::Matcher< SolveResult > operations_research::math_opt::HasDualRay ( DualRay expected,
const double tolerance )

Definition at line 852 of file matchers.cc.

◆ HasDualSolution()

testing::Matcher< SolveResult > operations_research::math_opt::HasDualSolution ( DualSolution expected,
const double tolerance )

Definition at line 832 of file matchers.cc.

◆ HasPrimalRay() [1/2]

testing::Matcher< SolveResult > operations_research::math_opt::HasPrimalRay ( PrimalRay expected,
const double tolerance )

Definition at line 840 of file matchers.cc.

◆ HasPrimalRay() [2/2]

testing::Matcher< SolveResult > operations_research::math_opt::HasPrimalRay ( VariableMap< double > expected_vars,
const double tolerance )

Definition at line 845 of file matchers.cc.

◆ HasSolution()

testing::Matcher< SolveResult > operations_research::math_opt::HasSolution ( PrimalSolution expected,
const double tolerance )

Definition at line 824 of file matchers.cc.

◆ IndependentSetCompleteGraph()

std::unique_ptr< Model > operations_research::math_opt::IndependentSetCompleteGraph ( const bool integer,
const int n )

Definition at line 109 of file test_models.cc.

◆ IndexToId()

template<typename T>
glop::StrictITIVector< T, int64_t > operations_research::math_opt::IndexToId ( const absl::flat_hash_map< int64_t, T > & id_map)

Definition at line 548 of file glop_solver.cc.

◆ InfeasibleOrUnboundedTerminationProto()

TerminationProto operations_research::math_opt::InfeasibleOrUnboundedTerminationProto ( bool is_maximize,
const FeasibilityStatusProto dual_feasibility_status,
const absl::string_view detail )

Definition at line 372 of file math_opt_proto_utils.cc.

◆ InfeasibleTerminationProto()

TerminationProto operations_research::math_opt::InfeasibleTerminationProto ( bool is_maximize,
const FeasibilityStatusProto dual_feasibility_status,
const absl::string_view detail )

Definition at line 254 of file math_opt_proto_utils.cc.

◆ InfoLoggerMessageCallback()

MessageCallback operations_research::math_opt::InfoLoggerMessageCallback ( const absl::string_view prefix,
const absl::SourceLocation loc )

Definition at line 94 of file message_callback.cc.

◆ InnerProduct() [1/2]

template<typename LeftIterable, typename RightIterable>
LinearExpression operations_research::math_opt::InnerProduct ( const LeftIterable & left,
const RightIterable & right )

Definition at line 1643 of file variable_and_expressions.h.

◆ InnerProduct() [2/2]

RightIterable LinearExpression operations_research::math_opt::InnerProduct ( const LeftIterable & left,
const RightIterable & right )
inline

◆ IntersectSets()

template<typename T>
absl::flat_hash_set< T > operations_research::math_opt::IntersectSets ( const absl::flat_hash_set< T > & first,
const absl::flat_hash_set< T > & second )

Definition at line 185 of file elemental_differencer.h.

◆ IsConsistentWith()

For infeasible and unbounded see Not checked if options check_solutions_if_inf_or_unbounded and the If options first_solution_only is check the entire list of Dual solution is not checked if options check the entire list of Enable with options check_basis testing::Matcher< SolveResult > operations_research::math_opt::IsConsistentWith ( const SolveResult & expected,
const SolveResultMatcherOptions & options )

Definition at line 943 of file matchers.cc.

◆ IsFeasible()

testing::Matcher< ComputeInfeasibleSubsystemResult > operations_research::math_opt::IsFeasible ( )

Definition at line 973 of file matchers.cc.

◆ IsIdentical() [1/2]

testing::Matcher< LinearExpression > operations_research::math_opt::IsIdentical ( LinearExpression expected)

Definition at line 279 of file matchers.cc.

◆ IsIdentical() [2/2]

testing::Matcher< QuadraticExpression > operations_research::math_opt::IsIdentical ( QuadraticExpression expected)

Definition at line 320 of file matchers.cc.

◆ IsInfeasible()

testing::Matcher< ComputeInfeasibleSubsystemResult > operations_research::math_opt::IsInfeasible ( const std::optional< bool > expected_is_minimal,
const std::optional< ModelSubset > expected_infeasible_subsystem )

Definition at line 995 of file matchers.cc.

◆ IsNear() [1/9]

template<typename K>
Matcher< absl::flat_hash_map< K, double > > operations_research::math_opt::IsNear ( absl::flat_hash_map< K, double > expected,
const double tolerance )

Definition at line 260 of file matchers.cc.

◆ IsNear() [2/9]

testing::Matcher< absl::flat_hash_map< QuadraticConstraint, double > > operations_research::math_opt::IsNear ( absl::flat_hash_map< QuadraticConstraint, double > expected,
const double tolerance )

Definition at line 242 of file matchers.cc.

◆ IsNear() [3/9]

testing::Matcher< DualRay > operations_research::math_opt::IsNear ( DualRay expected,
const double tolerance )

Definition at line 598 of file matchers.cc.

◆ IsNear() [4/9]

testing::Matcher< DualSolution > operations_research::math_opt::IsNear ( DualSolution expected,
const double tolerance,
const bool allow_undetermined )

Definition at line 435 of file matchers.cc.

◆ IsNear() [5/9]

testing::Matcher< LinearConstraintMap< double > > operations_research::math_opt::IsNear ( LinearConstraintMap< double > expected,
const double tolerance )

Definition at line 235 of file matchers.cc.

◆ IsNear() [6/9]

testing::Matcher< PrimalRay > operations_research::math_opt::IsNear ( PrimalRay expected,
const double tolerance )

Definition at line 534 of file matchers.cc.

◆ IsNear() [7/9]

testing::Matcher< PrimalSolution > operations_research::math_opt::IsNear ( PrimalSolution expected,
const double tolerance,
const bool allow_undetermined )

Definition at line 424 of file matchers.cc.

◆ IsNear() [8/9]

testing::Matcher< Solution > operations_research::math_opt::IsNear ( Solution expected,
const SolutionMatcherOptions options )

Definition at line 459 of file matchers.cc.

◆ IsNear() [9/9]

testing::Matcher< VariableMap< double > > operations_research::math_opt::IsNear ( VariableMap< double > expected,
const double tolerance )

Definition at line 222 of file matchers.cc.

◆ IsNearlyEquivalent()

testing::Matcher< BoundedLinearExpression > operations_research::math_opt::IsNearlyEquivalent ( const BoundedLinearExpression & expected,
const double tolerance )

Definition at line 311 of file matchers.cc.

◆ IsNearlySupersetOf() [1/4]

template<typename K>
Matcher< absl::flat_hash_map< K, double > > operations_research::math_opt::IsNearlySupersetOf ( absl::flat_hash_map< K, double > expected,
const double tolerance )

Definition at line 267 of file matchers.cc.

◆ IsNearlySupersetOf() [2/4]

testing::Matcher< absl::flat_hash_map< QuadraticConstraint, double > > operations_research::math_opt::IsNearlySupersetOf ( absl::flat_hash_map< QuadraticConstraint, double > expected,
double tolerance )

Definition at line 250 of file matchers.cc.

◆ IsNearlySupersetOf() [3/4]

testing::Matcher< LinearConstraintMap< double > > operations_research::math_opt::IsNearlySupersetOf ( LinearConstraintMap< double > expected,
double tolerance )

Definition at line 228 of file matchers.cc.

◆ IsNearlySupersetOf() [4/4]

testing::Matcher< VariableMap< double > > operations_research::math_opt::IsNearlySupersetOf ( VariableMap< double > expected,
double tolerance )

Definition at line 216 of file matchers.cc.

◆ IsOkAndHolds()

<=x<=1 IncrementalMipTest::IncrementalMipTest() :model_("incremental_solve_test"), x_(model_.AddContinuousVariable(0.0, 1.0, "x")), y_(model_.AddIntegerVariable(0.0, 2.0, "y")), c_(model_.AddLinearConstraint(0<=x_+y_<=1.5, "c")) { model_.Maximize(3.0 *x_+2.0 *y_+0.1);solver_=NewIncrementalSolver(&model_, TestedSolver()).value();const SolveResult first_solve=solver_->Solve().value();CHECK(first_solve.has_primal_feasible_solution());CHECK_LE(std::abs(first_solve.objective_value() - 3.6), kTolerance)<< first_solve.objective_value();} namespace { TEST_P(SimpleMipTest, OneVarMax) { Model model;const Variable x=model.AddVariable(0.0, 4.0, false, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, OneVarMin) { Model model;const Variable x=model.AddVariable(-2.4, 4.0, false, "x");model.Minimize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(-4.8));EXPECT_THAT(result.variable_values(), IsNear({{x, -2.4}}));} TEST_P(SimpleMipTest, OneIntegerVar) { Model model;const Variable x=model.AddVariable(0.0, 4.5, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, SimpleLinearConstraint) { Model model;const Variable x=model.AddBinaryVariable("x");const Variable y=model.AddBinaryVariable("y");model.Maximize(2.0 *x+y);model.AddLinearConstraint(0.0<=x+y<=1.5, "c");ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(2.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 1}, {y, 0}}));} TEST_P(SimpleMipTest, Unbounded) { Model model;const Variable x=model.AddVariable(0.0, kInf, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));if(GetParam().report_unboundness_correctly) { ASSERT_THAT(result, TerminatesWithOneOf({TerminationReason::kUnbounded, TerminationReason::kInfeasibleOrUnbounded}));} else { ASSERT_THAT(result, TerminatesWith(TerminationReason::kOtherError));} } TEST_P(SimpleMipTest, Infeasible) { Model model;const Variable x=model.AddVariable(0.0, 3.0, true, "x");model.Maximize(2.0 *x);model.AddLinearConstraint(x >=4.0);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, TerminatesWith(TerminationReason::kInfeasible));} TEST_P(SimpleMipTest, FractionalBoundsContainNoInteger) { if(GetParam().solver_type==SolverType::kGurobi) { GTEST_SKIP()<< "TODO(b/272298816): Gurobi bindings are broken here.";} if(GetParam().solver_type==SolverType::kXpress) { GTEST_SKIP()<< "Xpress does not support contradictory bounds.";} Model model;const Variable x=model.AddIntegerVariable(0.5, 0.6, "x");model.Maximize(x);EXPECT_THAT(Solve(model, GetParam().solver_type), IsOkAndHolds(TerminatesWith(TerminationReason::kInfeasible)));} TEST_P(IncrementalMipTest, EmptyUpdate) { ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(3.6));EXPECT_THAT(result.variable_values(), IsNear({{x_, 0.5}, {y_, 1.0}}));} TEST_P(IncrementalMipTest, MakeContinuous) { model_.set_continuous(y_);ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(4.1));EXPECT_THAT(result.variable_values(), IsNear({{x_, 1.0}, {y_, 0.5}}));} TEST_P(IncrementalMipTest, DISABLED_MakeContinuousWithNonIntegralBounds) { solver_.reset();Model model("bounds");const Variable x=model.AddIntegerVariable(0.5, 1.5, "x");model.Maximize(x);ASSERT_OK_AND_ASSIGN(const auto solver, NewIncrementalSolver(&model, TestedSolver()));ASSERT_THAT(solver->Solve(), IsOkAndHolds(IsOptimal(1.0)));model.set_continuous(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver->SolveWithoutUpdate(), IsOkAndHolds(IsOptimal(1.5)));model.Minimize(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver-> operations_research::math_opt::IsOkAndHolds ( IsOptimal(0.5) )

◆ IsOptimal()

testing::Matcher< SolveResult > operations_research::math_opt::IsOptimal ( const std::optional< double > expected_primal_objective,
const double tolerance )

Definition at line 763 of file matchers.cc.

◆ IsOptimalWithDualSolution() [1/2]

testing::Matcher< SolveResult > operations_research::math_opt::IsOptimalWithDualSolution ( const double expected_objective,
const LinearConstraintMap< double > expected_dual_values,
const absl::flat_hash_map< QuadraticConstraint, double > expected_quadratic_dual_values,
const VariableMap< double > expected_reduced_costs,
const double tolerance )

Definition at line 806 of file matchers.cc.

◆ IsOptimalWithDualSolution() [2/2]

testing::Matcher< SolveResult > operations_research::math_opt::IsOptimalWithDualSolution ( const double expected_objective,
const LinearConstraintMap< double > expected_dual_values,
const VariableMap< double > expected_reduced_costs,
const double tolerance )

Definition at line 791 of file matchers.cc.

◆ IsOptimalWithSolution()

testing::Matcher< SolveResult > operations_research::math_opt::IsOptimalWithSolution ( const double expected_objective,
const VariableMap< double > expected_variable_values,
const double tolerance )

Definition at line 778 of file matchers.cc.

◆ IsUndetermined()

testing::Matcher< ComputeInfeasibleSubsystemResult > operations_research::math_opt::IsUndetermined ( )

Definition at line 984 of file matchers.cc.

◆ LimitIs() [1/2]

testing::Matcher< Termination > operations_research::math_opt::LimitIs ( Limit limit,
testing::Matcher< std::string > detail_matcher = testing::_ )

◆ LimitIs() [2/2]

Matcher< Termination > operations_research::math_opt::LimitIs ( math_opt::Limit limit,
const Matcher< std::string > detail_matcher )

Definition at line 710 of file matchers.cc.

◆ LimitProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::LimitProto_descriptor ( )

Definition at line 413 of file result.pb.cc.

◆ LimitProto_IsValid()

bool operations_research::math_opt::LimitProto_IsValid ( int value)
inline

Definition at line 218 of file result.pb.h.

◆ LimitProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::LimitProto_Name ( LimitProto value)
inline

Definition at line 231 of file result.pb.h.

◆ LimitProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::LimitProto_Name ( T value)

Definition at line 224 of file result.pb.h.

◆ LimitProto_Parse()

bool operations_research::math_opt::LimitProto_Parse ( ::absl::string_view name,
LimitProto *PROTOBUF_NONNULL value )
inline

Definition at line 235 of file result.pb.h.

◆ LimitTerminationProto() [1/2]

TerminationProto operations_research::math_opt::LimitTerminationProto ( const bool is_maximize,
const LimitProto limit,
const std::optional< double > optional_finite_primal_objective,
const std::optional< double > optional_dual_objective,
const absl::string_view detail )

Definition at line 273 of file math_opt_proto_utils.cc.

◆ LimitTerminationProto() [2/2]

TerminationProto operations_research::math_opt::LimitTerminationProto ( LimitProto limit,
const double primal_objective,
const double dual_objective,
const bool claim_dual_feasible_solution_exists,
const absl::string_view detail )

Definition at line 287 of file math_opt_proto_utils.cc.

◆ LinearConstraintBasisFromProto()

absl::StatusOr< LinearConstraintMap< BasisStatus > > operations_research::math_opt::LinearConstraintBasisFromProto ( const ModelStorageCPtr model,
const SparseBasisStatusVector & basis_proto )

Definition at line 227 of file sparse_containers.cc.

◆ LinearConstraintBasisToProto()

SparseBasisStatusVector operations_research::math_opt::LinearConstraintBasisToProto ( const LinearConstraintMap< BasisStatus > & basis_values)

Definition at line 234 of file sparse_containers.cc.

◆ LinearConstraintFilterFromProto()

absl::StatusOr< MapFilter< LinearConstraint > > operations_research::math_opt::LinearConstraintFilterFromProto ( const Model & model,
const SparseVectorFilterProto & proto )

Definition at line 46 of file map_filter.cc.

◆ LinearConstraintValuesFromProto()

absl::StatusOr< LinearConstraintMap< double > > operations_research::math_opt::LinearConstraintValuesFromProto ( const ModelStorageCPtr model,
const SparseDoubleVectorProto & lin_cons_proto )

Definition at line 187 of file sparse_containers.cc.

◆ LinearConstraintValuesToProto()

SparseDoubleVectorProto operations_research::math_opt::LinearConstraintValuesToProto ( const LinearConstraintMap< double > & linear_constraint_values)

Definition at line 195 of file sparse_containers.cc.

◆ LinearExpressionIsNear()

testing::Matcher< LinearExpression > operations_research::math_opt::LinearExpressionIsNear ( const LinearExpression expected,
const double tolerance )

Definition at line 283 of file matchers.cc.

◆ LowerBound()

double operations_research::math_opt::LowerBound ( const LinearExpression & linear_expression)

Definition at line 52 of file linear_expr_util.cc.

◆ LPAlgorithmProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::LPAlgorithmProto_descriptor ( )

Definition at line 335 of file parameters.pb.cc.

◆ LPAlgorithmProto_IsValid()

bool operations_research::math_opt::LPAlgorithmProto_IsValid ( int value)
inline

Definition at line 168 of file parameters.pb.h.

◆ LPAlgorithmProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::LPAlgorithmProto_Name ( LPAlgorithmProto value)
inline

Definition at line 181 of file parameters.pb.h.

◆ LPAlgorithmProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::LPAlgorithmProto_Name ( T value)

Definition at line 174 of file parameters.pb.h.

◆ LPAlgorithmProto_Parse()

bool operations_research::math_opt::LPAlgorithmProto_Parse ( ::absl::string_view name,
LPAlgorithmProto *PROTOBUF_NONNULL value )
inline

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

◆ make_range() [1/2]

template<typename T>
iterator_range< T > operations_research::math_opt::make_range ( std::pair< T, T > p)

Definition at line 77 of file range.h.

◆ make_range() [2/2]

template<typename T>
iterator_range< T > operations_research::math_opt::make_range ( T x,
T y )

Definition at line 70 of file range.h.

◆ MakeKeepKeysFilter() [1/2]

template<typename Collection, typename ValueType = typename Collection::value_type>
MapFilter< ValueType > operations_research::math_opt::MakeKeepKeysFilter ( const Collection & keys)

Definition at line 167 of file map_filter.h.

◆ MakeKeepKeysFilter() [2/2]

template<typename KeyType>
MapFilter< KeyType > operations_research::math_opt::MakeKeepKeysFilter ( std::initializer_list< KeyType > keys)

Definition at line 183 of file map_filter.h.

◆ MakeRandomAttrKeys()

template<int n, typename Symmetry>
std::vector< AttrKey< n, Symmetry > > operations_research::math_opt::MakeRandomAttrKeys ( const int num_keys,
const int64_t id_bound )

Definition at line 27 of file testing.h.

◆ MakeSkipAllFilter()

template<typename KeyType>
MapFilter< KeyType > operations_research::math_opt::MakeSkipAllFilter ( )

Definition at line 142 of file map_filter.h.

◆ MakeSkipZerosFilter()

template<typename KeyType>
MapFilter< KeyType > operations_research::math_opt::MakeSkipZerosFilter ( )

Definition at line 154 of file map_filter.h.

◆ MakeSparseBoolVector()

SparseBoolVectorProto operations_research::math_opt::MakeSparseBoolVector ( std::initializer_list< std::pair< int64_t, bool > > pairs)

Definition at line 36 of file sparse_collection_matchers.cc.

◆ MakeSparseDoubleMatrix()

SparseDoubleMatrixProto operations_research::math_opt::MakeSparseDoubleMatrix ( std::initializer_list< std::tuple< int64_t, int64_t, double > > values)

Definition at line 46 of file sparse_collection_matchers.cc.

◆ MakeSparseDoubleVector()

SparseDoubleVectorProto operations_research::math_opt::MakeSparseDoubleVector ( std::initializer_list< std::pair< int64_t, double > > pairs)

Definition at line 26 of file sparse_collection_matchers.cc.

◆ MakeTrivialBounds()

ObjectiveBoundsProto operations_research::math_opt::MakeTrivialBounds ( const bool is_maximize)

Definition at line 191 of file math_opt_proto_utils.cc.

◆ MakeUpdateDataFieldIterator()

template<auto PointerToMember, typename BaseIter>
auto operations_research::math_opt::MakeUpdateDataFieldIterator ( BaseIter base_iter)

Definition at line 104 of file iterators.h.

◆ MakeUpdateDataFieldRange()

template<auto PointerToMember, typename UpdateTrackers>
auto operations_research::math_opt::MakeUpdateDataFieldRange ( const UpdateTrackers & trackers)

Definition at line 121 of file iterators.h.

◆ MakeView() [1/4]

template<typename Collection, typename T = typename Collection::value_type>
SparseVectorView< T > operations_research::math_opt::MakeView ( absl::Span< const int64_t > ids,
const Collection & values )

Definition at line 148 of file sparse_vector_view.h.

◆ MakeView() [2/4]

template<typename T>
SparseVectorView< const T * > operations_research::math_opt::MakeView ( const google::protobuf::RepeatedField< int64_t > & ids,
const google::protobuf::RepeatedPtrField< T > & values )

Definition at line 157 of file sparse_vector_view.h.

◆ MakeView() [3/4]

template<typename T>
SparseVectorView< T > operations_research::math_opt::MakeView ( const SparseVector< T > & sparse_vector)

Definition at line 175 of file sparse_vector_view.h.

◆ MakeView() [4/4]

template<typename SparseVectorProto, typename T = sparse_value_type<SparseVectorProto>>
SparseVectorView< T > operations_research::math_opt::MakeView ( const SparseVectorProto & sparse_vector)

Definition at line 168 of file sparse_vector_view.h.

◆ MapKeys() [1/2]

template<typename K, typename V>
std::vector< K > operations_research::math_opt::MapKeys ( const absl::flat_hash_map< K, V > & in_map)

Definition at line 35 of file sorted.h.

◆ MapKeys() [2/2]

template<typename K, typename V>
std::vector< K > operations_research::math_opt::MapKeys ( const google::protobuf::Map< K, V > & in_map)

Definition at line 45 of file sorted.h.

◆ MATCHER_P() [1/3]

operations_research::math_opt::MATCHER_P ( FirstElementIs ,
first_element_matcher ,
(negation ? absl::StrCat("is empty or first element ", MatcherToString(first_element_matcher, true)) :absl::StrCat("has at least one element and first element ", MatcherToString(first_element_matcher, false)))  )

Definition at line 700 of file matchers.cc.

◆ MATCHER_P() [2/3]

operations_research::math_opt::MATCHER_P ( SparseDoubleMatrixMatcher ,
coefficients ,
""  )

Definition at line 70 of file sparse_collection_matchers.h.

◆ MATCHER_P() [3/3]

operations_research::math_opt::MATCHER_P ( SparseVectorMatcher ,
pairs ,
""  )

Definition at line 50 of file sparse_collection_matchers.h.

◆ MatcherToString() [1/2]

template<typename T>
std::string operations_research::math_opt::MatcherToString ( const ::testing::PolymorphicMatcher< T > & matcher,
bool negate )

Definition at line 695 of file matchers.cc.

◆ MatcherToString() [2/2]

template<typename T>
std::string operations_research::math_opt::MatcherToString ( const Matcher< T > & matcher,
bool negate )

Definition at line 686 of file matchers.cc.

◆ MatcherToStringImpl()

template<typename MatcherType>
std::string operations_research::math_opt::MatcherToStringImpl ( const MatcherType & matcher,
const bool negate )

Definition at line 675 of file matchers.cc.

◆ MATH_OPT_DEFINE_ENUM() [1/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( BasisStatus ,
BASIS_STATUS_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [2/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( CallbackEvent ,
CALLBACK_EVENT_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [3/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( Emphasis ,
EMPHASIS_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [4/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( FeasibilityStatus ,
FEASIBILITY_STATUS_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [5/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( Limit ,
LIMIT_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [6/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( LPAlgorithm ,
LP_ALGORITHM_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [7/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( SolutionStatus ,
SOLUTION_STATUS_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [8/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( SolverType ,
SOLVER_TYPE_UNSPECIFIED  )

◆ MATH_OPT_DEFINE_ENUM() [9/9]

operations_research::math_opt::MATH_OPT_DEFINE_ENUM ( TerminationReason ,
TERMINATION_REASON_UNSPECIFIED  )

◆ MATH_OPT_REGISTER_SOLVER() [1/3]

operations_research::math_opt::MATH_OPT_REGISTER_SOLVER ( SOLVER_TYPE_CP_SAT ,
CpSatSolver::New  )

◆ MATH_OPT_REGISTER_SOLVER() [2/3]

operations_research::math_opt::MATH_OPT_REGISTER_SOLVER ( SOLVER_TYPE_HIGHS ,
HighsSolver::New  )

◆ MATH_OPT_REGISTER_SOLVER() [3/3]

operations_research::math_opt::MATH_OPT_REGISTER_SOLVER ( SOLVER_TYPE_PDLP ,
PdlpSolver::New  )

◆ MathOptModelToMPModelProto() [1/2]

absl::StatusOr<::operations_research::MPModelProto > operations_research::math_opt::MathOptModelToMPModelProto ( const ::operations_research::math_opt::ModelProto & model)

Definition at line 389 of file proto_converter.cc.

◆ MathOptModelToMPModelProto() [2/2]

absl::StatusOr< MPModelProto > operations_research::math_opt::MathOptModelToMPModelProto ( const ModelProto & model)

◆ MemberPointerClassType()

template<typename V, typename C>
C operations_research::math_opt::MemberPointerClassType ( V C::* )

◆ MemberPointerValueType()

template<typename V, typename C>
V operations_research::math_opt::MemberPointerValueType ( V C::* )

◆ ModelIsSupported()

absl::Status operations_research::math_opt::ModelIsSupported ( const ModelProto & model,
const SupportedProblemStructures & support_menu,
const absl::string_view solver_name )

Definition at line 390 of file math_opt_proto_utils.cc.

◆ ModelProtoFromLp()

absl::StatusOr< ModelProto > operations_research::math_opt::ModelProtoFromLp ( const absl::string_view lp_data)

Definition at line 52 of file lp_parser.cc.

◆ ModelProtoToLp()

absl::StatusOr< std::string > operations_research::math_opt::ModelProtoToLp ( const ModelProto & model)

Definition at line 27 of file lp_converter.cc.

◆ ModelProtoToMps()

absl::StatusOr< std::string > operations_research::math_opt::ModelProtoToMps ( const ModelProto & model)

Definition at line 29 of file mps_converter.cc.

◆ ModelSolveParametersAreSupported()

absl::Status operations_research::math_opt::ModelSolveParametersAreSupported ( const ModelSolveParametersProto & model_parameters,
const SupportedProblemStructures & support_menu,
const absl::string_view solver_name )

Definition at line 549 of file math_opt_proto_utils.cc.

◆ MoveVariablesToTheirBestFeasibleValue()

absl::StatusOr< VariableMap< double > > operations_research::math_opt::MoveVariablesToTheirBestFeasibleValue ( const Model & model,
const VariableMap< double > & input_solution,
absl::Span< const Variable > variables,
const MoveVariablesToTheirBestFeasibleValueOptions & options )

Definition at line 87 of file solution_improvement.cc.

◆ MPModelProtoSolutionHintToMathOptHint()

absl::StatusOr< std::optional< SolutionHintProto > > operations_research::math_opt::MPModelProtoSolutionHintToMathOptHint ( const MPModelProto & model)

Definition at line 370 of file proto_converter.cc.

◆ MPModelProtoToMathOptModel() [1/2]

absl::StatusOr<::operations_research::math_opt::ModelProto > operations_research::math_opt::MPModelProtoToMathOptModel ( const ::operations_research::MPModelProto & model)

Definition at line 217 of file proto_converter.cc.

◆ MPModelProtoToMathOptModel() [2/2]

absl::StatusOr< ModelProto > operations_research::math_opt::MPModelProtoToMathOptModel ( const MPModelProto & model)

◆ MpsToModelProto()

absl::StatusOr< ModelProto > operations_research::math_opt::MpsToModelProto ( absl::string_view mps_data)

Definition at line 43 of file mps_converter.cc.

◆ NewIncrementalSolver()

absl::StatusOr< std::unique_ptr< IncrementalSolver > > operations_research::math_opt::NewIncrementalSolver ( Model * model,
SolverType solver_type,
SolverInitArguments arguments )

Definition at line 82 of file solve.cc.

◆ NewPrimaryEnvFromISVKey()

absl::StatusOr< GRBenv * > operations_research::math_opt::NewPrimaryEnvFromISVKey ( const GurobiIsvKey & isv_key)

Definition at line 30 of file gurobi_isv.cc.

◆ NewPrimaryEnvironment()

absl::StatusOr< GRBenvUniquePtr > operations_research::math_opt::NewPrimaryEnvironment ( std::optional< GurobiInitializerProto::ISVKey > proto_isv_key)

Definition at line 27 of file gurobi_init_arguments.cc.

◆ NoSolutionFoundTermination()

TerminationProto operations_research::math_opt::NoSolutionFoundTermination ( const LimitProto limit,
const absl::string_view detail )

Definition at line 176 of file math_opt_proto_utils.cc.

◆ NoSolutionFoundTerminationProto()

TerminationProto operations_research::math_opt::NoSolutionFoundTerminationProto ( const bool is_maximize,
const LimitProto limit,
const std::optional< double > optional_dual_objective,
const absl::string_view detail )

Definition at line 324 of file math_opt_proto_utils.cc.

◆ NumConstraints()

int operations_research::math_opt::NumConstraints ( const LinearConstraintsProto & linear_constraints)
inline

Definition at line 53 of file math_opt_proto_utils.h.

◆ NumMatrixNonzeros()

int operations_research::math_opt::NumMatrixNonzeros ( const SparseDoubleMatrixProto & matrix)
inline

Definition at line 57 of file math_opt_proto_utils.h.

◆ NumVariables()

int operations_research::math_opt::NumVariables ( const VariablesProto & variables)
inline

Definition at line 49 of file math_opt_proto_utils.h.

◆ ObjectiveBoundsNear()

testing::Matcher< ObjectiveBounds > operations_research::math_opt::ObjectiveBoundsNear ( const ObjectiveBounds & expected,
const double tolerance )

Definition at line 608 of file matchers.cc.

◆ operator!=() [1/6]

bool operations_research::math_opt::operator!= ( const Objective & lhs,
const Objective & rhs )

Definition at line 203 of file objective.h.

◆ operator!=() [2/6]

bool operations_research::math_opt::operator!= ( const SecondOrderConeConstraint & lhs,
const SecondOrderConeConstraint & rhs )

Definition at line 115 of file second_order_cone_constraint.h.

◆ operator!=() [3/6]

bool operations_research::math_opt::operator!= ( const Sos1Constraint & lhs,
const Sos1Constraint & rhs )

Definition at line 118 of file sos1_constraint.h.

◆ operator!=() [4/6]

bool operations_research::math_opt::operator!= ( const Sos2Constraint & lhs,
const Sos2Constraint & rhs )

Definition at line 118 of file sos2_constraint.h.

◆ operator!=() [5/6]

bool operations_research::math_opt::operator!= ( const Variable & lhs,
const Variable & rhs )
inline

Definition at line 1674 of file variable_and_expressions.h.

◆ operator!=() [6/6]

bool operations_research::math_opt::operator!= ( QuadraticTermKey lhs,
QuadraticTermKey rhs )
inline

Definition at line 2034 of file variable_and_expressions.h.

◆ operator*() [1/19]

QuadraticExpression operations_research::math_opt::operator* ( const LinearExpression & lhs,
const LinearExpression & rhs )
inline

Definition at line 2460 of file variable_and_expressions.h.

◆ operator*() [2/19]

QuadraticExpression operations_research::math_opt::operator* ( const LinearExpression & lhs,
LinearTerm rhs )
inline

Definition at line 2449 of file variable_and_expressions.h.

◆ operator*() [3/19]

QuadraticExpression operations_research::math_opt::operator* ( const LinearExpression & lhs,
Variable rhs )
inline

Definition at line 2438 of file variable_and_expressions.h.

◆ operator*() [4/19]

LinearTerm operations_research::math_opt::operator* ( double coefficient,
LinearTerm term )
inline

Definition at line 1281 of file variable_and_expressions.h.

◆ operator*() [5/19]

LinearTerm operations_research::math_opt::operator* ( double coefficient,
Variable variable )
inline

Definition at line 1291 of file variable_and_expressions.h.

◆ operator*() [6/19]

LinearExpression operations_research::math_opt::operator* ( double lhs,
LinearExpression rhs )
inline

Definition at line 1503 of file variable_and_expressions.h.

◆ operator*() [7/19]

QuadraticExpression operations_research::math_opt::operator* ( double lhs,
QuadraticExpression rhs )
inline

Definition at line 2392 of file variable_and_expressions.h.

◆ operator*() [8/19]

QuadraticTerm operations_research::math_opt::operator* ( double lhs,
QuadraticTerm rhs )
inline

Definition at line 2387 of file variable_and_expressions.h.

◆ operator*() [9/19]

LinearExpression operations_research::math_opt::operator* ( LinearExpression lhs,
double rhs )
inline

Definition at line 1498 of file variable_and_expressions.h.

◆ operator*() [10/19]

QuadraticExpression operations_research::math_opt::operator* ( LinearTerm lhs,
const LinearExpression & rhs )
inline

Definition at line 2427 of file variable_and_expressions.h.

◆ operator*() [11/19]

QuadraticTerm operations_research::math_opt::operator* ( LinearTerm lhs,
LinearTerm rhs )
inline

Definition at line 2422 of file variable_and_expressions.h.

◆ operator*() [12/19]

QuadraticTerm operations_research::math_opt::operator* ( LinearTerm lhs,
Variable rhs )
inline

Definition at line 2417 of file variable_and_expressions.h.

◆ operator*() [13/19]

LinearTerm operations_research::math_opt::operator* ( LinearTerm term,
double coefficient )
inline

Definition at line 1286 of file variable_and_expressions.h.

◆ operator*() [14/19]

QuadraticExpression operations_research::math_opt::operator* ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2487 of file variable_and_expressions.h.

◆ operator*() [15/19]

QuadraticTerm operations_research::math_opt::operator* ( QuadraticTerm lhs,
double rhs )
inline

Definition at line 2482 of file variable_and_expressions.h.

◆ operator*() [16/19]

QuadraticExpression operations_research::math_opt::operator* ( Variable lhs,
const LinearExpression & rhs )
inline

Definition at line 2406 of file variable_and_expressions.h.

◆ operator*() [17/19]

QuadraticTerm operations_research::math_opt::operator* ( Variable lhs,
LinearTerm rhs )
inline

Definition at line 2401 of file variable_and_expressions.h.

◆ operator*() [18/19]

QuadraticTerm operations_research::math_opt::operator* ( Variable lhs,
Variable rhs )
inline

Definition at line 2397 of file variable_and_expressions.h.

◆ operator*() [19/19]

LinearTerm operations_research::math_opt::operator* ( Variable variable,
double coefficient )
inline

Definition at line 1295 of file variable_and_expressions.h.

◆ operator+() [1/35]

QuadraticExpression operations_research::math_opt::operator+ ( const LinearExpression & lhs,
QuadraticExpression rhs )
inline

Definition at line 2189 of file variable_and_expressions.h.

◆ operator+() [2/35]

LinearExpression operations_research::math_opt::operator+ ( const LinearTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 1394 of file variable_and_expressions.h.

◆ operator+() [3/35]

QuadraticExpression operations_research::math_opt::operator+ ( const LinearTerm & lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2174 of file variable_and_expressions.h.

◆ operator+() [4/35]

LinearExpression operations_research::math_opt::operator+ ( const LinearTerm & lhs,
double rhs )
inline

Definition at line 1378 of file variable_and_expressions.h.

◆ operator+() [5/35]

QuadraticExpression operations_research::math_opt::operator+ ( const LinearTerm & lhs,
QuadraticExpression rhs )
inline

Definition at line 2178 of file variable_and_expressions.h.

◆ operator+() [6/35]

LinearExpression operations_research::math_opt::operator+ ( const LinearTerm & lhs,
Variable rhs )
inline

Definition at line 1386 of file variable_and_expressions.h.

◆ operator+() [7/35]

QuadraticExpression operations_research::math_opt::operator+ ( const QuadraticTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 2203 of file variable_and_expressions.h.

◆ operator+() [8/35]

QuadraticExpression operations_research::math_opt::operator+ ( const QuadraticTerm & lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2213 of file variable_and_expressions.h.

◆ operator+() [9/35]

QuadraticExpression operations_research::math_opt::operator+ ( const QuadraticTerm & lhs,
double rhs )
inline

Definition at line 2195 of file variable_and_expressions.h.

◆ operator+() [10/35]

QuadraticExpression operations_research::math_opt::operator+ ( const QuadraticTerm & lhs,
LinearExpression rhs )
inline

Definition at line 2207 of file variable_and_expressions.h.

◆ operator+() [11/35]

QuadraticExpression operations_research::math_opt::operator+ ( const QuadraticTerm & lhs,
QuadraticExpression rhs )
inline

Definition at line 2218 of file variable_and_expressions.h.

◆ operator+() [12/35]

QuadraticExpression operations_research::math_opt::operator+ ( const QuadraticTerm & lhs,
Variable rhs )
inline

Definition at line 2199 of file variable_and_expressions.h.

◆ operator+() [13/35]

LinearExpression operations_research::math_opt::operator+ ( double lhs,
const LinearTerm & rhs )
inline

Definition at line 1382 of file variable_and_expressions.h.

◆ operator+() [14/35]

QuadraticExpression operations_research::math_opt::operator+ ( double lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2156 of file variable_and_expressions.h.

◆ operator+() [15/35]

LinearExpression operations_research::math_opt::operator+ ( double lhs,
LinearExpression rhs )
inline

Definition at line 1403 of file variable_and_expressions.h.

◆ operator+() [16/35]

QuadraticExpression operations_research::math_opt::operator+ ( double lhs,
QuadraticExpression rhs )
inline

Definition at line 2160 of file variable_and_expressions.h.

◆ operator+() [17/35]

LinearExpression operations_research::math_opt::operator+ ( double lhs,
Variable rhs )
inline

Definition at line 1370 of file variable_and_expressions.h.

◆ operator+() [18/35]

LinearExpression operations_research::math_opt::operator+ ( LinearExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 1426 of file variable_and_expressions.h.

◆ operator+() [19/35]

LinearExpression operations_research::math_opt::operator+ ( LinearExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 1416 of file variable_and_expressions.h.

◆ operator+() [20/35]

QuadraticExpression operations_research::math_opt::operator+ ( LinearExpression lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2183 of file variable_and_expressions.h.

◆ operator+() [21/35]

LinearExpression operations_research::math_opt::operator+ ( LinearExpression lhs,
double rhs )
inline

Definition at line 1398 of file variable_and_expressions.h.

◆ operator+() [22/35]

LinearExpression operations_research::math_opt::operator+ ( LinearExpression lhs,
Variable rhs )
inline

Definition at line 1408 of file variable_and_expressions.h.

◆ operator+() [23/35]

LinearExpression operations_research::math_opt::operator+ ( LinearTerm lhs,
LinearExpression rhs )
inline

Definition at line 1421 of file variable_and_expressions.h.

◆ operator+() [24/35]

QuadraticExpression operations_research::math_opt::operator+ ( QuadraticExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 2239 of file variable_and_expressions.h.

◆ operator+() [25/35]

QuadraticExpression operations_research::math_opt::operator+ ( QuadraticExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 2234 of file variable_and_expressions.h.

◆ operator+() [26/35]

QuadraticExpression operations_research::math_opt::operator+ ( QuadraticExpression lhs,
const QuadraticExpression & rhs )
inline

Definition at line 2251 of file variable_and_expressions.h.

◆ operator+() [27/35]

QuadraticExpression operations_research::math_opt::operator+ ( QuadraticExpression lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2245 of file variable_and_expressions.h.

◆ operator+() [28/35]

QuadraticExpression operations_research::math_opt::operator+ ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2224 of file variable_and_expressions.h.

◆ operator+() [29/35]

QuadraticExpression operations_research::math_opt::operator+ ( QuadraticExpression lhs,
Variable rhs )
inline

Definition at line 2229 of file variable_and_expressions.h.

◆ operator+() [30/35]

LinearExpression operations_research::math_opt::operator+ ( Variable lhs,
const LinearTerm & rhs )
inline

Definition at line 1390 of file variable_and_expressions.h.

◆ operator+() [31/35]

QuadraticExpression operations_research::math_opt::operator+ ( Variable lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2165 of file variable_and_expressions.h.

◆ operator+() [32/35]

LinearExpression operations_research::math_opt::operator+ ( Variable lhs,
double rhs )
inline

Definition at line 1366 of file variable_and_expressions.h.

◆ operator+() [33/35]

LinearExpression operations_research::math_opt::operator+ ( Variable lhs,
LinearExpression rhs )
inline

Definition at line 1412 of file variable_and_expressions.h.

◆ operator+() [34/35]

QuadraticExpression operations_research::math_opt::operator+ ( Variable lhs,
QuadraticExpression rhs )
inline

Definition at line 2169 of file variable_and_expressions.h.

◆ operator+() [35/35]

LinearExpression operations_research::math_opt::operator+ ( Variable lhs,
Variable rhs )
inline

Definition at line 1374 of file variable_and_expressions.h.

◆ operator-() [1/38]

QuadraticExpression operations_research::math_opt::operator- ( const LinearExpression & lhs,
QuadraticExpression rhs )
inline

Definition at line 2311 of file variable_and_expressions.h.

◆ operator-() [2/38]

LinearExpression operations_research::math_opt::operator- ( const LinearTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 1459 of file variable_and_expressions.h.

◆ operator-() [3/38]

QuadraticExpression operations_research::math_opt::operator- ( const LinearTerm & lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2295 of file variable_and_expressions.h.

◆ operator-() [4/38]

LinearExpression operations_research::math_opt::operator- ( const LinearTerm & lhs,
double rhs )
inline

Definition at line 1443 of file variable_and_expressions.h.

◆ operator-() [5/38]

QuadraticExpression operations_research::math_opt::operator- ( const LinearTerm & lhs,
QuadraticExpression rhs )
inline

Definition at line 2299 of file variable_and_expressions.h.

◆ operator-() [6/38]

LinearExpression operations_research::math_opt::operator- ( const LinearTerm & lhs,
Variable rhs )
inline

Definition at line 1451 of file variable_and_expressions.h.

◆ operator-() [7/38]

QuadraticExpression operations_research::math_opt::operator- ( const QuadraticTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 2326 of file variable_and_expressions.h.

◆ operator-() [8/38]

QuadraticExpression operations_research::math_opt::operator- ( const QuadraticTerm & lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2336 of file variable_and_expressions.h.

◆ operator-() [9/38]

QuadraticExpression operations_research::math_opt::operator- ( const QuadraticTerm & lhs,
double rhs )
inline

Definition at line 2318 of file variable_and_expressions.h.

◆ operator-() [10/38]

QuadraticExpression operations_research::math_opt::operator- ( const QuadraticTerm & lhs,
LinearExpression rhs )
inline

Definition at line 2330 of file variable_and_expressions.h.

◆ operator-() [11/38]

QuadraticExpression operations_research::math_opt::operator- ( const QuadraticTerm & lhs,
QuadraticExpression rhs )
inline

Definition at line 2341 of file variable_and_expressions.h.

◆ operator-() [12/38]

QuadraticExpression operations_research::math_opt::operator- ( const QuadraticTerm & lhs,
Variable rhs )
inline

Definition at line 2322 of file variable_and_expressions.h.

◆ operator-() [13/38]

LinearExpression operations_research::math_opt::operator- ( double lhs,
const LinearTerm & rhs )
inline

Definition at line 1447 of file variable_and_expressions.h.

◆ operator-() [14/38]

QuadraticExpression operations_research::math_opt::operator- ( double lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2277 of file variable_and_expressions.h.

◆ operator-() [15/38]

LinearExpression operations_research::math_opt::operator- ( double lhs,
LinearExpression rhs )
inline

Definition at line 1468 of file variable_and_expressions.h.

◆ operator-() [16/38]

QuadraticExpression operations_research::math_opt::operator- ( double lhs,
QuadraticExpression rhs )
inline

Definition at line 2281 of file variable_and_expressions.h.

◆ operator-() [17/38]

LinearExpression operations_research::math_opt::operator- ( double lhs,
Variable rhs )
inline

Definition at line 1435 of file variable_and_expressions.h.

◆ operator-() [18/38]

LinearExpression operations_research::math_opt::operator- ( LinearExpression expr)
inline

Definition at line 1358 of file variable_and_expressions.h.

◆ operator-() [19/38]

LinearExpression operations_research::math_opt::operator- ( LinearExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 1493 of file variable_and_expressions.h.

◆ operator-() [20/38]

LinearExpression operations_research::math_opt::operator- ( LinearExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 1482 of file variable_and_expressions.h.

◆ operator-() [21/38]

QuadraticExpression operations_research::math_opt::operator- ( LinearExpression lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2305 of file variable_and_expressions.h.

◆ operator-() [22/38]

LinearExpression operations_research::math_opt::operator- ( LinearExpression lhs,
double rhs )
inline

Definition at line 1463 of file variable_and_expressions.h.

◆ operator-() [23/38]

LinearExpression operations_research::math_opt::operator- ( LinearExpression lhs,
Variable rhs )
inline

Definition at line 1474 of file variable_and_expressions.h.

◆ operator-() [24/38]

LinearExpression operations_research::math_opt::operator- ( LinearTerm lhs,
LinearExpression rhs )
inline

Definition at line 1487 of file variable_and_expressions.h.

◆ operator-() [25/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression expr)
inline

Definition at line 2266 of file variable_and_expressions.h.

◆ operator-() [26/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 2366 of file variable_and_expressions.h.

◆ operator-() [27/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 2354 of file variable_and_expressions.h.

◆ operator-() [28/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression lhs,
const QuadraticExpression & rhs )
inline

Definition at line 2378 of file variable_and_expressions.h.

◆ operator-() [29/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2372 of file variable_and_expressions.h.

◆ operator-() [30/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2348 of file variable_and_expressions.h.

◆ operator-() [31/38]

QuadraticExpression operations_research::math_opt::operator- ( QuadraticExpression lhs,
Variable rhs )
inline

Definition at line 2359 of file variable_and_expressions.h.

◆ operator-() [32/38]

QuadraticTerm operations_research::math_opt::operator- ( QuadraticTerm term)
inline

Definition at line 2260 of file variable_and_expressions.h.

◆ operator-() [33/38]

LinearExpression operations_research::math_opt::operator- ( Variable lhs,
const LinearTerm & rhs )
inline

Definition at line 1455 of file variable_and_expressions.h.

◆ operator-() [34/38]

QuadraticExpression operations_research::math_opt::operator- ( Variable lhs,
const QuadraticTerm & rhs )
inline

Definition at line 2287 of file variable_and_expressions.h.

◆ operator-() [35/38]

LinearExpression operations_research::math_opt::operator- ( Variable lhs,
double rhs )
inline

Definition at line 1431 of file variable_and_expressions.h.

◆ operator-() [36/38]

LinearExpression operations_research::math_opt::operator- ( Variable lhs,
LinearExpression rhs )
inline

Definition at line 1478 of file variable_and_expressions.h.

◆ operator-() [37/38]

QuadraticExpression operations_research::math_opt::operator- ( Variable lhs,
QuadraticExpression rhs )
inline

Definition at line 2291 of file variable_and_expressions.h.

◆ operator-() [38/38]

LinearExpression operations_research::math_opt::operator- ( Variable lhs,
Variable rhs )
inline

Definition at line 1439 of file variable_and_expressions.h.

◆ operator/() [1/5]

LinearExpression operations_research::math_opt::operator/ ( LinearExpression lhs,
double rhs )
inline

Definition at line 1508 of file variable_and_expressions.h.

◆ operator/() [2/5]

LinearTerm operations_research::math_opt::operator/ ( LinearTerm term,
double coefficient )
inline

Definition at line 1299 of file variable_and_expressions.h.

◆ operator/() [3/5]

QuadraticExpression operations_research::math_opt::operator/ ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2500 of file variable_and_expressions.h.

◆ operator/() [4/5]

QuadraticTerm operations_research::math_opt::operator/ ( QuadraticTerm lhs,
double rhs )
inline

Definition at line 2495 of file variable_and_expressions.h.

◆ operator/() [5/5]

LinearTerm operations_research::math_opt::operator/ ( Variable variable,
double coefficient )
inline

Definition at line 1304 of file variable_and_expressions.h.

◆ operator<<() [1/60]

template<typename AttrT>
std::enable_if_t<(GetIndexIfAttr< AttrT >() >=0), std::ostream & > operations_research::math_opt::operator<< ( std::ostream & ostr,
AttrT attr )

Definition at line 336 of file attributes.h.

◆ operator<<() [2/60]

template<int n, typename Symmetry>
std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const AttrKey< n, Symmetry > & key )

Definition at line 227 of file attr_key.h.

◆ operator<<() [3/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const BoundedLinearExpression & bounded_expression )

Definition at line 106 of file variable_and_expressions.cc.

◆ operator<<() [4/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const BoundedQuadraticExpression & bounded_expression )

Definition at line 190 of file variable_and_expressions.cc.

◆ operator<<() [5/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const Elemental & elemental )

Definition at line 170 of file elemental.cc.

◆ operator<<() [6/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const ElementType element_type )

Definition at line 30 of file elements.cc.

◆ operator<<() [7/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const InfeasibleSubsystemSupport & support_menu )

Definition at line 43 of file infeasible_subsystem_tests.cc.

◆ operator<<() [8/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const InfeasibleSubsystemTestParameters & params )

Definition at line 51 of file infeasible_subsystem_tests.cc.

◆ operator<<() [9/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const IpParameterTestParameters & params )

Definition at line 165 of file ip_parameter_tests.cc.

◆ operator<<() [10/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const LinearExpression & expression )

Definition at line 86 of file variable_and_expressions.cc.

◆ operator<<() [11/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const Model & model )

Definition at line 312 of file model.cc.

◆ operator<<() [12/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const Objective & objective )

Definition at line 61 of file objective.cc.

◆ operator<<() [13/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const ObjectiveBounds & objective_bounds )

Definition at line 66 of file solve_result.cc.

◆ operator<<() [14/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const ParameterSupport & param_support )

Definition at line 110 of file ip_parameter_tests.cc.

◆ operator<<() [15/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const ProblemStatus & problem_status )

Definition at line 433 of file solve_result.cc.

◆ operator<<() [16/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const QuadraticExpression & expr )

Definition at line 160 of file variable_and_expressions.cc.

◆ operator<<() [17/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const QuadraticTermKey & key )
inline

Definition at line 2024 of file variable_and_expressions.h.

◆ operator<<() [18/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const SecondOrderConeConstraint & constraint )
inline

Definition at line 125 of file second_order_cone_constraint.h.

◆ operator<<() [19/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const SolveResultSupport & solve_result_support )

Definition at line 94 of file ip_parameter_tests.cc.

◆ operator<<() [20/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const SolveStats & solve_stats )

Definition at line 475 of file solve_result.cc.

◆ operator<<() [21/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const Sos1Constraint & constraint )
inline

Definition at line 127 of file sos1_constraint.h.

◆ operator<<() [22/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const Sos2Constraint & constraint )
inline

Definition at line 127 of file sos2_constraint.h.

◆ operator<<() [23/60]

template<auto tag>
std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const TaggedId< tag > & id )

Definition at line 117 of file tagged_id.h.

◆ operator<<() [24/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & ostr,
const Termination & termination )

Definition at line 387 of file solve_result.cc.

◆ operator<<() [25/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const BaseSolver::ComputeInfeasibleSubsystemArgs & args )

Definition at line 43 of file base_solver.cc.

◆ operator<<() [26/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const BaseSolver::SolveArgs & args )

Definition at line 32 of file base_solver.cc.

◆ operator<<() [27/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const BranchPrioritiesTestParams & params )

Definition at line 54 of file ip_model_solve_parameters_tests.cc.

◆ operator<<() [28/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const CallbackTestParams & params )

Definition at line 111 of file callback_tests.cc.

◆ operator<<() [29/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const ComputeInfeasibleSubsystemResult & result )

Definition at line 390 of file compute_infeasible_subsystem_result.cc.

◆ operator<<() [30/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const ConstantFormatter formatter )
inline

Definition at line 72 of file formatters.h.

◆ operator<<() [31/60]

template<typename E>
std::enable_if_t< Enum< E >::kIsImplemented, std::ostream & > operations_research::math_opt::operator<< ( std::ostream & out,
const E value )

Definition at line 225 of file enums.h.

◆ operator<<() [32/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const FileFormat f )

Definition at line 76 of file file_format_flags.cc.

◆ operator<<() [33/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const GenericTestParameters & params )

Definition at line 67 of file generic_tests.cc.

◆ operator<<() [34/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const InvalidInputTestParameters & params )

Definition at line 39 of file invalid_input_tests.cc.

◆ operator<<() [35/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const InvalidParameterTestParams & params )

Definition at line 58 of file invalid_input_tests.cc.

◆ operator<<() [36/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const IpMultipleSolutionsTestParams & params )

Definition at line 29 of file ip_multiple_solutions_tests.cc.

◆ operator<<() [37/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LargeInstanceTestParams & params )

Definition at line 178 of file ip_parameter_tests.cc.

◆ operator<<() [38/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LazyConstraintsTestParams & params )

Definition at line 61 of file ip_model_solve_parameters_tests.cc.

◆ operator<<() [39/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LeadingCoefficientFormatter formatter )
inline

Definition at line 37 of file formatters.h.

◆ operator<<() [40/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LogicalConstraintTestParameters & params )

Definition at line 56 of file logical_constraint_tests.cc.

◆ operator<<() [41/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LpIncompleteSolveTestParams & params )

Definition at line 56 of file lp_incomplete_solve_tests.cc.

◆ operator<<() [42/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LpModelSolveParametersTestParameters & params )

Definition at line 31 of file lp_model_solve_parameters_tests.cc.

◆ operator<<() [43/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const LpParameterTestParams & params )

Definition at line 53 of file lp_parameter_tests.cc.

◆ operator<<() [44/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const MessageCallbackTestParams & params )

Definition at line 65 of file callback_tests.cc.

◆ operator<<() [45/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const ModelRanges & ranges )

Definition at line 70 of file statistics.cc.

◆ operator<<() [46/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const ModelSubset & model_subset )

Definition at line 308 of file compute_infeasible_subsystem_result.cc.

◆ operator<<() [47/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const ModelSubset::Bounds & bounds )

Definition at line 66 of file compute_infeasible_subsystem_result.cc.

◆ operator<<() [48/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const MultiObjectiveTestParameters & params )

Definition at line 67 of file multi_objective_tests.cc.

◆ operator<<() [49/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const QcTestParameters & params )

Definition at line 45 of file qc_tests.cc.

◆ operator<<() [50/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const QpTestParameters & params )

Definition at line 77 of file qp_tests.cc.

◆ operator<<() [51/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const RemoteStreamingSolveMode mode )

Definition at line 55 of file remote_streaming_mode.cc.

◆ operator<<() [52/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const SecondOrderConeTestParameters & params )

Definition at line 41 of file second_order_cone_tests.cc.

◆ operator<<() [53/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const SimpleLpTestParameters & params )

Definition at line 51 of file lp_tests.cc.

◆ operator<<() [54/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const SimpleMipTestParameters & params )

Definition at line 45 of file mip_tests.cc.

◆ operator<<() [55/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const SolutionHintTestParams & params )

Definition at line 45 of file ip_model_solve_parameters_tests.cc.

◆ operator<<() [56/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const SolveResult & result )

Definition at line 690 of file solve_result.cc.

◆ operator<<() [57/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const SolverResources & resources )

Definition at line 27 of file solver_resources.cc.

◆ operator<<() [58/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const StatusTestParameters & params )

Definition at line 43 of file status_tests.cc.

◆ operator<<() [59/60]

template<typename E, typename = std::enable_if_t<Enum<E>::kIsImplemented>>
std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const std::optional< E > opt_value )

Definition at line 254 of file enums.h.

◆ operator<<() [60/60]

std::ostream & operations_research::math_opt::operator<< ( std::ostream & out,
const TimeLimitTestParameters & params )

Definition at line 48 of file generic_tests.cc.

◆ operator<=() [1/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( const LinearExpression & lhs,
QuadraticExpression rhs )
inline

Definition at line 2998 of file variable_and_expressions.h.

◆ operator<=() [2/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( const LinearTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 1879 of file variable_and_expressions.h.

◆ operator<=() [3/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( const LinearTerm & lhs,
LinearExpression rhs )
inline

Definition at line 1847 of file variable_and_expressions.h.

◆ operator<=() [4/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( const LinearTerm & lhs,
Variable rhs )
inline

Definition at line 1894 of file variable_and_expressions.h.

◆ operator<=() [5/39]

UpperBoundedLinearExpression operations_research::math_opt::operator<= ( const LinearTerm & term,
double constant )
inline

Definition at line 1767 of file variable_and_expressions.h.

◆ operator<=() [6/39]

LowerBoundedLinearExpression operations_research::math_opt::operator<= ( double constant,
const LinearTerm & term )
inline

Definition at line 1742 of file variable_and_expressions.h.

◆ operator<=() [7/39]

LowerBoundedLinearExpression operations_research::math_opt::operator<= ( double constant,
LinearExpression expression )
inline

Definition at line 1732 of file variable_and_expressions.h.

◆ operator<=() [8/39]

LowerBoundedLinearExpression operations_research::math_opt::operator<= ( double constant,
Variable variable )
inline

Definition at line 1752 of file variable_and_expressions.h.

◆ operator<=() [9/39]

LowerBoundedQuadraticExpression operations_research::math_opt::operator<= ( double lhs,
QuadraticExpression rhs )
inline

Definition at line 2771 of file variable_and_expressions.h.

◆ operator<=() [10/39]

LowerBoundedQuadraticExpression operations_research::math_opt::operator<= ( double lhs,
QuadraticTerm rhs )
inline

Definition at line 2775 of file variable_and_expressions.h.

◆ operator<=() [11/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( double lhs,
UpperBoundedLinearExpression rhs )
inline

Definition at line 1808 of file variable_and_expressions.h.

◆ operator<=() [12/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( double lhs,
UpperBoundedQuadraticExpression rhs )
inline

Definition at line 2812 of file variable_and_expressions.h.

◆ operator<=() [13/39]

UpperBoundedLinearExpression operations_research::math_opt::operator<= ( LinearExpression expression,
double constant )
inline

Definition at line 1757 of file variable_and_expressions.h.

◆ operator<=() [14/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( LinearExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 1815 of file variable_and_expressions.h.

◆ operator<=() [15/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( LinearExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 1831 of file variable_and_expressions.h.

◆ operator<=() [16/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( LinearExpression lhs,
QuadraticTerm rhs )
inline

Definition at line 3004 of file variable_and_expressions.h.

◆ operator<=() [17/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( LinearExpression lhs,
Variable rhs )
inline

Definition at line 1863 of file variable_and_expressions.h.

◆ operator<=() [18/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( LinearTerm lhs,
QuadraticExpression rhs )
inline

Definition at line 3030 of file variable_and_expressions.h.

◆ operator<=() [19/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( LinearTerm lhs,
QuadraticTerm rhs )
inline

Definition at line 3036 of file variable_and_expressions.h.

◆ operator<=() [20/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( LowerBoundedLinearExpression lhs,
double rhs )
inline

Definition at line 1787 of file variable_and_expressions.h.

◆ operator<=() [21/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( LowerBoundedQuadraticExpression lhs,
double rhs )
inline

Definition at line 2807 of file variable_and_expressions.h.

◆ operator<=() [22/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 2860 of file variable_and_expressions.h.

◆ operator<=() [23/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticExpression lhs,
const QuadraticExpression & rhs )
inline

Definition at line 2848 of file variable_and_expressions.h.

◆ operator<=() [24/39]

UpperBoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2788 of file variable_and_expressions.h.

◆ operator<=() [25/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticExpression lhs,
LinearTerm rhs )
inline

Definition at line 2866 of file variable_and_expressions.h.

◆ operator<=() [26/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticExpression lhs,
QuadraticTerm rhs )
inline

Definition at line 2854 of file variable_and_expressions.h.

◆ operator<=() [27/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticExpression lhs,
Variable rhs )
inline

Definition at line 2872 of file variable_and_expressions.h.

◆ operator<=() [28/39]

UpperBoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticTerm lhs,
double rhs )
inline

Definition at line 2792 of file variable_and_expressions.h.

◆ operator<=() [29/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticTerm lhs,
LinearExpression rhs )
inline

Definition at line 2946 of file variable_and_expressions.h.

◆ operator<=() [30/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticTerm lhs,
LinearTerm rhs )
inline

Definition at line 2951 of file variable_and_expressions.h.

◆ operator<=() [31/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticTerm lhs,
QuadraticExpression rhs )
inline

Definition at line 2935 of file variable_and_expressions.h.

◆ operator<=() [32/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticTerm lhs,
QuadraticTerm rhs )
inline

Definition at line 2941 of file variable_and_expressions.h.

◆ operator<=() [33/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( QuadraticTerm lhs,
Variable rhs )
inline

Definition at line 2956 of file variable_and_expressions.h.

◆ operator<=() [34/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( Variable lhs,
const LinearTerm & rhs )
inline

Definition at line 1902 of file variable_and_expressions.h.

◆ operator<=() [35/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( Variable lhs,
LinearExpression rhs )
inline

Definition at line 1871 of file variable_and_expressions.h.

◆ operator<=() [36/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( Variable lhs,
QuadraticExpression rhs )
inline

Definition at line 3062 of file variable_and_expressions.h.

◆ operator<=() [37/39]

BoundedQuadraticExpression operations_research::math_opt::operator<= ( Variable lhs,
QuadraticTerm rhs )
inline

Definition at line 3068 of file variable_and_expressions.h.

◆ operator<=() [38/39]

BoundedLinearExpression operations_research::math_opt::operator<= ( Variable lhs,
Variable rhs )
inline

Definition at line 1910 of file variable_and_expressions.h.

◆ operator<=() [39/39]

UpperBoundedLinearExpression operations_research::math_opt::operator<= ( Variable variable,
double constant )
inline

Definition at line 1777 of file variable_and_expressions.h.

◆ operator==() [1/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( const LinearExpression & lhs,
QuadraticExpression rhs )
inline

Definition at line 3009 of file variable_and_expressions.h.

◆ operator==() [2/40]

BoundedLinearExpression operations_research::math_opt::operator== ( const LinearTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 1959 of file variable_and_expressions.h.

◆ operator==() [3/40]

BoundedLinearExpression operations_research::math_opt::operator== ( const LinearTerm & lhs,
double rhs )
inline

Definition at line 1974 of file variable_and_expressions.h.

◆ operator==() [4/40]

BoundedLinearExpression operations_research::math_opt::operator== ( const LinearTerm & lhs,
LinearExpression rhs )
inline

Definition at line 1932 of file variable_and_expressions.h.

◆ operator==() [5/40]

BoundedLinearExpression operations_research::math_opt::operator== ( const LinearTerm & lhs,
Variable rhs )
inline

Definition at line 1966 of file variable_and_expressions.h.

◆ operator==() [6/40]

bool operations_research::math_opt::operator== ( const Objective & lhs,
const Objective & rhs )

Definition at line 199 of file objective.h.

◆ operator==() [7/40]

bool operations_research::math_opt::operator== ( const SecondOrderConeConstraint & lhs,
const SecondOrderConeConstraint & rhs )

Definition at line 110 of file second_order_cone_constraint.h.

◆ operator==() [8/40]

bool operations_research::math_opt::operator== ( const Sos1Constraint & lhs,
const Sos1Constraint & rhs )

Definition at line 114 of file sos1_constraint.h.

◆ operator==() [9/40]

bool operations_research::math_opt::operator== ( const Sos2Constraint & lhs,
const Sos2Constraint & rhs )

Definition at line 114 of file sos2_constraint.h.

◆ operator==() [10/40]

internal::VariablesEquality operations_research::math_opt::operator== ( const Variable & lhs,
const Variable & rhs )
inline

Definition at line 1669 of file variable_and_expressions.h.

◆ operator==() [11/40]

BoundedLinearExpression operations_research::math_opt::operator== ( double lhs,
const LinearTerm & rhs )
inline

Definition at line 1979 of file variable_and_expressions.h.

◆ operator==() [12/40]

BoundedLinearExpression operations_research::math_opt::operator== ( double lhs,
LinearExpression rhs )
inline

Definition at line 1953 of file variable_and_expressions.h.

◆ operator==() [13/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( double lhs,
QuadraticExpression rhs )
inline

Definition at line 3084 of file variable_and_expressions.h.

◆ operator==() [14/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( double lhs,
QuadraticTerm rhs )
inline

Definition at line 3089 of file variable_and_expressions.h.

◆ operator==() [15/40]

BoundedLinearExpression operations_research::math_opt::operator== ( double lhs,
Variable rhs )
inline

Definition at line 1988 of file variable_and_expressions.h.

◆ operator==() [16/40]

BoundedLinearExpression operations_research::math_opt::operator== ( LinearExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 1918 of file variable_and_expressions.h.

◆ operator==() [17/40]

BoundedLinearExpression operations_research::math_opt::operator== ( LinearExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 1925 of file variable_and_expressions.h.

◆ operator==() [18/40]

BoundedLinearExpression operations_research::math_opt::operator== ( LinearExpression lhs,
double rhs )
inline

Definition at line 1947 of file variable_and_expressions.h.

◆ operator==() [19/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( LinearExpression lhs,
QuadraticTerm rhs )
inline

Definition at line 3014 of file variable_and_expressions.h.

◆ operator==() [20/40]

BoundedLinearExpression operations_research::math_opt::operator== ( LinearExpression lhs,
Variable rhs )
inline

Definition at line 1939 of file variable_and_expressions.h.

◆ operator==() [21/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( LinearTerm lhs,
QuadraticExpression rhs )
inline

Definition at line 3041 of file variable_and_expressions.h.

◆ operator==() [22/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( LinearTerm lhs,
QuadraticTerm rhs )
inline

Definition at line 3046 of file variable_and_expressions.h.

◆ operator==() [23/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 2888 of file variable_and_expressions.h.

◆ operator==() [24/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticExpression lhs,
const QuadraticExpression & rhs )
inline

Definition at line 2878 of file variable_and_expressions.h.

◆ operator==() [25/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2903 of file variable_and_expressions.h.

◆ operator==() [26/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticExpression lhs,
LinearTerm rhs )
inline

Definition at line 2893 of file variable_and_expressions.h.

◆ operator==() [27/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticExpression lhs,
QuadraticTerm rhs )
inline

Definition at line 2883 of file variable_and_expressions.h.

◆ operator==() [28/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticExpression lhs,
Variable rhs )
inline

Definition at line 2898 of file variable_and_expressions.h.

◆ operator==() [29/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticTerm lhs,
double rhs )
inline

Definition at line 2982 of file variable_and_expressions.h.

◆ operator==() [30/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticTerm lhs,
LinearExpression rhs )
inline

Definition at line 2970 of file variable_and_expressions.h.

◆ operator==() [31/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticTerm lhs,
LinearTerm rhs )
inline

Definition at line 2974 of file variable_and_expressions.h.

◆ operator==() [32/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticTerm lhs,
QuadraticExpression rhs )
inline

Definition at line 2961 of file variable_and_expressions.h.

◆ operator==() [33/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticTerm lhs,
QuadraticTerm rhs )
inline

Definition at line 2966 of file variable_and_expressions.h.

◆ operator==() [34/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( QuadraticTerm lhs,
Variable rhs )
inline

Definition at line 2978 of file variable_and_expressions.h.

◆ operator==() [35/40]

bool operations_research::math_opt::operator== ( QuadraticTermKey lhs,
QuadraticTermKey rhs )
inline

Definition at line 2030 of file variable_and_expressions.h.

◆ operator==() [36/40]

BoundedLinearExpression operations_research::math_opt::operator== ( Variable lhs,
const LinearTerm & rhs )
inline

Definition at line 1970 of file variable_and_expressions.h.

◆ operator==() [37/40]

BoundedLinearExpression operations_research::math_opt::operator== ( Variable lhs,
double rhs )
inline

Definition at line 1984 of file variable_and_expressions.h.

◆ operator==() [38/40]

BoundedLinearExpression operations_research::math_opt::operator== ( Variable lhs,
LinearExpression rhs )
inline

Definition at line 1943 of file variable_and_expressions.h.

◆ operator==() [39/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( Variable lhs,
QuadraticExpression rhs )
inline

Definition at line 3073 of file variable_and_expressions.h.

◆ operator==() [40/40]

BoundedQuadraticExpression operations_research::math_opt::operator== ( Variable lhs,
QuadraticTerm rhs )
inline

Definition at line 3078 of file variable_and_expressions.h.

◆ operator>=() [1/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( const LinearExpression & lhs,
QuadraticExpression rhs )
inline

Definition at line 2987 of file variable_and_expressions.h.

◆ operator>=() [2/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( const LinearTerm & lhs,
const LinearTerm & rhs )
inline

Definition at line 1887 of file variable_and_expressions.h.

◆ operator>=() [3/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( const LinearTerm & lhs,
LinearExpression rhs )
inline

Definition at line 1855 of file variable_and_expressions.h.

◆ operator>=() [4/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( const LinearTerm & lhs,
Variable rhs )
inline

Definition at line 1898 of file variable_and_expressions.h.

◆ operator>=() [5/39]

LowerBoundedLinearExpression operations_research::math_opt::operator>= ( const LinearTerm & term,
double constant )
inline

Definition at line 1737 of file variable_and_expressions.h.

◆ operator>=() [6/39]

UpperBoundedLinearExpression operations_research::math_opt::operator>= ( double constant,
const LinearTerm & term )
inline

Definition at line 1772 of file variable_and_expressions.h.

◆ operator>=() [7/39]

UpperBoundedLinearExpression operations_research::math_opt::operator>= ( double constant,
LinearExpression expression )
inline

Definition at line 1762 of file variable_and_expressions.h.

◆ operator>=() [8/39]

UpperBoundedLinearExpression operations_research::math_opt::operator>= ( double constant,
Variable variable )
inline

Definition at line 1782 of file variable_and_expressions.h.

◆ operator>=() [9/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( double lhs,
LowerBoundedLinearExpression rhs )
inline

Definition at line 1794 of file variable_and_expressions.h.

◆ operator>=() [10/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( double lhs,
LowerBoundedQuadraticExpression rhs )
inline

Definition at line 2802 of file variable_and_expressions.h.

◆ operator>=() [11/39]

UpperBoundedQuadraticExpression operations_research::math_opt::operator>= ( double lhs,
QuadraticExpression rhs )
inline

Definition at line 2780 of file variable_and_expressions.h.

◆ operator>=() [12/39]

UpperBoundedQuadraticExpression operations_research::math_opt::operator>= ( double lhs,
QuadraticTerm rhs )
inline

Definition at line 2784 of file variable_and_expressions.h.

◆ operator>=() [13/39]

LowerBoundedLinearExpression operations_research::math_opt::operator>= ( LinearExpression expression,
double constant )
inline

Definition at line 1727 of file variable_and_expressions.h.

◆ operator>=() [14/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( LinearExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 1823 of file variable_and_expressions.h.

◆ operator>=() [15/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( LinearExpression lhs,
const LinearTerm & rhs )
inline

Definition at line 1839 of file variable_and_expressions.h.

◆ operator>=() [16/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( LinearExpression lhs,
QuadraticTerm rhs )
inline

Definition at line 2993 of file variable_and_expressions.h.

◆ operator>=() [17/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( LinearExpression lhs,
Variable rhs )
inline

Definition at line 1867 of file variable_and_expressions.h.

◆ operator>=() [18/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( LinearTerm lhs,
QuadraticExpression rhs )
inline

Definition at line 3019 of file variable_and_expressions.h.

◆ operator>=() [19/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( LinearTerm lhs,
QuadraticTerm rhs )
inline

Definition at line 3025 of file variable_and_expressions.h.

◆ operator>=() [20/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticExpression lhs,
const LinearExpression & rhs )
inline

Definition at line 2830 of file variable_and_expressions.h.

◆ operator>=() [21/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticExpression lhs,
const QuadraticExpression & rhs )
inline

Definition at line 2818 of file variable_and_expressions.h.

◆ operator>=() [22/39]

LowerBoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticExpression lhs,
double rhs )
inline

Definition at line 2763 of file variable_and_expressions.h.

◆ operator>=() [23/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticExpression lhs,
LinearTerm rhs )
inline

Definition at line 2836 of file variable_and_expressions.h.

◆ operator>=() [24/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticExpression lhs,
QuadraticTerm rhs )
inline

Definition at line 2824 of file variable_and_expressions.h.

◆ operator>=() [25/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticExpression lhs,
Variable rhs )
inline

Definition at line 2842 of file variable_and_expressions.h.

◆ operator>=() [26/39]

LowerBoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticTerm lhs,
double rhs )
inline

Definition at line 2767 of file variable_and_expressions.h.

◆ operator>=() [27/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticTerm lhs,
LinearExpression rhs )
inline

Definition at line 2920 of file variable_and_expressions.h.

◆ operator>=() [28/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticTerm lhs,
LinearTerm rhs )
inline

Definition at line 2925 of file variable_and_expressions.h.

◆ operator>=() [29/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticTerm lhs,
QuadraticExpression rhs )
inline

Definition at line 2909 of file variable_and_expressions.h.

◆ operator>=() [30/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticTerm lhs,
QuadraticTerm rhs )
inline

Definition at line 2915 of file variable_and_expressions.h.

◆ operator>=() [31/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( QuadraticTerm lhs,
Variable rhs )
inline

Definition at line 2930 of file variable_and_expressions.h.

◆ operator>=() [32/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( UpperBoundedLinearExpression lhs,
double rhs )
inline

Definition at line 1801 of file variable_and_expressions.h.

◆ operator>=() [33/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( UpperBoundedQuadraticExpression lhs,
double rhs )
inline

Definition at line 2797 of file variable_and_expressions.h.

◆ operator>=() [34/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( Variable lhs,
const LinearTerm & rhs )
inline

Definition at line 1906 of file variable_and_expressions.h.

◆ operator>=() [35/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( Variable lhs,
LinearExpression rhs )
inline

Definition at line 1875 of file variable_and_expressions.h.

◆ operator>=() [36/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( Variable lhs,
QuadraticExpression rhs )
inline

Definition at line 3051 of file variable_and_expressions.h.

◆ operator>=() [37/39]

BoundedQuadraticExpression operations_research::math_opt::operator>= ( Variable lhs,
QuadraticTerm rhs )
inline

Definition at line 3057 of file variable_and_expressions.h.

◆ operator>=() [38/39]

BoundedLinearExpression operations_research::math_opt::operator>= ( Variable lhs,
Variable rhs )
inline

Definition at line 1914 of file variable_and_expressions.h.

◆ operator>=() [39/39]

LowerBoundedLinearExpression operations_research::math_opt::operator>= ( Variable variable,
double constant )
inline

Definition at line 1747 of file variable_and_expressions.h.

◆ OptimalTerminationProto()

TerminationProto operations_research::math_opt::OptimalTerminationProto ( const double finite_primal_objective,
const double dual_objective,
const absl::string_view detail )

Definition at line 223 of file math_opt_proto_utils.cc.

◆ OptionalFormatFlagPossibleValuesList()

std::string operations_research::math_opt::OptionalFormatFlagPossibleValuesList ( )

Definition at line 145 of file file_format_flags.cc.

◆ PrimalRayIsNear()

testing::Matcher< PrimalRay > operations_research::math_opt::PrimalRayIsNear ( VariableMap< double > expected_var_values,
const double tolerance )

Definition at line 539 of file matchers.cc.

◆ PrinterMessageCallback()

MessageCallback operations_research::math_opt::PrinterMessageCallback ( std::ostream & output_stream,
const absl::string_view prefix )

Definition at line 84 of file message_callback.cc.

◆ PrintTo() [1/8]

template<typename K, typename V, typename = std::enable_if_t<is_key_type_v<K>>>
void operations_research::math_opt::PrintTo ( const absl::flat_hash_map< K, V > & id_map,
std::ostream *const os )

Definition at line 552 of file matchers.h.

◆ PrintTo() [2/8]

void operations_research::math_opt::PrintTo ( const Basis & basis,
std::ostream *const os )

Definition at line 115 of file matchers.cc.

◆ PrintTo() [3/8]

void operations_research::math_opt::PrintTo ( const DualRay & dual_ray,
std::ostream *const os )

Definition at line 110 of file matchers.cc.

◆ PrintTo() [4/8]

void operations_research::math_opt::PrintTo ( const DualSolution & dual_solution,
std::ostream *const os )

Definition at line 96 of file matchers.cc.

◆ PrintTo() [5/8]

void operations_research::math_opt::PrintTo ( const PrimalRay & primal_ray,
std::ostream *const os )

Definition at line 106 of file matchers.cc.

◆ PrintTo() [6/8]

void operations_research::math_opt::PrintTo ( const PrimalSolution & primal_solution,
std::ostream *const os )

Definition at line 89 of file matchers.cc.

◆ PrintTo() [7/8]

void operations_research::math_opt::PrintTo ( const Solution & solution,
std::ostream *const os )

Definition at line 122 of file matchers.cc.

◆ PrintTo() [8/8]

void operations_research::math_opt::PrintTo ( const SolveResult & result,
std::ostream *const os )

Definition at line 128 of file matchers.cc.

◆ ProblemStatusIs()

testing::Matcher< ProblemStatus > operations_research::math_opt::ProblemStatusIs ( const ProblemStatus & expected)

Definition at line 727 of file matchers.cc.

◆ QuadraticConstraintFilterFromProto()

absl::StatusOr< MapFilter< QuadraticConstraint > > operations_research::math_opt::QuadraticConstraintFilterFromProto ( const Model & model,
const SparseVectorFilterProto & proto )

Definition at line 67 of file map_filter.cc.

◆ QuadraticConstraintValuesFromProto()

absl::StatusOr< absl::flat_hash_map< QuadraticConstraint, double > > operations_research::math_opt::QuadraticConstraintValuesFromProto ( const ModelStorageCPtr model,
const SparseDoubleVectorProto & quad_cons_proto )

Definition at line 201 of file sparse_containers.cc.

◆ QuadraticConstraintValuesToProto()

SparseDoubleVectorProto operations_research::math_opt::QuadraticConstraintValuesToProto ( const absl::flat_hash_map< QuadraticConstraint, double > & quadratic_constraint_values)

Definition at line 209 of file sparse_containers.cc.

◆ ReadModel()

absl::StatusOr< std::pair< ModelProto, std::optional< SolutionHintProto > > > operations_research::math_opt::ReadModel ( const absl::string_view file_path,
const FileFormat format )

Definition at line 200 of file file_format_flags.cc.

◆ ReadMpsFile()

absl::StatusOr< ModelProto > operations_research::math_opt::ReadMpsFile ( const absl::string_view filename)

Definition at line 36 of file mps_converter.cc.

◆ ReasonIs()

testing::Matcher< Termination > operations_research::math_opt::ReasonIs ( TerminationReason reason)

Definition at line 719 of file matchers.cc.

◆ ReasonIsOptimal()

testing::Matcher< Termination > operations_research::math_opt::ReasonIsOptimal ( )

Definition at line 723 of file matchers.cc.

◆ REGISTER_TYPED_TEST_SUITE_P()

operations_research::math_opt::REGISTER_TYPED_TEST_SUITE_P ( EnumTest ,
UnderlyingTypeFits ,
AllProtoValues ,
AllCppValuesString  )

◆ RemoveNames() [1/2]

void operations_research::math_opt::RemoveNames ( ModelProto & model)

Definition at line 32 of file names_removal.cc.

◆ RemoveNames() [2/2]

void operations_research::math_opt::RemoveNames ( ModelUpdateProto & update)

Definition at line 44 of file names_removal.cc.

◆ RemoveSparseDoubleVectorZeros()

void operations_research::math_opt::RemoveSparseDoubleVectorZeros ( SparseDoubleVectorProto & sparse_vector)

Definition at line 73 of file math_opt_proto_utils.cc.

◆ RepeatedPtrFieldMessageCallback()

MessageCallback operations_research::math_opt::RepeatedPtrFieldMessageCallback ( google::protobuf::RepeatedPtrField< std::string > * sink)

Definition at line 123 of file message_callback.cc.

◆ ResultForIntegerInfeasible()

SolveResultProto operations_research::math_opt::ResultForIntegerInfeasible ( const bool is_maximize,
const int64_t bad_variable_id,
const double lb,
const double ub )

Definition at line 26 of file empty_bounds.cc.

◆ RoundedLowerBound()

double operations_research::math_opt::RoundedLowerBound ( const Variable v,
const double tolerance )
inline

Definition at line 101 of file solution_improvement.h.

◆ RoundedUpperBound()

double operations_research::math_opt::RoundedUpperBound ( const Variable v,
const double tolerance )
inline

Definition at line 109 of file solution_improvement.h.

◆ SmallModel()

std::unique_ptr< Model > operations_research::math_opt::SmallModel ( const bool integer)

Definition at line 25 of file test_models.cc.

◆ SolutionStatusIs()

Matcher< SolutionStatus > operations_research::math_opt::SolutionStatusIs ( const SolutionStatus expected,
const bool allow_undetermined )

Definition at line 416 of file matchers.cc.

◆ SolutionStatusProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::SolutionStatusProto_descriptor ( )

Definition at line 418 of file solution.pb.cc.

◆ SolutionStatusProto_IsValid()

bool operations_research::math_opt::SolutionStatusProto_IsValid ( int value)
inline

Definition at line 130 of file solution.pb.h.

◆ SolutionStatusProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::SolutionStatusProto_Name ( SolutionStatusProto value)
inline

Definition at line 143 of file solution.pb.h.

◆ SolutionStatusProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::SolutionStatusProto_Name ( T value)

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

◆ SolutionStatusProto_Parse()

bool operations_research::math_opt::SolutionStatusProto_Parse ( ::absl::string_view name,
SolutionStatusProto *PROTOBUF_NONNULL value )
inline

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

◆ Solve()

absl::StatusOr< SolveResult > operations_research::math_opt::Solve ( const Model & model,
const SolverType solver_type,
const SolveArguments & solve_args,
const SolverInitArguments & init_args )

Definition at line 62 of file solve.cc.

◆ SolverTypeProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::SolverTypeProto_descriptor ( )

Definition at line 329 of file parameters.pb.cc.

◆ SolverTypeProto_IsValid()

bool operations_research::math_opt::SolverTypeProto_IsValid ( int value)
inline

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

◆ SolverTypeProto_Name() [1/2]

template<>
const ::std::string & operations_research::math_opt::SolverTypeProto_Name ( SolverTypeProto value)
inline

Definition at line 142 of file parameters.pb.h.

◆ SolverTypeProto_Name() [2/2]

template<typename T>
const ::std::string & operations_research::math_opt::SolverTypeProto_Name ( T value)

Definition at line 135 of file parameters.pb.h.

◆ SolverTypeProto_Parse()

bool operations_research::math_opt::SolverTypeProto_Parse ( ::absl::string_view name,
SolverTypeProto *PROTOBUF_NONNULL value )
inline

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

◆ SolveWithoutUpdate()

<=x<=1 IncrementalMipTest::IncrementalMipTest() :model_("incremental_solve_test"), x_(model_.AddContinuousVariable(0.0, 1.0, "x")), y_(model_.AddIntegerVariable(0.0, 2.0, "y")), c_(model_.AddLinearConstraint(0<=x_+y_<=1.5, "c")) { model_.Maximize(3.0 *x_+2.0 *y_+0.1);solver_=NewIncrementalSolver(&model_, TestedSolver()).value();const SolveResult first_solve=solver_->Solve().value();CHECK(first_solve.has_primal_feasible_solution());CHECK_LE(std::abs(first_solve.objective_value() - 3.6), kTolerance)<< first_solve.objective_value();} namespace { TEST_P(SimpleMipTest, OneVarMax) { Model model;const Variable x=model.AddVariable(0.0, 4.0, false, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, OneVarMin) { Model model;const Variable x=model.AddVariable(-2.4, 4.0, false, "x");model.Minimize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(-4.8));EXPECT_THAT(result.variable_values(), IsNear({{x, -2.4}}));} TEST_P(SimpleMipTest, OneIntegerVar) { Model model;const Variable x=model.AddVariable(0.0, 4.5, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(8.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 4.0}}));} TEST_P(SimpleMipTest, SimpleLinearConstraint) { Model model;const Variable x=model.AddBinaryVariable("x");const Variable y=model.AddBinaryVariable("y");model.Maximize(2.0 *x+y);model.AddLinearConstraint(0.0<=x+y<=1.5, "c");ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, IsOptimal(2.0));EXPECT_THAT(result.variable_values(), IsNear({{x, 1}, {y, 0}}));} TEST_P(SimpleMipTest, Unbounded) { Model model;const Variable x=model.AddVariable(0.0, kInf, true, "x");model.Maximize(2.0 *x);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));if(GetParam().report_unboundness_correctly) { ASSERT_THAT(result, TerminatesWithOneOf({TerminationReason::kUnbounded, TerminationReason::kInfeasibleOrUnbounded}));} else { ASSERT_THAT(result, TerminatesWith(TerminationReason::kOtherError));} } TEST_P(SimpleMipTest, Infeasible) { Model model;const Variable x=model.AddVariable(0.0, 3.0, true, "x");model.Maximize(2.0 *x);model.AddLinearConstraint(x >=4.0);ASSERT_OK_AND_ASSIGN(const SolveResult result, Solve(model, GetParam().solver_type));ASSERT_THAT(result, TerminatesWith(TerminationReason::kInfeasible));} TEST_P(SimpleMipTest, FractionalBoundsContainNoInteger) { if(GetParam().solver_type==SolverType::kGurobi) { GTEST_SKIP()<< "TODO(b/272298816): Gurobi bindings are broken here.";} if(GetParam().solver_type==SolverType::kXpress) { GTEST_SKIP()<< "Xpress does not support contradictory bounds.";} Model model;const Variable x=model.AddIntegerVariable(0.5, 0.6, "x");model.Maximize(x);EXPECT_THAT(Solve(model, GetParam().solver_type), IsOkAndHolds(TerminatesWith(TerminationReason::kInfeasible)));} TEST_P(IncrementalMipTest, EmptyUpdate) { ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(3.6));EXPECT_THAT(result.variable_values(), IsNear({{x_, 0.5}, {y_, 1.0}}));} TEST_P(IncrementalMipTest, MakeContinuous) { model_.set_continuous(y_);ASSERT_THAT(solver_->Update(), IsOkAndHolds(DidUpdate()));ASSERT_OK_AND_ASSIGN(const SolveResult result, solver_->SolveWithoutUpdate());ASSERT_THAT(result, IsOptimal(4.1));EXPECT_THAT(result.variable_values(), IsNear({{x_, 1.0}, {y_, 0.5}}));} TEST_P(IncrementalMipTest, DISABLED_MakeContinuousWithNonIntegralBounds) { solver_.reset();Model model("bounds");const Variable x=model.AddIntegerVariable(0.5, 1.5, "x");model.Maximize(x);ASSERT_OK_AND_ASSIGN(const auto solver, NewIncrementalSolver(&model, TestedSolver()));ASSERT_THAT(solver->Solve(), IsOkAndHolds(IsOptimal(1.0))); model.set_continuous(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver->SolveWithoutUpdate(), IsOkAndHolds(IsOptimal(1.5)));model.Minimize(x);ASSERT_THAT(solver->Update(), IsOkAndHolds(DidUpdate()));ASSERT_THAT(solver-> operations_research::math_opt::SolveWithoutUpdate ( )

◆ SortedAtomicConstraints()

template<typename ConstraintType>
std::vector< ConstraintType > operations_research::math_opt::SortedAtomicConstraints ( const ModelStorage & storage)

Definition at line 69 of file model_util.h.

◆ SortedElements()

template<typename Set, typename = std::enable_if_t<is_key_type_v<typename Set::key_type>>>
std::vector< typename Set::key_type > operations_research::math_opt::SortedElements ( const Set & set)

Definition at line 111 of file key_types.h.

◆ SortedKeys()

template<typename Map, typename = std::enable_if_t<is_key_type_v<typename Map::key_type>>>
std::vector< typename Map::key_type > operations_research::math_opt::SortedKeys ( const Map & map)

Definition at line 88 of file key_types.h.

◆ SortedMapKeys() [1/2]

template<typename K, typename V>
std::vector< K > operations_research::math_opt::SortedMapKeys ( const absl::flat_hash_map< K, V > & in_map)

Definition at line 55 of file sorted.h.

◆ SortedMapKeys() [2/2]

template<typename K, typename V>
std::vector< K > operations_research::math_opt::SortedMapKeys ( const google::protobuf::Map< K, V > & in_map)

Definition at line 62 of file sorted.h.

◆ SortedSetElements()

template<typename T>
std::vector< T > operations_research::math_opt::SortedSetElements ( const absl::flat_hash_set< T > & elements)

Definition at line 28 of file sorted.h.

◆ SparseBasisStatusVectorIsValid()

absl::Status operations_research::math_opt::SparseBasisStatusVectorIsValid ( const SparseVectorView< int > & status_vector_view)

Definition at line 241 of file solution_validator.cc.

◆ SparseMatrixIdsAreKnown()

absl::Status operations_research::math_opt::SparseMatrixIdsAreKnown ( const SparseDoubleMatrixProto & matrix,
const IdNameBiMap & row_ids,
const IdNameBiMap & column_ids )

Definition at line 91 of file sparse_matrix_validator.cc.

◆ SparseMatrixValid()

absl::Status operations_research::math_opt::SparseMatrixValid ( const SparseDoubleMatrixProto & matrix,
const bool enforce_upper_triangular )

Definition at line 30 of file sparse_matrix_validator.cc.

◆ SparseSubmatrixByRows()

SparseSubmatrixRowsView operations_research::math_opt::SparseSubmatrixByRows ( const SparseDoubleMatrixProto & matrix,
const int64_t start_row_id,
const std::optional< int64_t > end_row_id,
const int64_t start_col_id,
const std::optional< int64_t > end_col_id )

Definition at line 47 of file sparse_submatrix.cc.

◆ StreamToString()

template<typename T>
std::string operations_research::math_opt::StreamToString ( const T & value)

Definition at line 25 of file stream.h.

◆ Sum()

template<typename Iterable>
LinearExpression operations_research::math_opt::Sum ( const Iterable & items)
inline

Definition at line 1602 of file variable_and_expressions.h.

◆ TerminateForLimit()

TerminationProto operations_research::math_opt::TerminateForLimit ( const LimitProto limit,
const bool feasible,
const absl::string_view detail )

Definition at line 156 of file math_opt_proto_utils.cc.

◆ TerminateForReason() [1/2]

TerminationProto operations_research::math_opt::TerminateForReason ( const bool is_maximize,
const TerminationReasonProto reason,
const absl::string_view detail )

Definition at line 207 of file math_opt_proto_utils.cc.

◆ TerminateForReason() [2/2]

TerminationProto operations_research::math_opt::TerminateForReason ( const TerminationReasonProto reason,
const absl::string_view detail )

Definition at line 181 of file math_opt_proto_utils.cc.

◆ TerminatesWith()

testing::Matcher< SolveResult > operations_research::math_opt::TerminatesWith ( const TerminationReason expected)

Definition at line 622 of file matchers.cc.

◆ TerminatesWithLimit()

testing::Matcher< SolveResult > operations_research::math_opt::TerminatesWithLimit ( const Limit expected,
const bool allow_limit_undetermined )

Definition at line 649 of file matchers.cc.

◆ TerminatesWithOneOf()

testing::Matcher< SolveResult > operations_research::math_opt::TerminatesWithOneOf ( const std::vector< TerminationReason > & allowed)

Definition at line 616 of file matchers.cc.

◆ TerminatesWithReasonFeasible()

testing::Matcher< SolveResult > operations_research::math_opt::TerminatesWithReasonFeasible ( const Limit expected,
const bool allow_limit_undetermined )

Definition at line 658 of file matchers.cc.

◆ TerminatesWithReasonNoSolutionFound()

testing::Matcher< SolveResult > operations_research::math_opt::TerminatesWithReasonNoSolutionFound ( const Limit expected,
const bool allow_limit_undetermined )

Definition at line 666 of file matchers.cc.

◆ TerminationIsIgnoreDetail()

testing::Matcher< Termination > operations_research::math_opt::TerminationIsIgnoreDetail ( const Termination & expected)

Definition at line 758 of file matchers.cc.

◆ TerminationIsOptimal() [1/2]

testing::Matcher< Termination > operations_research::math_opt::TerminationIsOptimal ( )

Definition at line 737 of file matchers.cc.

◆ TerminationIsOptimal() [2/2]

testing::Matcher< Termination > operations_research::math_opt::TerminationIsOptimal ( const double primal_objective_value,
const std::optional< double > dual_objective_value,
const double tolerance )

Definition at line 746 of file matchers.cc.

◆ TerminationReasonProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::TerminationReasonProto_descriptor ( )

Definition at line 407 of file result.pb.cc.

◆ TerminationReasonProto_IsValid()

bool operations_research::math_opt::TerminationReasonProto_IsValid ( int value)
inline

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

◆ TerminationReasonProto_Name() [1/2]

template<typename T>
const ::std::string & operations_research::math_opt::TerminationReasonProto_Name ( T value)

Definition at line 177 of file result.pb.h.

◆ TerminationReasonProto_Name() [2/2]

template<>
const ::std::string & operations_research::math_opt::TerminationReasonProto_Name ( TerminationReasonProto value)
inline

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

◆ TerminationReasonProto_Parse()

bool operations_research::math_opt::TerminationReasonProto_Parse ( ::absl::string_view name,
TerminationReasonProto *PROTOBUF_NONNULL value )
inline

Definition at line 188 of file result.pb.h.

◆ TEST_P() [1/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
AddLinearConstraint  )

Definition at line 311 of file mip_tests.cc.

◆ TEST_P() [2/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
AddVariable  )

Definition at line 300 of file mip_tests.cc.

◆ TEST_P() [3/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
ChangeBoundsWithTemporaryInversion  )

Definition at line 335 of file mip_tests.cc.

◆ TEST_P() [4/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
DeleteLinearConstraint  )

Definition at line 327 of file mip_tests.cc.

◆ TEST_P() [5/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
DeleteVariable  )

Definition at line 319 of file mip_tests.cc.

◆ TEST_P() [6/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
LinearConstraintCoefficient  )

Definition at line 292 of file mip_tests.cc.

◆ TEST_P() [7/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
LinearConstraintLb  )

Definition at line 269 of file mip_tests.cc.

◆ TEST_P() [8/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
LinearConstraintUb  )

Definition at line 284 of file mip_tests.cc.

◆ TEST_P() [9/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
LinearObjCoef  )

Definition at line 245 of file mip_tests.cc.

◆ TEST_P() [10/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
MakeInteger  )

Definition at line 221 of file mip_tests.cc.

◆ TEST_P() [11/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
MakeIntegralWithNonIntegralBounds  )

Definition at line 200 of file mip_tests.cc.

◆ TEST_P() [12/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
ObjDir  )

Definition at line 229 of file mip_tests.cc.

◆ TEST_P() [13/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
ObjOffset  )

Definition at line 237 of file mip_tests.cc.

◆ TEST_P() [14/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
VariableLb  )

Definition at line 253 of file mip_tests.cc.

◆ TEST_P() [15/34]

operations_research::math_opt::TEST_P ( IncrementalMipTest ,
VariableUb  )

Definition at line 261 of file mip_tests.cc.

◆ TEST_P() [16/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
CanComputeInfeasibleSubsystem  )

Definition at line 58 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [17/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentEqualityLinearConstraint  )

Definition at line 159 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [18/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentEqualityQuadraticConstraint  )

Definition at line 265 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [19/34]

≤ operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentGreaterThanLinearConstraint  )

Definition at line 139 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [20/34]

≤ operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentGreaterThanQuadraticConstraint  )

Definition at line 245 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [21/34]

≤ operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentLessThanLinearConstraint  )

Definition at line 118 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [22/34]

≤ operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentLessThanQuadraticConstraint  )

Definition at line 224 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [23/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentRangedLinearConstraint  )

Definition at line 179 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [24/34]

≤ y y operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentSos1Constraint  )

Definition at line 395 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [25/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentSos1ConstraintWithExpressions  )

Definition at line 419 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [26/34]

≤ z z ≤ y operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentSos2Constraint  )

Definition at line 440 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [27/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InconsistentSos2ConstraintWithExpressions  )

Definition at line 465 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [28/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
IndicatorConstraintOkInconsistentImpliedNullIndicator  )

Definition at line 510 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [29/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
IntegerVariableWithInfeasibleBounds  )

Definition at line 96 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [30/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
InvertedVariableBounds  )

Definition at line 76 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [31/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
NontrivialInfeasibleIpSolveInterruptedBeforeStartIsUndetermined  )

Definition at line 584 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [32/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
NontrivialInfeasibleIpSolveTimeLimitZeroIsUndetermined  )

Definition at line 572 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [33/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
NontrivialInfeasibleIpSolveWithMessageCallbackIsInvoked  )

Definition at line 597 of file infeasible_subsystem_tests.cc.

◆ TEST_P() [34/34]

operations_research::math_opt::TEST_P ( InfeasibleSubsystemTest ,
NontrivialInfeasibleIpSolveWithoutLimitsFindsIIS  )

Definition at line 555 of file infeasible_subsystem_tests.cc.

◆ TestEnumProto_descriptor()

OR_PROTO_DLLconst::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::math_opt::TestEnumProto_descriptor ( )

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

◆ TestEnumProto_IsValid()

bool operations_research::math_opt::TestEnumProto_IsValid ( int value)
inline

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

◆ TestEnumProto_Name() [1/2]

template<typename T>
const ::std::string & operations_research::math_opt::TestEnumProto_Name ( T value)

Definition at line 90 of file enums_test.pb.h.

◆ TestEnumProto_Name() [2/2]

template<>
const ::std::string & operations_research::math_opt::TestEnumProto_Name ( TestEnumProto value)
inline

Definition at line 97 of file enums_test.pb.h.

◆ TestEnumProto_Parse()

bool operations_research::math_opt::TestEnumProto_Parse ( ::absl::string_view name,
TestEnumProto *PROTOBUF_NONNULL value )
inline

Definition at line 101 of file enums_test.pb.h.

◆ ToGlopBasisStatus()

template<typename ValueType>
ValueType operations_research::math_opt::ToGlopBasisStatus ( const BasisStatusProto basis_status)

Definition at line 514 of file glop_solver.cc.

◆ ToLinearExpression()

LinearExpression operations_research::math_opt::ToLinearExpression ( const ModelStorage & storage,
const LinearExpressionData & expr_data )

Definition at line 25 of file model_util.cc.

◆ ToString() [1/4]

template<typename AttrT, typename = std::enable_if_t<(GetIndexIfAttr<AttrT>() >= 0)>>
absl::string_view operations_research::math_opt::ToString ( const AttrT attr)

Definition at line 327 of file attributes.h.

◆ ToString() [2/4]

absl::string_view operations_research::math_opt::ToString ( const ElementType element_type)

Definition at line 24 of file elements.cc.

◆ ToString() [3/4]

template<auto tag>
std::string operations_research::math_opt::ToString ( const TaggedId< tag > & id)

Definition at line 107 of file tagged_id.h.

◆ ToString() [4/4]

std::string operations_research::math_opt::ToString ( QpSupportType qp_support)

Definition at line 64 of file qp_tests.cc.

◆ TransposeSparseSubmatrix()

std::vector< std::pair< int64_t, SparseVector< double > > > operations_research::math_opt::TransposeSparseSubmatrix ( const SparseSubmatrixRowsView & submatrix_by_rows)

Definition at line 108 of file sparse_submatrix.cc.

◆ TYPED_TEST_P() [1/3]

operations_research::math_opt::TYPED_TEST_P ( EnumTest ,
AllCppValuesString  )

Definition at line 89 of file enums_testing.h.

◆ TYPED_TEST_P() [2/3]

operations_research::math_opt::TYPED_TEST_P ( EnumTest ,
AllProtoValues  )

Definition at line 55 of file enums_testing.h.

◆ TYPED_TEST_P() [3/3]

operations_research::math_opt::TYPED_TEST_P ( EnumTest ,
UnderlyingTypeFits  )

Definition at line 46 of file enums_testing.h.

◆ TYPED_TEST_SUITE_P()

operations_research::math_opt::TYPED_TEST_SUITE_P ( EnumTest )

◆ UnboundedTerminationProto()

TerminationProto operations_research::math_opt::UnboundedTerminationProto ( const bool is_maximize,
const absl::string_view detail )

Definition at line 239 of file math_opt_proto_utils.cc.

◆ UpdateIdIndexMap()

template<typename IndexType>
void operations_research::math_opt::UpdateIdIndexMap ( glop::StrictITIVector< IndexType, bool > indices_to_delete,
IndexType num_indices,
absl::flat_hash_map< int64_t, IndexType > & id_index_map )

Definition at line 189 of file glop_solver.cc.

◆ UpdateIsSupported()

bool operations_research::math_opt::UpdateIsSupported ( const ModelUpdateProto & update,
const SupportedProblemStructures & support_menu )

Definition at line 467 of file math_opt_proto_utils.cc.

◆ UpgradeSolveResultProtoForStatsMigration()

void operations_research::math_opt::UpgradeSolveResultProtoForStatsMigration ( SolveResultProto & solve_result_proto)

Definition at line 584 of file math_opt_proto_utils.cc.

◆ UpperBound()

double operations_research::math_opt::UpperBound ( const LinearExpression & linear_expression)

Definition at line 56 of file linear_expr_util.cc.

◆ ValidateBasis()

absl::Status operations_research::math_opt::ValidateBasis ( const BasisProto & basis,
const ModelSummary & model_summary,
const bool check_dual_feasibility )

Definition at line 257 of file solution_validator.cc.

◆ ValidateBoundStatusConsistency()

absl::Status operations_research::math_opt::ValidateBoundStatusConsistency ( const ObjectiveBoundsProto & objective_bounds,
const ProblemStatusProto & status,
bool is_maximize )

Definition at line 215 of file bounds_and_status_validator.cc.

◆ ValidateCallbackDataProto()

absl::Status operations_research::math_opt::ValidateCallbackDataProto ( const CallbackDataProto & cb_data,
const CallbackRegistrationProto & callback_registration,
const ModelSummary & model_summary )

Definition at line 152 of file callback_validator.cc.

◆ ValidateCallbackRegistration()

absl::Status operations_research::math_opt::ValidateCallbackRegistration ( const CallbackRegistrationProto & callback_registration,
const ModelSummary & model_summary )

Definition at line 107 of file callback_validator.cc.

◆ ValidateCallbackResultProto()

absl::Status operations_research::math_opt::ValidateCallbackResultProto ( const CallbackResultProto & callback_result,
const CallbackEventProto callback_event,
const CallbackRegistrationProto & callback_registration,
const ModelSummary & model_summary )

Definition at line 258 of file callback_validator.cc.

◆ ValidateComputeInfeasibleSubsystemResult()

absl::Status operations_research::math_opt::ValidateComputeInfeasibleSubsystemResult ( const ComputeInfeasibleSubsystemResultProto & result,
const ModelSummary & model_summary )

Definition at line 80 of file infeasible_subsystem_validator.cc.

◆ ValidateComputeInfeasibleSubsystemResultNoModel()

absl::Status operations_research::math_opt::ValidateComputeInfeasibleSubsystemResultNoModel ( const ComputeInfeasibleSubsystemResultProto & result)

Definition at line 91 of file infeasible_subsystem_validator.cc.

◆ ValidateConstraint() [1/4]

absl::Status operations_research::math_opt::ValidateConstraint ( const IndicatorConstraintProto & constraint,
const IdNameBiMap & variable_universe )

Definition at line 27 of file validator.cc.

◆ ValidateConstraint() [2/4]

absl::Status operations_research::math_opt::ValidateConstraint ( const QuadraticConstraintProto & constraint,
const IdNameBiMap & variable_universe )

Definition at line 32 of file validator.cc.

◆ ValidateConstraint() [3/4]

absl::Status operations_research::math_opt::ValidateConstraint ( const SecondOrderConeConstraintProto & constraint,
const IdNameBiMap & variable_universe )

Definition at line 29 of file validator.cc.

◆ ValidateConstraint() [4/4]

absl::Status operations_research::math_opt::ValidateConstraint ( const SosConstraintProto & constraint,
const IdNameBiMap & variable_universe )

Definition at line 28 of file validator.cc.

◆ ValidateDualRay()

absl::Status operations_research::math_opt::ValidateDualRay ( const DualRayProto & dual_ray,
const ModelSolveParametersProto & parameters,
const ModelSummary & model_summary )

Definition at line 221 of file solution_validator.cc.

◆ ValidateDualSolution()

absl::Status operations_research::math_opt::ValidateDualSolution ( const DualSolutionProto & dual_solution,
const ModelSolveParametersProto & parameters,
const ModelSummary & model_summary )

Definition at line 203 of file solution_validator.cc.

◆ ValidateFeasibilityStatus()

absl::Status operations_research::math_opt::ValidateFeasibilityStatus ( const FeasibilityStatusProto & status)

Definition at line 33 of file bounds_and_status_validator.cc.

◆ ValidateLinearExpression()

absl::Status operations_research::math_opt::ValidateLinearExpression ( const LinearExpressionProto & expression,
const IdNameBiMap & variable_universe )

Definition at line 28 of file linear_expression_validator.cc.

◆ ValidateModel()

absl::StatusOr< ModelSummary > operations_research::math_opt::ValidateModel ( const ModelProto & model,
const bool check_names )

Definition at line 246 of file model_validator.cc.

◆ ValidateModelSolveParameters()

absl::Status operations_research::math_opt::ValidateModelSolveParameters ( const ModelSolveParametersProto & parameters,
const ModelSummary & model_summary )

Definition at line 128 of file model_parameters_validator.cc.

◆ ValidateModelSubset()

absl::Status operations_research::math_opt::ValidateModelSubset ( const ModelSubsetProto & model_subset,
const ModelSummary & model_summary )

Definition at line 51 of file infeasible_subsystem_validator.cc.

◆ ValidateModelUpdate()

absl::Status operations_research::math_opt::ValidateModelUpdate ( const ModelUpdateProto & model_update,
ModelSummary & model_summary )

Definition at line 293 of file model_validator.cc.

◆ ValidateObjectiveBounds()

absl::Status operations_research::math_opt::ValidateObjectiveBounds ( const ObjectiveBoundsProto & bounds)

Definition at line 128 of file bounds_and_status_validator.cc.

◆ ValidatePrimalRay()

absl::Status operations_research::math_opt::ValidatePrimalRay ( const PrimalRayProto & primal_ray,
const SparseVectorFilterProto & filter,
const ModelSummary & model_summary )

Definition at line 194 of file solution_validator.cc.

◆ ValidatePrimalSolution()

absl::Status operations_research::math_opt::ValidatePrimalSolution ( const PrimalSolutionProto & primal_solution,
const SparseVectorFilterProto & filter,
const ModelSummary & model_summary )

Definition at line 171 of file solution_validator.cc.

◆ ValidatePrimalSolutionVector()

absl::Status operations_research::math_opt::ValidatePrimalSolutionVector ( const SparseDoubleVectorProto & vector,
const SparseVectorFilterProto & filter,
const ModelSummary & model_summary )

Definition at line 163 of file solution_validator.cc.

◆ ValidateProblemStatus()

absl::Status operations_research::math_opt::ValidateProblemStatus ( const ProblemStatusProto & status)

Definition at line 44 of file bounds_and_status_validator.cc.

◆ ValidateResult()

absl::Status operations_research::math_opt::ValidateResult ( const SolveResultProto & result,
const ModelSolveParametersProto & parameters,
const ModelSummary & model_summary )

Definition at line 278 of file result_validator.cc.

◆ ValidateSolution()

absl::Status operations_research::math_opt::ValidateSolution ( const SolutionProto & solution,
const ModelSolveParametersProto & parameters,
const ModelSummary & model_summary )

Definition at line 119 of file solution_validator.cc.

◆ ValidateSolutions()

absl::Status operations_research::math_opt::ValidateSolutions ( const google::protobuf::RepeatedPtrField< SolutionProto > & solutions,
const ModelSolveParametersProto & parameters,
const ModelSummary & model_summary )

Definition at line 66 of file result_validator.cc.

◆ ValidateSolveParameters()

absl::Status operations_research::math_opt::ValidateSolveParameters ( const SolveParametersProto & parameters)

Definition at line 48 of file solve_parameters_validator.cc.

◆ ValidateSolveStats()

absl::Status operations_research::math_opt::ValidateSolveStats ( const SolveStatsProto & solve_stats)

Definition at line 26 of file solve_stats_validator.cc.

◆ ValidateSparseVectorFilter()

absl::Status operations_research::math_opt::ValidateSparseVectorFilter ( const SparseVectorFilterProto & v,
const IdNameBiMap & valid_ids )

Definition at line 113 of file model_parameters_validator.cc.

◆ ValidateTermination()

absl::Status operations_research::math_opt::ValidateTermination ( const TerminationProto & termination,
const bool is_maximize )

Definition at line 127 of file termination_validator.cc.

◆ Values()

template<typename Map, typename Keys, typename = std::enable_if_t<is_key_type_v<typename Map::key_type>>>
std::vector< typename Map::mapped_type > operations_research::math_opt::Values ( const Map & map,
const Keys & keys )

Definition at line 137 of file key_types.h.

◆ VariableBasisFromProto()

absl::StatusOr< VariableMap< BasisStatus > > operations_research::math_opt::VariableBasisFromProto ( const ModelStorageCPtr model,
const SparseBasisStatusVector & basis_proto )

Definition at line 215 of file sparse_containers.cc.

◆ VariableBasisToProto()

SparseBasisStatusVector operations_research::math_opt::VariableBasisToProto ( const VariableMap< BasisStatus > & basis_values)

Definition at line 222 of file sparse_containers.cc.

◆ VariableFilterFromProto()

absl::StatusOr< MapFilter< Variable > > operations_research::math_opt::VariableFilterFromProto ( const Model & model,
const SparseVectorFilterProto & proto )

Definition at line 28 of file map_filter.cc.

◆ VariableValuesFromProto() [1/2]

absl::StatusOr< VariableMap< double > > operations_research::math_opt::VariableValuesFromProto ( const ModelStorageCPtr model,
const SparseDoubleVectorProto & vars_proto )

Definition at line 141 of file sparse_containers.cc.

◆ VariableValuesFromProto() [2/2]

absl::StatusOr< VariableMap< int32_t > > operations_research::math_opt::VariableValuesFromProto ( const ModelStorageCPtr model,
const SparseInt32VectorProto & vars_proto )

Definition at line 148 of file sparse_containers.cc.

◆ VariableValuesToProto()

SparseDoubleVectorProto operations_research::math_opt::VariableValuesToProto ( const VariableMap< double > & variable_values)

Definition at line 155 of file sparse_containers.cc.

◆ VectorMessageCallback()

MessageCallback operations_research::math_opt::VectorMessageCallback ( std::vector< std::string > * sink)

Definition at line 112 of file message_callback.cc.

◆ ViolatedConstraintsAsStrings()

absl::StatusOr< std::vector< std::string > > operations_research::math_opt::ViolatedConstraintsAsStrings ( const Model & model,
const ModelSubset & violated_constraints,
const VariableMap< double > & variable_values )

Definition at line 329 of file solution_feasibility_checker.cc.

◆ VLoggerMessageCallback()

MessageCallback operations_research::math_opt::VLoggerMessageCallback ( int level,
absl::string_view prefix,
absl::SourceLocation loc )

Definition at line 103 of file message_callback.cc.

◆ WorstGLPKDualBound()

double operations_research::math_opt::WorstGLPKDualBound ( const bool is_maximize,
const double objective_value,
const double relative_gap_limit )

Definition at line 23 of file gap.cc.

◆ WriteModel()

absl::Status operations_research::math_opt::WriteModel ( const absl::string_view file_path,
const ModelProto & model_proto,
const std::optional< SolutionHintProto > & hint_proto,
const FileFormat format )

Definition at line 240 of file file_format_flags.cc.

Variable Documentation

◆ _AuxiliaryObjectivesUpdatesProto_default_instance_

OR_PROTO_DLL AuxiliaryObjectivesUpdatesProtoDefaultTypeInternal operations_research::math_opt::_AuxiliaryObjectivesUpdatesProto_default_instance_

Definition at line 354 of file model_update.pb.cc.

◆ _AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_default_instance_

OR_PROTO_DLL AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_default_instance_

Definition at line 218 of file model_update.pb.cc.

◆ _AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_default_instance_

OR_PROTO_DLL AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_default_instance_

Definition at line 200 of file model_update.pb.cc.

◆ _BasisProto_default_instance_

OR_PROTO_DLL BasisProtoDefaultTypeInternal operations_research::math_opt::_BasisProto_default_instance_

Definition at line 209 of file solution.pb.cc.

◆ _CallbackDataProto_BarrierStats_default_instance_

OR_PROTO_DLL CallbackDataProto_BarrierStatsDefaultTypeInternal operations_research::math_opt::_CallbackDataProto_BarrierStats_default_instance_

Definition at line 146 of file callback.pb.cc.

◆ _CallbackDataProto_default_instance_

OR_PROTO_DLL CallbackDataProtoDefaultTypeInternal operations_research::math_opt::_CallbackDataProto_default_instance_

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

◆ _CallbackDataProto_MipStats_default_instance_

OR_PROTO_DLL CallbackDataProto_MipStatsDefaultTypeInternal operations_research::math_opt::_CallbackDataProto_MipStats_default_instance_

Definition at line 116 of file callback.pb.cc.

◆ _CallbackDataProto_PresolveStats_default_instance_

OR_PROTO_DLL CallbackDataProto_PresolveStatsDefaultTypeInternal operations_research::math_opt::_CallbackDataProto_PresolveStats_default_instance_

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

◆ _CallbackDataProto_SimplexStats_default_instance_

OR_PROTO_DLL CallbackDataProto_SimplexStatsDefaultTypeInternal operations_research::math_opt::_CallbackDataProto_SimplexStats_default_instance_

Definition at line 57 of file callback.pb.cc.

◆ _CallbackRegistrationProto_default_instance_

OR_PROTO_DLL CallbackRegistrationProtoDefaultTypeInternal operations_research::math_opt::_CallbackRegistrationProto_default_instance_

Definition at line 204 of file callback.pb.cc.

◆ _CallbackResultProto_default_instance_

OR_PROTO_DLL CallbackResultProtoDefaultTypeInternal operations_research::math_opt::_CallbackResultProto_default_instance_

Definition at line 262 of file callback.pb.cc.

◆ _CallbackResultProto_GeneratedLinearConstraint_default_instance_

OR_PROTO_DLL CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal operations_research::math_opt::_CallbackResultProto_GeneratedLinearConstraint_default_instance_

Definition at line 174 of file callback.pb.cc.

◆ _ComputeInfeasibleSubsystemResultProto_default_instance_

OR_PROTO_DLL ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal operations_research::math_opt::_ComputeInfeasibleSubsystemResultProto_default_instance_

Definition at line 172 of file infeasible_subsystem.pb.cc.

◆ _DualRayProto_default_instance_

OR_PROTO_DLL DualRayProtoDefaultTypeInternal operations_research::math_opt::_DualRayProto_default_instance_

Definition at line 182 of file solution.pb.cc.

◆ _DualSolutionProto_default_instance_

OR_PROTO_DLL DualSolutionProtoDefaultTypeInternal operations_research::math_opt::_DualSolutionProto_default_instance_

Definition at line 156 of file solution.pb.cc.

◆ _GlpkParametersProto_default_instance_

OR_PROTO_DLL GlpkParametersProtoDefaultTypeInternal operations_research::math_opt::_GlpkParametersProto_default_instance_

Definition at line 53 of file glpk.pb.cc.

◆ _GurobiInitializerProto_default_instance_

OR_PROTO_DLL GurobiInitializerProtoDefaultTypeInternal operations_research::math_opt::_GurobiInitializerProto_default_instance_

Definition at line 142 of file gurobi.pb.cc.

◆ _GurobiInitializerProto_ISVKey_default_instance_

OR_PROTO_DLL GurobiInitializerProto_ISVKeyDefaultTypeInternal operations_research::math_opt::_GurobiInitializerProto_ISVKey_default_instance_

Definition at line 92 of file gurobi.pb.cc.

◆ _GurobiParametersProto_default_instance_

OR_PROTO_DLL GurobiParametersProtoDefaultTypeInternal operations_research::math_opt::_GurobiParametersProto_default_instance_

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

◆ _GurobiParametersProto_Parameter_default_instance_

OR_PROTO_DLL GurobiParametersProto_ParameterDefaultTypeInternal operations_research::math_opt::_GurobiParametersProto_Parameter_default_instance_

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

◆ _HighsOptionsProto_BoolOptionsEntry_DoNotUse_default_instance_

OR_PROTO_DLL HighsOptionsProto_BoolOptionsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_HighsOptionsProto_BoolOptionsEntry_DoNotUse_default_instance_

Definition at line 100 of file highs.pb.cc.

◆ _HighsOptionsProto_default_instance_

OR_PROTO_DLL HighsOptionsProtoDefaultTypeInternal operations_research::math_opt::_HighsOptionsProto_default_instance_

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

◆ _HighsOptionsProto_DoubleOptionsEntry_DoNotUse_default_instance_

OR_PROTO_DLL HighsOptionsProto_DoubleOptionsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_HighsOptionsProto_DoubleOptionsEntry_DoNotUse_default_instance_

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

◆ _HighsOptionsProto_IntOptionsEntry_DoNotUse_default_instance_

OR_PROTO_DLL HighsOptionsProto_IntOptionsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_HighsOptionsProto_IntOptionsEntry_DoNotUse_default_instance_

Definition at line 64 of file highs.pb.cc.

◆ _HighsOptionsProto_StringOptionsEntry_DoNotUse_default_instance_

OR_PROTO_DLL HighsOptionsProto_StringOptionsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_HighsOptionsProto_StringOptionsEntry_DoNotUse_default_instance_

Definition at line 46 of file highs.pb.cc.

◆ _IndicatorConstraintProto_default_instance_

OR_PROTO_DLL IndicatorConstraintProtoDefaultTypeInternal operations_research::math_opt::_IndicatorConstraintProto_default_instance_

Definition at line 240 of file model.pb.cc.

◆ _IndicatorConstraintUpdatesProto_default_instance_

OR_PROTO_DLL IndicatorConstraintUpdatesProtoDefaultTypeInternal operations_research::math_opt::_IndicatorConstraintUpdatesProto_default_instance_

Definition at line 326 of file model_update.pb.cc.

◆ _IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

Definition at line 182 of file model_update.pb.cc.

◆ _LinearConstraintsProto_default_instance_

OR_PROTO_DLL LinearConstraintsProtoDefaultTypeInternal operations_research::math_opt::_LinearConstraintsProto_default_instance_

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

◆ _LinearConstraintUpdatesProto_default_instance_

OR_PROTO_DLL LinearConstraintUpdatesProtoDefaultTypeInternal operations_research::math_opt::_LinearConstraintUpdatesProto_default_instance_

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

◆ _LinearExpressionProto_default_instance_

OR_PROTO_DLL LinearExpressionProtoDefaultTypeInternal operations_research::math_opt::_LinearExpressionProto_default_instance_

Definition at line 195 of file sparse_containers.pb.cc.

◆ _ModelProto_AuxiliaryObjectivesEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelProto_AuxiliaryObjectivesEntry_DoNotUse_default_instance_

Definition at line 348 of file model.pb.cc.

◆ _ModelProto_default_instance_

OR_PROTO_DLL ModelProtoDefaultTypeInternal operations_research::math_opt::_ModelProto_default_instance_

Definition at line 385 of file model.pb.cc.

◆ _ModelProto_IndicatorConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelProto_IndicatorConstraintsEntry_DoNotUse_default_instance_

Definition at line 330 of file model.pb.cc.

◆ _ModelProto_QuadraticConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelProto_QuadraticConstraintsEntry_DoNotUse_default_instance_

Definition at line 312 of file model.pb.cc.

◆ _ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_default_instance_

Definition at line 294 of file model.pb.cc.

◆ _ModelProto_Sos1ConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelProto_Sos1ConstraintsEntry_DoNotUse_default_instance_

Definition at line 276 of file model.pb.cc.

◆ _ModelProto_Sos2ConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelProto_Sos2ConstraintsEntry_DoNotUse_default_instance_

Definition at line 258 of file model.pb.cc.

◆ _ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_default_instance_

Definition at line 99 of file model_parameters.pb.cc.

◆ _ModelSolveParametersProto_default_instance_

OR_PROTO_DLL ModelSolveParametersProtoDefaultTypeInternal operations_research::math_opt::_ModelSolveParametersProto_default_instance_

Definition at line 134 of file model_parameters.pb.cc.

◆ _ModelSubsetProto_Bounds_default_instance_

OR_PROTO_DLL ModelSubsetProto_BoundsDefaultTypeInternal operations_research::math_opt::_ModelSubsetProto_Bounds_default_instance_

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

◆ _ModelSubsetProto_default_instance_

OR_PROTO_DLL ModelSubsetProtoDefaultTypeInternal operations_research::math_opt::_ModelSubsetProto_default_instance_

Definition at line 145 of file infeasible_subsystem.pb.cc.

◆ _ModelSubsetProto_LinearConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelSubsetProto_LinearConstraintsEntry_DoNotUse_default_instance_

Definition at line 108 of file infeasible_subsystem.pb.cc.

◆ _ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_

Definition at line 90 of file infeasible_subsystem.pb.cc.

◆ _ModelSubsetProto_VariableBoundsEntry_DoNotUse_default_instance_

OR_PROTO_DLL ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_ModelSubsetProto_VariableBoundsEntry_DoNotUse_default_instance_

Definition at line 72 of file infeasible_subsystem.pb.cc.

◆ _ModelUpdateProto_default_instance_

OR_PROTO_DLL ModelUpdateProtoDefaultTypeInternal operations_research::math_opt::_ModelUpdateProto_default_instance_

Definition at line 394 of file model_update.pb.cc.

◆ _ObjectiveBoundsProto_default_instance_

OR_PROTO_DLL ObjectiveBoundsProtoDefaultTypeInternal operations_research::math_opt::_ObjectiveBoundsProto_default_instance_

Definition at line 81 of file result.pb.cc.

◆ _ObjectiveParametersProto_default_instance_

OR_PROTO_DLL ObjectiveParametersProtoDefaultTypeInternal operations_research::math_opt::_ObjectiveParametersProto_default_instance_

Definition at line 81 of file model_parameters.pb.cc.

◆ _ObjectiveProto_default_instance_

OR_PROTO_DLL ObjectiveProtoDefaultTypeInternal operations_research::math_opt::_ObjectiveProto_default_instance_

Definition at line 208 of file model.pb.cc.

◆ _ObjectiveUpdatesProto_default_instance_

OR_PROTO_DLL ObjectiveUpdatesProtoDefaultTypeInternal operations_research::math_opt::_ObjectiveUpdatesProto_default_instance_

Definition at line 84 of file model_update.pb.cc.

◆ _OsqpOutput_default_instance_

OR_PROTO_DLL OsqpOutputDefaultTypeInternal operations_research::math_opt::_OsqpOutput_default_instance_

Definition at line 98 of file osqp.pb.cc.

◆ _OsqpSettingsProto_default_instance_

OR_PROTO_DLL OsqpSettingsProtoDefaultTypeInternal operations_research::math_opt::_OsqpSettingsProto_default_instance_

Definition at line 73 of file osqp.pb.cc.

◆ _PrimalRayProto_default_instance_

OR_PROTO_DLL PrimalRayProtoDefaultTypeInternal operations_research::math_opt::_PrimalRayProto_default_instance_

Definition at line 127 of file solution.pb.cc.

◆ _PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_default_instance_

OR_PROTO_DLL PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_default_instance_

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

◆ _PrimalSolutionProto_default_instance_

OR_PROTO_DLL PrimalSolutionProtoDefaultTypeInternal operations_research::math_opt::_PrimalSolutionProto_default_instance_

Definition at line 102 of file solution.pb.cc.

◆ _ProblemStatusProto_default_instance_

OR_PROTO_DLL ProblemStatusProtoDefaultTypeInternal operations_research::math_opt::_ProblemStatusProto_default_instance_

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

◆ _QuadraticConstraintProto_default_instance_

OR_PROTO_DLL QuadraticConstraintProtoDefaultTypeInternal operations_research::math_opt::_QuadraticConstraintProto_default_instance_

Definition at line 176 of file model.pb.cc.

◆ _QuadraticConstraintUpdatesProto_default_instance_

OR_PROTO_DLL QuadraticConstraintUpdatesProtoDefaultTypeInternal operations_research::math_opt::_QuadraticConstraintUpdatesProto_default_instance_

Definition at line 299 of file model_update.pb.cc.

◆ _QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

Definition at line 164 of file model_update.pb.cc.

◆ _SecondOrderConeConstraintProto_default_instance_

OR_PROTO_DLL SecondOrderConeConstraintProtoDefaultTypeInternal operations_research::math_opt::_SecondOrderConeConstraintProto_default_instance_

Definition at line 145 of file model.pb.cc.

◆ _SecondOrderConeConstraintUpdatesProto_default_instance_

OR_PROTO_DLL SecondOrderConeConstraintUpdatesProtoDefaultTypeInternal operations_research::math_opt::_SecondOrderConeConstraintUpdatesProto_default_instance_

Definition at line 272 of file model_update.pb.cc.

◆ _SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

Definition at line 146 of file model_update.pb.cc.

◆ _SolutionHintProto_default_instance_

OR_PROTO_DLL SolutionHintProtoDefaultTypeInternal operations_research::math_opt::_SolutionHintProto_default_instance_

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

◆ _SolutionProto_default_instance_

OR_PROTO_DLL SolutionProtoDefaultTypeInternal operations_research::math_opt::_SolutionProto_default_instance_

Definition at line 236 of file solution.pb.cc.

◆ _SolveParametersProto_default_instance_

OR_PROTO_DLL SolveParametersProtoDefaultTypeInternal operations_research::math_opt::_SolveParametersProto_default_instance_

Definition at line 130 of file parameters.pb.cc.

◆ _SolveRequest_default_instance_

OR_PROTO_DLL SolveRequestDefaultTypeInternal operations_research::math_opt::_SolveRequest_default_instance_

Definition at line 139 of file rpc.pb.cc.

◆ _SolveResponse_default_instance_

OR_PROTO_DLL SolveResponseDefaultTypeInternal operations_research::math_opt::_SolveResponse_default_instance_

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

◆ _SolveResultProto_default_instance_

OR_PROTO_DLL SolveResultProtoDefaultTypeInternal operations_research::math_opt::_SolveResultProto_default_instance_

Definition at line 200 of file result.pb.cc.

◆ _SolveResultProto_PdlpOutput_default_instance_

OR_PROTO_DLL SolveResultProto_PdlpOutputDefaultTypeInternal operations_research::math_opt::_SolveResultProto_PdlpOutput_default_instance_

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

◆ _SolverInitializerProto_default_instance_

OR_PROTO_DLL SolverInitializerProtoDefaultTypeInternal operations_research::math_opt::_SolverInitializerProto_default_instance_

Definition at line 79 of file parameters.pb.cc.

◆ _SolverResourcesProto_default_instance_

OR_PROTO_DLL SolverResourcesProtoDefaultTypeInternal operations_research::math_opt::_SolverResourcesProto_default_instance_

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

◆ _SolveStatsProto_default_instance_

OR_PROTO_DLL SolveStatsProtoDefaultTypeInternal operations_research::math_opt::_SolveStatsProto_default_instance_

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

◆ _SosConstraintProto_default_instance_

OR_PROTO_DLL SosConstraintProtoDefaultTypeInternal operations_research::math_opt::_SosConstraintProto_default_instance_

Definition at line 116 of file model.pb.cc.

◆ _SosConstraintUpdatesProto_default_instance_

OR_PROTO_DLL SosConstraintUpdatesProtoDefaultTypeInternal operations_research::math_opt::_SosConstraintUpdatesProto_default_instance_

Definition at line 245 of file model_update.pb.cc.

◆ _SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

OR_PROTO_DLL SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal operations_research::math_opt::_SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_

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

◆ _SparseBasisStatusVector_default_instance_

OR_PROTO_DLL SparseBasisStatusVectorDefaultTypeInternal operations_research::math_opt::_SparseBasisStatusVector_default_instance_

Definition at line 56 of file solution.pb.cc.

◆ _SparseBoolVectorProto_default_instance_

OR_PROTO_DLL SparseBoolVectorProtoDefaultTypeInternal operations_research::math_opt::_SparseBoolVectorProto_default_instance_

Definition at line 167 of file sparse_containers.pb.cc.

◆ _SparseDoubleMatrixProto_default_instance_

OR_PROTO_DLL SparseDoubleMatrixProtoDefaultTypeInternal operations_research::math_opt::_SparseDoubleMatrixProto_default_instance_

Definition at line 140 of file sparse_containers.pb.cc.

◆ _SparseDoubleVectorProto_default_instance_

OR_PROTO_DLL SparseDoubleVectorProtoDefaultTypeInternal operations_research::math_opt::_SparseDoubleVectorProto_default_instance_

Definition at line 111 of file sparse_containers.pb.cc.

◆ _SparseInt32VectorProto_default_instance_

OR_PROTO_DLL SparseInt32VectorProtoDefaultTypeInternal operations_research::math_opt::_SparseInt32VectorProto_default_instance_

Definition at line 84 of file sparse_containers.pb.cc.

◆ _SparseVectorFilterProto_default_instance_

OR_PROTO_DLL SparseVectorFilterProtoDefaultTypeInternal operations_research::math_opt::_SparseVectorFilterProto_default_instance_

Definition at line 56 of file sparse_containers.pb.cc.

◆ _StatusProto_default_instance_

OR_PROTO_DLL StatusProtoDefaultTypeInternal operations_research::math_opt::_StatusProto_default_instance_

Definition at line 56 of file rpc.pb.cc.

◆ _StrictnessProto_default_instance_

OR_PROTO_DLL StrictnessProtoDefaultTypeInternal operations_research::math_opt::_StrictnessProto_default_instance_

Definition at line 53 of file parameters.pb.cc.

◆ _TerminationProto_default_instance_

OR_PROTO_DLL TerminationProtoDefaultTypeInternal operations_research::math_opt::_TerminationProto_default_instance_

Definition at line 112 of file result.pb.cc.

◆ _VariablesProto_default_instance_

OR_PROTO_DLL VariablesProtoDefaultTypeInternal operations_research::math_opt::_VariablesProto_default_instance_

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

◆ _VariableUpdatesProto_default_instance_

OR_PROTO_DLL VariableUpdatesProtoDefaultTypeInternal operations_research::math_opt::_VariableUpdatesProto_default_instance_

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

◆ _XpressInitializerProto_default_instance_

OR_PROTO_DLL XpressInitializerProtoDefaultTypeInternal operations_research::math_opt::_XpressInitializerProto_default_instance_

Definition at line 83 of file xpress.pb.cc.

◆ _XpressParametersProto_default_instance_

OR_PROTO_DLL XpressParametersProtoDefaultTypeInternal operations_research::math_opt::_XpressParametersProto_default_instance_

Definition at line 108 of file xpress.pb.cc.

◆ _XpressParametersProto_Parameter_default_instance_

OR_PROTO_DLL XpressParametersProto_ParameterDefaultTypeInternal operations_research::math_opt::_XpressParametersProto_Parameter_default_instance_

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

◆ AuxiliaryObjectivesUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::AuxiliaryObjectivesUpdatesProto_class_data_

◆ AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_

◆ AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_

◆ BasisProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::BasisProto_class_data_
Initial value:

Definition at line 2421 of file solution.pb.cc.

◆ BasisStatusProto_ARRAYSIZE

int operations_research::math_opt::BasisStatusProto_ARRAYSIZE = 5 + 1
inlineconstexpr

Definition at line 173 of file solution.pb.h.

◆ BasisStatusProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::BasisStatusProto_internal_data_
Initial value:
= {
393216u, 0u, }

Definition at line 428 of file solution.pb.cc.

◆ BasisStatusProto_MAX

BasisStatusProto operations_research::math_opt::BasisStatusProto_MAX
inlineconstexpr
Initial value:

Definition at line 168 of file solution.pb.h.

◆ BasisStatusProto_MIN

BasisStatusProto operations_research::math_opt::BasisStatusProto_MIN
inlineconstexpr
Initial value:
=
static_cast<BasisStatusProto>(0)

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

◆ bound

* If primal operations_research::math_opt::bound

Definition at line 73 of file bounds_and_status_validator.h.

◆ c

const IndicatorConstraint operations_research::math_opt::c = model.AddLinearConstraint(x >= 1.0)

Definition at line 206 of file infeasible_subsystem_tests.cc.

◆ CallbackDataProto_BarrierStats_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackDataProto_BarrierStats_class_data_

◆ CallbackDataProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackDataProto_class_data_
Initial value:

Definition at line 2026 of file callback.pb.cc.

◆ CallbackDataProto_MipStats_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackDataProto_MipStats_class_data_

◆ CallbackDataProto_PresolveStats_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackDataProto_PresolveStats_class_data_

◆ CallbackDataProto_SimplexStats_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackDataProto_SimplexStats_class_data_

◆ CallbackEventProto_ARRAYSIZE

int operations_research::math_opt::CallbackEventProto_ARRAYSIZE = 6 + 1
inlineconstexpr

Definition at line 128 of file callback.pb.h.

◆ CallbackEventProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::CallbackEventProto_internal_data_
Initial value:
= {
458752u, 0u, }

Definition at line 505 of file callback.pb.cc.

◆ CallbackEventProto_MAX

CallbackEventProto operations_research::math_opt::CallbackEventProto_MAX
inlineconstexpr
Initial value:

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

◆ CallbackEventProto_MIN

CallbackEventProto operations_research::math_opt::CallbackEventProto_MIN
inlineconstexpr
Initial value:
=
static_cast<CallbackEventProto>(0)

Definition at line 121 of file callback.pb.h.

◆ CallbackRegistrationProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackRegistrationProto_class_data_

◆ CallbackResultProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackResultProto_class_data_
Initial value:

Definition at line 2895 of file callback.pb.cc.

◆ CallbackResultProto_GeneratedLinearConstraint_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint_class_data_

◆ check_dual

For infeasible and unbounded see Not checked if options check_solutions_if_inf_or_unbounded and the If options first_solution_only is check the entire list of Dual solution is not checked if options operations_research::math_opt::check_dual
Initial value:
=false
- Not checked if options.check_rays=false
- If options.first_solution_only is false

Definition at line 469 of file matchers.h.

◆ ComputeInfeasibleSubsystemResultProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ComputeInfeasibleSubsystemResultProto_class_data_

◆ default

When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by operations_research::math_opt::default

Definition at line 180 of file parameters.h.

◆ detail

absl::string_view operations_research::math_opt::detail = {})

Definition at line 165 of file math_opt_proto_utils.h.

◆ DualRayProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::DualRayProto_class_data_
Initial value:

Definition at line 1777 of file solution.pb.cc.

◆ DualSolutionProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::DualSolutionProto_class_data_
Initial value:

Definition at line 1360 of file solution.pb.cc.

◆ EmphasisProto_ARRAYSIZE

int operations_research::math_opt::EmphasisProto_ARRAYSIZE = 5 + 1
inlineconstexpr

Definition at line 211 of file parameters.pb.h.

◆ EmphasisProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::EmphasisProto_internal_data_
Initial value:
= {
393216u, 0u, }

Definition at line 345 of file parameters.pb.cc.

◆ EmphasisProto_MAX

EmphasisProto operations_research::math_opt::EmphasisProto_MAX
inlineconstexpr
Initial value:

Definition at line 206 of file parameters.pb.h.

◆ EmphasisProto_MIN

EmphasisProto operations_research::math_opt::EmphasisProto_MIN
inlineconstexpr
Initial value:
=
static_cast<EmphasisProto>(0)

Definition at line 204 of file parameters.pb.h.

◆ false

For infeasible and unbounded see Not checked if options check_solutions_if_inf_or_unbounded and the If options first_solution_only is operations_research::math_opt::false

Definition at line 467 of file matchers.h.

◆ FeasibilityStatusProto_ARRAYSIZE

int operations_research::math_opt::FeasibilityStatusProto_ARRAYSIZE = 3 + 1
inlineconstexpr

Definition at line 130 of file result.pb.h.

◆ FeasibilityStatusProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::FeasibilityStatusProto_internal_data_
Initial value:
= {
262144u, 0u, }

Definition at line 405 of file result.pb.cc.

◆ FeasibilityStatusProto_MAX

FeasibilityStatusProto operations_research::math_opt::FeasibilityStatusProto_MAX
inlineconstexpr
Initial value:

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

◆ FeasibilityStatusProto_MIN

FeasibilityStatusProto operations_research::math_opt::FeasibilityStatusProto_MIN
inlineconstexpr
Initial value:
=
static_cast<FeasibilityStatusProto>(0)

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

◆ finite

* If primal * dual status is and* dual bound is equal to primal bound* is operations_research::math_opt::finite

Definition at line 79 of file bounds_and_status_validator.h.

◆ GlpkParametersProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::GlpkParametersProto_class_data_
Initial value:

Definition at line 191 of file glpk.pb.cc.

◆ GurobiInitializerProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::GurobiInitializerProto_class_data_
Initial value:

Definition at line 724 of file gurobi.pb.cc.

◆ GurobiInitializerProto_ISVKey_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::GurobiInitializerProto_ISVKey_class_data_

◆ GurobiParametersProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::GurobiParametersProto_class_data_
Initial value:

Definition at line 1325 of file gurobi.pb.cc.

◆ GurobiParametersProto_Parameter_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::GurobiParametersProto_Parameter_class_data_

◆ HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_

◆ HighsOptionsProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::HighsOptionsProto_class_data_
Initial value:

Definition at line 757 of file highs.pb.cc.

◆ HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_

◆ HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_

◆ HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_

◆ InconsistentIndicatorConstraint

≤ x operations_research::math_opt::InconsistentIndicatorConstraint
Initial value:
{
if (!GetParam().support_menu.supports_infeasible_subsystems) {
return;
}
Model model

Definition at line 486 of file infeasible_subsystem_tests.cc.

◆ InconsistentSecondOrderConeConstraint

≤ x operations_research::math_opt::InconsistentSecondOrderConeConstraint
Initial value:
{
if (!GetParam().support_menu.supports_infeasible_subsystems) {
return;
}
Model model

Definition at line 315 of file infeasible_subsystem_tests.cc.

◆ InconsistentSecondOrderConeConstraintWithExpressionInUpperBound

≤ x operations_research::math_opt::InconsistentSecondOrderConeConstraintWithExpressionInUpperBound
Initial value:
{
if (!GetParam().support_menu.supports_infeasible_subsystems) {
return;
}
Model model

Definition at line 369 of file infeasible_subsystem_tests.cc.

◆ InconsistentSecondOrderConeConstraintWithExpressionUnderNorm

≤ x operations_research::math_opt::InconsistentSecondOrderConeConstraintWithExpressionUnderNorm
Initial value:
{
if (!GetParam().support_menu.supports_infeasible_subsystems) {
return;
}
Model model

Definition at line 342 of file infeasible_subsystem_tests.cc.

◆ InconsistentVariableBoundsAndLinearConstraint

∞ ≤ x operations_research::math_opt::InconsistentVariableBoundsAndLinearConstraint
Initial value:
{
if (!GetParam().support_menu.supports_infeasible_subsystems) {
return;
}
Model model

Definition at line 200 of file infeasible_subsystem_tests.cc.

◆ InconsistentVariableBoundsAndQuadraticConstraint

≤ x operations_research::math_opt::InconsistentVariableBoundsAndQuadraticConstraint
Initial value:
{
if (!GetParam().support_menu.supports_infeasible_subsystems) {
return;
}
Model model

Definition at line 289 of file infeasible_subsystem_tests.cc.

◆ IndicatorConstraintProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::IndicatorConstraintProto_class_data_
Initial value:

Definition at line 3324 of file model.pb.cc.

◆ IndicatorConstraintUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::IndicatorConstraintUpdatesProto_class_data_

◆ IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

◆ infeasible

* If primal * dual status is operations_research::math_opt::infeasible

Definition at line 77 of file bounds_and_status_validator.h.

◆ is_attr_key_v

template<typename T>
bool operations_research::math_opt::is_attr_key_v = is_attr_key<T>::value
inlinestaticconstexpr

Definition at line 223 of file attr_key.h.

◆ is_element_id_v

template<typename T>
bool operations_research::math_opt::is_element_id_v = is_element_id<T>::value
inlinestaticconstexpr

Definition at line 78 of file elements.h.

◆ is_key_type_v

template<typename T>
bool operations_research::math_opt::is_key_type_v
inlineconstexpr
Initial value:
=
std::is_same_v<T, SecondOrderConeConstraint> ||
std::is_same_v<T, Sos1Constraint> || std::is_same_v<T, Sos2Constraint> ||
std::is_same_v<T, QuadraticTermKey> || std::is_same_v<T, Objective>)

Definition at line 75 of file key_types.h.

◆ kDeletedConstraintDefaultDescription

absl::string_view operations_research::math_opt::kDeletedConstraintDefaultDescription
constexpr
Initial value:
=
"[constraint deleted from model]"

Definition at line 30 of file model_util.h.

◆ kDeletedObjectiveDefaultDescription

absl::string_view operations_research::math_opt::kDeletedObjectiveDefaultDescription
constexpr
Initial value:
=
"[objective deleted from model]"

Definition at line 36 of file objective.h.

◆ kElementNames

absl::string_view operations_research::math_opt::kElementNames[kNumElements]
constexpr
Initial value:
= {
"variable", "linear_constraint", "auxiliary_objective",
"quadratic_constraint", "indicator_constraint"}

Definition at line 42 of file elements.h.

◆ kElements

◆ kHigh

When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is operations_research::math_opt::kHigh

Definition at line 182 of file parameters.h.

◆ kInf

double operations_research::math_opt::kInf = std::numeric_limits<double>::infinity()
constexpr

Definition at line 24 of file empty_bounds.cc.

◆ kLow

When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is operations_research::math_opt::kLow

Definition at line 182 of file parameters.h.

◆ kMatcherDefaultTolerance

double operations_research::math_opt::kMatcherDefaultTolerance = 1e-5
constexpr

Definition at line 113 of file matchers.h.

◆ kMaxIntegralityTolerance

double operations_research::math_opt::kMaxIntegralityTolerance = 0.25
inlineconstexpr

Definition at line 30 of file solution_improvement.h.

◆ kMaxInvertedBounds

std::size_t operations_research::math_opt::kMaxInvertedBounds = 10
constexpr

Definition at line 26 of file inverted_bounds.h.

◆ kMaxNonBinaryIndicatorVariables

std::size_t operations_research::math_opt::kMaxNonBinaryIndicatorVariables = 10
constexpr

Definition at line 26 of file invalid_indicators.h.

◆ kMedium

When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is operations_research::math_opt::kMedium

Definition at line 182 of file parameters.h.

◆ kNoIntegerVariableSupportMessage

absl::string_view operations_research::math_opt::kNoIntegerVariableSupportMessage
constexpr
Initial value:
=
"This test is disabled as the solver does not support integer variables"

Definition at line 47 of file multi_objective_tests.cc.

◆ kNoMultiObjectiveSupportMessage

absl::string_view operations_research::math_opt::kNoMultiObjectiveSupportMessage
constexpr
Initial value:
=
"This test is disabled as the solver does not support multiple objective "
"models"

Definition at line 44 of file multi_objective_tests.cc.

◆ kNoNonDiagonalQpSupportMessage

std::string_view operations_research::math_opt::kNoNonDiagonalQpSupportMessage
constexpr
Initial value:
=
"This test is disabled as the solver does not support non-diagonal "
"quadratic objectives"

Definition at line 44 of file qp_tests.cc.

◆ kNoQpSupportMessage

std::string_view operations_research::math_opt::kNoQpSupportMessage
constexpr
Initial value:
=
"This test is disabled as the solver does not support quadratic objectives"

Definition at line 41 of file qp_tests.cc.

◆ kNumElements

int operations_research::math_opt::kNumElements = static_cast<int>(kElements.size())
constexpr

Definition at line 41 of file elements.h.

◆ kPdlpSupportedStructures

SupportedProblemStructures operations_research::math_opt::kPdlpSupportedStructures
constexpr
Initial value:

Definition at line 68 of file pdlp_solver.cc.

◆ kPrimaryObjectiveId

ObjectiveId operations_research::math_opt::kPrimaryObjectiveId
constexpr
Initial value:
=
std::nullopt

Definition at line 30 of file model_storage_types.h.

◆ kShortElementNames

absl::string_view operations_research::math_opt::kShortElementNames[kNumElements]
constexpr
Initial value:
= {
"var", "lin_con", "aux_obj", "quad_con", "indic_con"}

Definition at line 47 of file elements.h.

◆ kTolerance

double operations_research::math_opt::kTolerance = 1e-6
constexpr

Definition at line 79 of file lp_incomplete_solve_tests.cc.

◆ kXpressOk

int operations_research::math_opt::kXpressOk = 0
constexpr

Definition at line 46 of file g_xpress.cc.

◆ kXpressSupportedStructures

SupportedProblemStructures operations_research::math_opt::kXpressSupportedStructures
constexpr
Initial value:
= {
.integer_variables = SupportType::kSupported,
.multi_objectives = SupportType::kSupported,
.quadratic_objectives = SupportType::kSupported,
.quadratic_constraints = SupportType::kSupported,
.second_order_cone_constraints = SupportType::kSupported,
.sos1_constraints = SupportType::kSupported,
.sos2_constraints = SupportType::kSupported,
.indicator_constraints = SupportType::kSupported}

Definition at line 889 of file xpress_solver.cc.

◆ LimitProto_ARRAYSIZE

int operations_research::math_opt::LimitProto_ARRAYSIZE = 12 + 1
inlineconstexpr

Definition at line 221 of file result.pb.h.

◆ LimitProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::LimitProto_internal_data_
Initial value:
= {
851968u, 0u, }

Definition at line 417 of file result.pb.cc.

◆ LimitProto_MAX

LimitProto operations_research::math_opt::LimitProto_MAX
inlineconstexpr
Initial value:

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

◆ LimitProto_MIN

LimitProto operations_research::math_opt::LimitProto_MIN
inlineconstexpr
Initial value:
=
static_cast<LimitProto>(0)

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

◆ LinearConstraintsProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::LinearConstraintsProto_class_data_
Initial value:

Definition at line 1726 of file model.pb.cc.

◆ LinearConstraintUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::LinearConstraintUpdatesProto_class_data_

◆ LinearExpressionProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::LinearExpressionProto_class_data_

◆ LPAlgorithmProto_ARRAYSIZE

int operations_research::math_opt::LPAlgorithmProto_ARRAYSIZE = 4 + 1
inlineconstexpr

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

◆ LPAlgorithmProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::LPAlgorithmProto_internal_data_
Initial value:
= {
327680u, 0u, }

Definition at line 339 of file parameters.pb.cc.

◆ LPAlgorithmProto_MAX

LPAlgorithmProto operations_research::math_opt::LPAlgorithmProto_MAX
inlineconstexpr
Initial value:

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

◆ LPAlgorithmProto_MIN

LPAlgorithmProto operations_research::math_opt::LPAlgorithmProto_MIN
inlineconstexpr
Initial value:
=
static_cast<LPAlgorithmProto>(0)

Definition at line 164 of file parameters.pb.h.

◆ ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_

◆ ModelProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_class_data_
Initial value:

Definition at line 4405 of file model.pb.cc.

◆ ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_

◆ ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_

◆ ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_

◆ ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_

◆ ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_

◆ ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_

◆ ModelSolveParametersProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSolveParametersProto_class_data_

◆ ModelSubsetProto_Bounds_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSubsetProto_Bounds_class_data_

◆ ModelSubsetProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSubsetProto_class_data_

◆ ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_

◆ ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_

◆ ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_

◆ ModelUpdateProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ModelUpdateProto_class_data_
Initial value:

Definition at line 4354 of file model_update.pb.cc.

◆ ObjectiveBoundsProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ObjectiveBoundsProto_class_data_
Initial value:

Definition at line 1332 of file result.pb.cc.

◆ ObjectiveParametersProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ObjectiveParametersProto_class_data_

◆ ObjectiveProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ObjectiveProto_class_data_
Initial value:

Definition at line 1258 of file model.pb.cc.

◆ ObjectiveUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ObjectiveUpdatesProto_class_data_

◆ off

When the underlying default is used When the feature cannot be turned operations_research::math_opt::off

Definition at line 179 of file parameters.h.

◆ OsqpOutput_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::OsqpOutput_class_data_
Initial value:

Definition at line 936 of file osqp.pb.cc.

◆ OsqpSettingsProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::OsqpSettingsProto_class_data_
Initial value:

Definition at line 309 of file osqp.pb.cc.

◆ PrimalRayProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::PrimalRayProto_class_data_
Initial value:

Definition at line 1050 of file solution.pb.cc.

◆ PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_

◆ PrimalSolutionProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::PrimalSolutionProto_class_data_
Initial value:

Definition at line 661 of file solution.pb.cc.

◆ problems

For infeasible and unbounded operations_research::math_opt::problems

Definition at line 460 of file matchers.h.

◆ ProblemStatusProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::ProblemStatusProto_class_data_
Initial value:

Definition at line 511 of file result.pb.cc.

◆ QuadraticConstraintProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::QuadraticConstraintProto_class_data_
Initial value:

Definition at line 2129 of file model.pb.cc.

◆ QuadraticConstraintUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::QuadraticConstraintUpdatesProto_class_data_

◆ QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

◆ SecondOrderConeConstraintProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SecondOrderConeConstraintProto_class_data_

◆ SecondOrderConeConstraintUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SecondOrderConeConstraintUpdatesProto_class_data_

◆ SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

◆ SolutionHintProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolutionHintProto_class_data_

◆ SolutionProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolutionProto_class_data_
Initial value:

Definition at line 2776 of file solution.pb.cc.

◆ SolutionStatusProto_ARRAYSIZE

int operations_research::math_opt::SolutionStatusProto_ARRAYSIZE = 3 + 1
inlineconstexpr

Definition at line 133 of file solution.pb.h.

◆ SolutionStatusProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::SolutionStatusProto_internal_data_
Initial value:
= {
262144u, 0u, }

Definition at line 422 of file solution.pb.cc.

◆ SolutionStatusProto_MAX

SolutionStatusProto operations_research::math_opt::SolutionStatusProto_MAX
inlineconstexpr
Initial value:

Definition at line 128 of file solution.pb.h.

◆ SolutionStatusProto_MIN

SolutionStatusProto operations_research::math_opt::SolutionStatusProto_MIN
inlineconstexpr
Initial value:
=
static_cast<SolutionStatusProto>(0)

Definition at line 126 of file solution.pb.h.

◆ SolveParametersProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolveParametersProto_class_data_
Initial value:

Definition at line 1143 of file parameters.pb.cc.

◆ SolveRequest_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolveRequest_class_data_
Initial value:

Definition at line 685 of file rpc.pb.cc.

◆ SolveResponse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolveResponse_class_data_
Initial value:

Definition at line 1213 of file rpc.pb.cc.

◆ SolveResultProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolveResultProto_class_data_
Initial value:

Definition at line 2521 of file result.pb.cc.

◆ SolveResultProto_PdlpOutput_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolveResultProto_PdlpOutput_class_data_

◆ SolverInitializerProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolverInitializerProto_class_data_

◆ SolverResourcesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolverResourcesProto_class_data_
Initial value:

Definition at line 356 of file rpc.pb.cc.

◆ SolverTypeProto_ARRAYSIZE

int operations_research::math_opt::SolverTypeProto_ARRAYSIZE = 13 + 1
inlineconstexpr

Definition at line 132 of file parameters.pb.h.

◆ SolverTypeProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::SolverTypeProto_internal_data_
Initial value:
= {
786432u, 32u, 2u, }

Definition at line 333 of file parameters.pb.cc.

◆ SolverTypeProto_MAX

SolverTypeProto operations_research::math_opt::SolverTypeProto_MAX
inlineconstexpr
Initial value:

Definition at line 127 of file parameters.pb.h.

◆ SolverTypeProto_MIN

SolverTypeProto operations_research::math_opt::SolverTypeProto_MIN
inlineconstexpr
Initial value:
=
static_cast<SolverTypeProto>(0)

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

◆ SolveStatsProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SolveStatsProto_class_data_
Initial value:

Definition at line 866 of file result.pb.cc.

◆ SosConstraintProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SosConstraintProto_class_data_
Initial value:

Definition at line 2950 of file model.pb.cc.

◆ SosConstraintUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SosConstraintUpdatesProto_class_data_

◆ SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_

◆ SparseBasisStatusVector_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SparseBasisStatusVector_class_data_

◆ SparseBoolVectorProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SparseBoolVectorProto_class_data_

◆ SparseDoubleMatrixProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SparseDoubleMatrixProto_class_data_

◆ SparseDoubleVectorProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SparseDoubleVectorProto_class_data_

◆ SparseInt32VectorProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SparseInt32VectorProto_class_data_

◆ SparseVectorFilterProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::SparseVectorFilterProto_class_data_

◆ StatusProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::StatusProto_class_data_
Initial value:

Definition at line 1562 of file rpc.pb.cc.

◆ StrictnessProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::StrictnessProto_class_data_
Initial value:

Definition at line 434 of file parameters.pb.cc.

◆ supported

When the underlying default is used When the feature cannot be turned kOff will return an error If the feature is enabled by the solver default is typically If the feature is operations_research::math_opt::supported

Definition at line 182 of file parameters.h.

◆ TerminationProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::TerminationProto_class_data_
Initial value:

Definition at line 1655 of file result.pb.cc.

◆ TerminationReasonProto_ARRAYSIZE

int operations_research::math_opt::TerminationReasonProto_ARRAYSIZE = 9 + 1
inlineconstexpr

Definition at line 174 of file result.pb.h.

◆ TerminationReasonProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::TerminationReasonProto_internal_data_
Initial value:
= {
655360u, 0u, }

Definition at line 411 of file result.pb.cc.

◆ TerminationReasonProto_MAX

TerminationReasonProto operations_research::math_opt::TerminationReasonProto_MAX
inlineconstexpr
Initial value:

Definition at line 169 of file result.pb.h.

◆ TerminationReasonProto_MIN

TerminationReasonProto operations_research::math_opt::TerminationReasonProto_MIN
inlineconstexpr
Initial value:
=
static_cast<TerminationReasonProto>(0)

Definition at line 167 of file result.pb.h.

◆ TestEnumProto_ARRAYSIZE

int operations_research::math_opt::TestEnumProto_ARRAYSIZE = 3 + 1
inlineconstexpr

Definition at line 87 of file enums_test.pb.h.

◆ TestEnumProto_internal_data_

OR_PROTO_DLL const uint32_t operations_research::math_opt::TestEnumProto_internal_data_
Initial value:
= {
131072u, 32u, 2u, }

Definition at line 70 of file enums_test.pb.cc.

◆ TestEnumProto_MAX

TestEnumProto operations_research::math_opt::TestEnumProto_MAX
inlineconstexpr
Initial value:

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

◆ TestEnumProto_MIN

TestEnumProto operations_research::math_opt::TestEnumProto_MIN
inlineconstexpr
Initial value:
=
static_cast<TestEnumProto>(0)

Definition at line 80 of file enums_test.pb.h.

◆ unset

When operations_research::math_opt::unset

Definition at line 178 of file parameters.h.

◆ VariablesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::VariablesProto_class_data_
Initial value:

Definition at line 822 of file model.pb.cc.

◆ VariableUpdatesProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::VariableUpdatesProto_class_data_

◆ x

const Variable operations_research::math_opt::x = model.AddContinuousVariable(-kInf, 0.0)

Definition at line 205 of file infeasible_subsystem_tests.cc.

◆ XpressInitializerProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::XpressInitializerProto_class_data_
Initial value:

Definition at line 265 of file xpress.pb.cc.

◆ XpressParametersProto_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::XpressParametersProto_class_data_
Initial value:

Definition at line 848 of file xpress.pb.cc.

◆ XpressParametersProto_Parameter_class_data_

OR_PROTO_DLLconst::google::protobuf::internal::ClassDataFull operations_research::math_opt::XpressParametersProto_Parameter_class_data_