![]() |
OR-Tools
9.6
|
Namespaces | |
| internal | |
Typedefs | |
| template<typename V > | |
| using | IndicatorConstraintMap = IdMap< IndicatorConstraint, V > |
| template<typename V > | |
| using | QuadraticConstraintMap = IdMap< QuadraticConstraint, V > |
| template<typename V > | |
| using | Sos1ConstraintMap = IdMap< Sos1Constraint, V > |
| template<typename V > | |
| using | Sos2ConstraintMap = IdMap< Sos2Constraint, V > |
| using | Sos1ConstraintData = internal::SosConstraintData< Sos1ConstraintId > |
| using | Sos2ConstraintData = internal::SosConstraintData< Sos2ConstraintId > |
| 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 = std::vector< std::pair< int64_t, SparseVectorView< double > >> |
| template<typename SparseVector > | |
| using | sparse_value_type = typename std::remove_reference< decltype(SparseVector().values())>::type::value_type |
| using | Callback = std::function< CallbackResult(const CallbackData &)> |
| using | ProtoEnumIsValid = bool(*)(int) |
| template<typename V > | |
| using | LinearConstraintMap = IdMap< LinearConstraint, V > |
| using | MessageCallback = std::function< void(const std::vector< std::string > &)> |
| using | Range = std::pair< double, double > |
| template<typename V > | |
| using | VariableMap = IdMap< Variable, V > |
| using | QuadraticProductId = std::pair< VariableId, VariableId > |
| template<typename V > | |
| using | QuadraticTermMap = IdMap< QuadraticTermKey, V > |
| using | GRBenvUniquePtr = std::unique_ptr< GRBenv, GurobiFreeEnv > |
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 , kGlpk = SOLVER_TYPE_GLPK } |
| enum class | LPAlgorithm { kPrimalSimplex = LP_ALGORITHM_PRIMAL_SIMPLEX , kDualSimplex = LP_ALGORITHM_DUAL_SIMPLEX , kBarrier = LP_ALGORITHM_BARRIER } |
| enum class | Emphasis { kOff = EMPHASIS_OFF , kLow = EMPHASIS_LOW , kMedium = EMPHASIS_MEDIUM , kHigh = EMPHASIS_HIGH , kVeryHigh = EMPHASIS_VERY_HIGH } |
| 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 | GlpkRayType { kPrimal , kDual } |
Functions | |
| std::ostream & | operator<< (std::ostream &ostr, const IndicatorConstraint &constraint) |
| bool | operator== (const IndicatorConstraint &lhs, const IndicatorConstraint &rhs) |
| bool | operator!= (const IndicatorConstraint &lhs, const IndicatorConstraint &rhs) |
| template<typename H > | |
| H | AbslHashValue (H h, const IndicatorConstraint &constraint) |
| absl::Status | ValidateConstraint (const IndicatorConstraintProto &constraint, const IdNameBiMap &variable_universe) |
| std::ostream & | operator<< (std::ostream &ostr, const QuadraticConstraint &constraint) |
| bool | operator== (const QuadraticConstraint &lhs, const QuadraticConstraint &rhs) |
| bool | operator!= (const QuadraticConstraint &lhs, const QuadraticConstraint &rhs) |
| template<typename H > | |
| H | AbslHashValue (H h, const QuadraticConstraint &quadratic_constraint) |
| absl::Status | ValidateConstraint (const QuadraticConstraintProto &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 > | |
| 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 > | |
| H | AbslHashValue (H h, const Sos2Constraint &constraint) |
| absl::Status | ValidateConstraint (const SosConstraintProto &constraint, const IdNameBiMap &variable_universe) |
| LinearExpression | ToLinearExpression (const ModelStorage &storage, const SparseCoefficientMap &coeffs, const double offset) |
| std::pair< SparseCoefficientMap, double > | FromLinearExpression (const LinearExpression &expression) |
| template<typename IdType > | |
| std::vector< Variable > | AtomicConstraintNonzeroVariables (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) |
| void | RemoveSparseDoubleVectorZeros (SparseDoubleVectorProto &sparse_vector) |
| absl::flat_hash_set< CallbackEventProto > | EventSet (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) |
| 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) |
| 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) |
| 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) | |
| template<typename E > | |
| Enum< E >::Proto | EnumToProto (const std::optional< E > value) |
| template<typename E > | |
| Enum< E >::Proto | EnumToProto (const E value) |
| template<typename P > | |
| std::optional< typename EnumProto< P >::Cpp > | EnumFromProto (const P proto_value) |
| template<typename E > | |
| absl::string_view | EnumToString (const E value) |
| template<typename E > | |
| std::optional< absl::string_view > | EnumToOptString (const E value) |
| template<typename E > | |
| std::optional< E > | EnumFromString (const absl::string_view str) |
| template<typename E , typename = 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) |
| std::ostream & | operator<< (std::ostream &out, const LeadingCoefficientFormatter formatter) |
| std::ostream & | operator<< (std::ostream &out, const ConstantFormatter formatter) |
| template<typename K , typename V > | |
| void | swap (IdMap< K, V > &a, IdMap< K, V > &b) |
| template<typename K > | |
| void | swap (IdSet< K > &a, IdSet< K > &b) |
| std::ostream & | operator<< (std::ostream &ostr, const LinearConstraint &linear_constraint) |
| bool | operator== (const LinearConstraint &lhs, const LinearConstraint &rhs) |
| bool | operator!= (const LinearConstraint &lhs, const LinearConstraint &rhs) |
| template<typename H > | |
| H | AbslHashValue (H h, const LinearConstraint &linear_constraint) |
| 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 Termination &termination, std::ostream *os) |
| 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 > > | IsNearlySubsetOf (VariableMap< double > expected, double tolerance) |
| Matcher< VariableMap< double > > | IsNear (VariableMap< double > expected, const double tolerance) |
| Matcher< LinearConstraintMap< double > > | IsNearlySubsetOf (LinearConstraintMap< double > expected, double tolerance) |
| Matcher< LinearConstraintMap< double > > | IsNear (LinearConstraintMap< double > expected, const double tolerance) |
| template<typename K > | |
| Matcher< IdMap< K, double > > | IsNear (IdMap< K, double > expected, const double tolerance) |
| template<typename K > | |
| Matcher< IdMap< K, double > > | IsNearlySubsetOf (IdMap< K, double > expected, const double tolerance) |
| testing::Matcher< LinearExpression > | IsIdentical (LinearExpression expected) |
| testing::Matcher< LinearExpression > | LinearExpressionIsNear (const LinearExpression expected, const double tolerance) |
| testing::Matcher< BoundedLinearExpression > | IsNearlyEquivalent (const BoundedLinearExpression &expected, const double tolerance) |
| testing::Matcher< QuadraticExpression > | IsIdentical (QuadraticExpression expected) |
| Matcher< PrimalSolution > | IsNear (PrimalSolution expected, const double tolerance) |
| Matcher< DualSolution > | IsNear (DualSolution expected, const double tolerance) |
| Matcher< Basis > | BasisIs (const Basis &expected) |
| Matcher< Solution > | IsNear (Solution expected, const SolutionMatcherOptions options) |
| Matcher< PrimalRay > | IsNear (PrimalRay expected, const double tolerance) |
| Matcher< PrimalRay > | PrimalRayIsNear (VariableMap< double > expected_var_values, const double tolerance) |
| Matcher< DualRay > | IsNear (DualRay expected, const double tolerance) |
| Matcher< SolveResult > | TerminatesWithOneOf (const std::vector< TerminationReason > &allowed) |
| Matcher< SolveResult > | TerminatesWith (const TerminationReason expected) |
| testing::Matcher< SolveResult > | TerminatesWithLimit (const Limit expected, const bool allow_limit_undetermined) |
| testing::Matcher< SolveResult > | TerminatesWithReasonFeasible (const Limit expected, const bool allow_limit_undetermined) |
| testing::Matcher< SolveResult > | TerminatesWithReasonNoSolutionFound (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< Termination > | ReasonIs (TerminationReason reason) |
| Matcher< Termination > | ReasonIsOptimal () |
| Matcher< SolveResult > | IsOptimal (const std::optional< double > expected_objective, const double tolerance) |
| Matcher< SolveResult > | IsOptimalWithSolution (const double expected_objective, const VariableMap< double > expected_variable_values, const double tolerance) |
| Matcher< SolveResult > | IsOptimalWithDualSolution (const double expected_objective, const LinearConstraintMap< double > expected_dual_values, const VariableMap< double > expected_reduced_costs, const double tolerance) |
| Matcher< SolveResult > | HasSolution (PrimalSolution expected, const double tolerance) |
| Matcher< SolveResult > | HasDualSolution (DualSolution expected, const double tolerance) |
| Matcher< SolveResult > | HasPrimalRay (PrimalRay expected, const double tolerance) |
| Matcher< SolveResult > | HasPrimalRay (VariableMap< double > expected_vars, const double tolerance) |
| Matcher< SolveResult > | HasDualRay (DualRay expected, const double tolerance) |
| Matcher< SolveResult > | IsConsistentWith (const SolveResult &expected, const SolveResultMatcherOptions &options) |
| Matcher< UpdateResult > | DidUpdate () |
| template<typename K > | |
| testing::Matcher< IdMap< K, double > > | IsNear (IdMap< K, double > expected, const double tolerance=kMatcherDefaultTolerance) |
| template<typename K > | |
| testing::Matcher< IdMap< K, double > > | IsNearlySubsetOf (IdMap< K, double > expected, const double tolerance=kMatcherDefaultTolerance) |
| template<typename K , typename V > | |
| void | PrintTo (const IdMap< K, V > &id_map, std::ostream *const os) |
| MessageCallback | PrinterMessageCallback (std::ostream &output_stream, const absl::string_view prefix) |
| std::ostream & | operator<< (std::ostream &ostr, const Model &model) |
| 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) | |
| MATH_OPT_DEFINE_ENUM (SolutionStatus, SOLUTION_STATUS_UNSPECIFIED) | |
| absl::StatusOr< SolveResult > | Solve (const Model &model, const SolverType solver_type, const SolveArguments &solve_args, const SolverInitArguments &init_args) |
| 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) | |
| absl::StatusOr< VariableMap< double > > | VariableValuesFromProto (const ModelStorage *const model, const SparseDoubleVectorProto &vars_proto) |
| SparseDoubleVectorProto | VariableValuesToProto (const VariableMap< double > &variable_values) |
| absl::StatusOr< LinearConstraintMap< double > > | LinearConstraintValuesFromProto (const ModelStorage *const model, const SparseDoubleVectorProto &lin_cons_proto) |
| SparseDoubleVectorProto | LinearConstraintValuesToProto (const LinearConstraintMap< double > &linear_constraint_values) |
| absl::StatusOr< VariableMap< BasisStatus > > | VariableBasisFromProto (const ModelStorage *const model, const SparseBasisStatusVector &basis_proto) |
| SparseBasisStatusVector | VariableBasisToProto (const VariableMap< BasisStatus > &basis_values) |
| absl::StatusOr< LinearConstraintMap< BasisStatus > > | LinearConstraintBasisFromProto (const ModelStorage *const 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) |
| std::ostream & | operator<< (std::ostream &ostr, const Variable &variable) |
| 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) |
| template<typename LeftIterable , typename 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) |
| internal::VariablesEquality | operator== (const Variable &lhs, const Variable &rhs) |
| bool | operator!= (const Variable &lhs, const Variable &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== (const QuadraticTermKey lhs, const QuadraticTermKey rhs) |
| bool | operator!= (const QuadraticTermKey lhs, const 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 H > | |
| H | AbslHashValue (H h, const Variable &variable) |
| template<typename H > | |
| H | AbslHashValue (H h, const QuadraticTermKey &key) |
| absl::StatusOr< std::string > | ModelProtoToMps (const ModelProto &model) |
| absl::StatusOr< ModelProto > | ReadMpsFile (const absl::string_view filename) |
| void | RemoveNames (ModelProto &model) |
| void | RemoveNames (ModelUpdateProto &update) |
| absl::StatusOr<::operations_research::math_opt::ModelProto > | MPModelProtoToMathOptModel (const ::operations_research::MPModelProto &model) |
| absl::StatusOr<::operations_research::MPModelProto > | MathOptModelToMPModelProto (const ::operations_research::math_opt::ModelProto &model) |
| absl::StatusOr< ModelProto > | MPModelProtoToMathOptModel (const MPModelProto &model) |
| absl::StatusOr< MPModelProto > | MathOptModelToMPModelProto (const ModelProto &model) |
| 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 (const std::vector< 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 (const std::vector< 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) |
| absl::StatusOr< std::optional< GlpkRay > > | GlpkComputeUnboundRay (glp_prob *const problem) |
| GScipParameters::MetaParamValue | ConvertMathOptEmphasis (EmphasisProto emphasis) |
| absl::StatusOr< GRBenvUniquePtr > | GurobiNewPrimaryEnv (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< GRBenvUniquePtr > | NewPrimaryEnvironment (std::optional< GurobiInitializerProto::ISVKey > proto_isv_key) |
| MATH_OPT_REGISTER_SOLVER (SOLVER_TYPE_PDLP, PdlpSolver::New) | |
| template<typename V , typename C > | |
| V | MemberPointerValueType (V C::*) |
| template<typename V , typename C > | |
| 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 (VariableId, int64_t) | |
| DEFINE_STRONG_INT_TYPE (LinearConstraintId, int64_t) | |
| DEFINE_STRONG_INT_TYPE (QuadraticConstraintId, int64_t) | |
| DEFINE_STRONG_INT_TYPE (Sos1ConstraintId, int64_t) | |
| DEFINE_STRONG_INT_TYPE (Sos2ConstraintId, int64_t) | |
| DEFINE_STRONG_INT_TYPE (IndicatorConstraintId, 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::vector< T > | SortedElements (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) |
| 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 ®istration, const absl::flat_hash_set< CallbackEventProto > &supported_events) |
| std::vector< FeasibilityStatusProto > | AllFeasibilityStatuses () |
| std::vector< SolutionStatusProto > | AllSolutionStatuses () |
| void | PrintTo (const SolutionStatusProto &proto, std::ostream *os) |
| void | PrintTo (const FeasibilityStatusProto &proto, std::ostream *os) |
| void | PrintTo (const std::tuple< SolutionStatusProto, SolutionStatusProto > &proto, std::ostream *os) |
| void | PrintTo (const std::tuple< FeasibilityStatusProto, FeasibilityStatusProto > &proto, std::ostream *os) |
| void | PrintTo (const std::tuple< SolutionStatusProto, FeasibilityStatusProto > &proto, std::ostream *os) |
| 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 | ValidateLinearExpression (const LinearExpressionProto &expression, const IdNameBiMap &variable_universe) |
| absl::Status | ValidateSparseVectorFilter (const SparseVectorFilterProto &v, const IdNameBiMap &valid_ids) |
| absl::Status | ValidateModelSolveParameters (const ModelSolveParametersProto ¶meters, const ModelSummary &model_summary) |
| absl::StatusOr< ModelSummary > | ValidateModel (const ModelProto &model, const bool check_names) |
| absl::Status | ValidateModelUpdate (const ModelUpdateProto &model_update, ModelSummary &model_summary) |
| absl::Status | ValidateTermination (const TerminationProto &termination) |
| absl::Status | CheckHasPrimalSolution (const SolveResultProto &result) |
| absl::Status | CheckPrimalSolutionAndStatusConsistency (const SolveResultProto &result) |
| absl::Status | CheckDualSolutionAndStatusConsistency (const SolveResultProto &result) |
| absl::Status | ValidateTerminationConsistency (const SolveResultProto &result) |
| absl::Status | ValidateResult (const SolveResultProto &result, const ModelSolveParametersProto ¶meters, 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 ¶meters, 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 ¶meters, const ModelSummary &model_summary) |
| absl::Status | ValidateDualRay (const DualRayProto &dual_ray, const ModelSolveParametersProto ¶meters, 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 ¶meters) |
| 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 | 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") |
Variables | |
| constexpr absl::string_view | kDeletedConstraintDefaultDescription |
| constexpr std::size_t | kMaxNonBinaryIndicatorVariables = 10 |
| constexpr std::size_t | kMaxInvertedBounds = 10 |
| constexpr double | kMatcherDefaultTolerance = 1e-5 |
| constexpr double | kInf = std::numeric_limits<double>::infinity() |
| using Callback = std::function<CallbackResult(const CallbackData&)> |
Definition at line 93 of file callback.h.
| using Coefficient = std::tuple<int64_t, int64_t, const double> |
Definition at line 61 of file sparse_collection_matchers.h.
| using Coefficients = std::initializer_list<Coefficient> |
Definition at line 62 of file sparse_collection_matchers.h.
| using GRBenvUniquePtr = std::unique_ptr<GRBenv, GurobiFreeEnv> |
Definition at line 69 of file g_gurobi.h.
| using IndicatorConstraintMap = IdMap<IndicatorConstraint, V> |
Definition at line 85 of file indicator_constraint.h.
| using LinearConstraintMap = IdMap<LinearConstraint, V> |
Definition at line 85 of file math_opt/cpp/linear_constraint.h.
| using MessageCallback = std::function<void(const std::vector<std::string>&)> |
Definition at line 38 of file message_callback.h.
| using Pairs = std::initializer_list<std::pair<int64_t, const T> > |
Definition at line 43 of file sparse_collection_matchers.h.
| using ProtoEnumIsValid = bool (*)(int) |
| using QuadraticConstraintMap = IdMap<QuadraticConstraint, V> |
Definition at line 99 of file quadratic_constraint.h.
| using QuadraticProductId = std::pair<VariableId, VariableId> |
Definition at line 627 of file variable_and_expressions.h.
| using QuadraticTermMap = IdMap<QuadraticTermKey, V> |
Definition at line 717 of file variable_and_expressions.h.
| using Range = std::pair<double, double> |
Definition at line 27 of file statistics.h.
| using Sos1ConstraintData = internal::SosConstraintData<Sos1ConstraintId> |
Definition at line 105 of file sos/storage.h.
| using Sos1ConstraintMap = IdMap<Sos1Constraint, V> |
Definition at line 78 of file sos1_constraint.h.
| using Sos2ConstraintData = internal::SosConstraintData<Sos2ConstraintId> |
Definition at line 106 of file sos/storage.h.
| using Sos2ConstraintMap = IdMap<Sos2Constraint, V> |
Definition at line 79 of file sos2_constraint.h.
| using sparse_value_type = typename std::remove_reference< decltype(SparseVector().values())>::type::value_type |
Definition at line 70 of file sparse_vector_view.h.
| using SparseSubmatrixRowsView = std::vector<std::pair<int64_t, SparseVectorView<double> >> |
Definition at line 31 of file sparse_submatrix.h.
| using VariableMap = IdMap<Variable, V> |
Definition at line 158 of file variable_and_expressions.h.
|
strong |
| Enumerator | |
|---|---|
| kFree | |
| kAtLowerBound | |
| kAtUpperBound | |
| kFixedValue | |
| kBasic | |
Definition at line 30 of file basis_status.h.
|
strong |
| Enumerator | |
|---|---|
| kPresolve | |
| kSimplex | |
| kMip | |
| kMipSolution | |
| kMipNode | |
| kBarrier | |
Definition at line 96 of file callback.h.
|
strong |
| Enumerator | |
|---|---|
| kOff | |
| kLow | |
| kMedium | |
| kHigh | |
| kVeryHigh | |
Definition at line 141 of file parameters.h.
|
strong |
| Enumerator | |
|---|---|
| kUndetermined | |
| kFeasible | |
| kInfeasible | |
Definition at line 43 of file solve_result.h.
| enum GlpkRayType |
|
strong |
| Enumerator | |
|---|---|
| kUndetermined | |
| kIteration | |
| kTime | |
| kNode | |
| kSolution | |
| kMemory | |
| kCutoff | |
| kObjective | |
| kNorm | |
| kInterrupted | |
| kSlowProgress | |
| kOther | |
Definition at line 207 of file solve_result.h.
|
strong |
| Enumerator | |
|---|---|
| kPrimalSimplex | |
| kDualSimplex | |
| kBarrier | |
Definition at line 97 of file parameters.h.
|
strong |
| Enumerator | |
|---|---|
| kUndetermined | |
| kFeasible | |
| kInfeasible | |
Definition at line 37 of file solution.h.
|
strong |
| Enumerator | |
|---|---|
| kGscip | |
| kGurobi | |
| kGlop | |
| kCpSat | |
| kGlpk | |
Definition at line 40 of file parameters.h.
|
strong |
| Enumerator | |
|---|---|
| kNotSupported | |
| kSupported | |
| kNotImplemented | |
Definition at line 126 of file math_opt_proto_utils.h.
|
strong |
| Enumerator | |
|---|---|
| kOptimal | |
| kInfeasible | |
| kUnbounded | |
| kInfeasibleOrUnbounded | |
| kImprecise | |
| kFeasible | |
| kNoSolutionFound | |
| kNumericalError | |
| kOtherError | |
Definition at line 157 of file solve_result.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const IndicatorConstraint & | constraint | ||
| ) |
Definition at line 137 of file indicator_constraint.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const LinearConstraint & | linear_constraint | ||
| ) |
Definition at line 160 of file math_opt/cpp/linear_constraint.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const QuadraticConstraint & | quadratic_constraint | ||
| ) |
Definition at line 181 of file quadratic_constraint.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const QuadraticTermKey & | key | ||
| ) |
Definition at line 2014 of file variable_and_expressions.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const Sos1Constraint & | constraint | ||
| ) |
Definition at line 127 of file sos1_constraint.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const Sos2Constraint & | constraint | ||
| ) |
Definition at line 128 of file sos2_constraint.h.
| H operations_research::math_opt::AbslHashValue | ( | H | h, |
| const Variable & | variable | ||
| ) |
Definition at line 1274 of file variable_and_expressions.h.
| bool AbslParseFlag | ( | absl::string_view | text, |
| Emphasis *const | value, | ||
| std::string *const | error | ||
| ) |
Definition at line 151 of file parameters.cc.
| bool AbslParseFlag | ( | absl::string_view | text, |
| LPAlgorithm *const | value, | ||
| std::string *const | error | ||
| ) |
Definition at line 118 of file parameters.cc.
| bool AbslParseFlag | ( | absl::string_view | text, |
| SolveParameters * | solve_parameters, | ||
| std::string * | error | ||
| ) |
Definition at line 287 of file parameters.cc.
| bool AbslParseFlag | ( | const absl::string_view | text, |
| SolverType *const | value, | ||
| std::string *const | error | ||
| ) |
Definition at line 87 of file parameters.cc.
| std::string AbslUnparseFlag | ( | const Emphasis | value | ) |
Definition at line 156 of file parameters.cc.
| std::string AbslUnparseFlag | ( | const LPAlgorithm | value | ) |
Definition at line 123 of file parameters.cc.
| std::string AbslUnparseFlag | ( | const SolverType | value | ) |
Definition at line 92 of file parameters.cc.
| std::string AbslUnparseFlag | ( | SolveParameters | solve_parameters | ) |
Definition at line 305 of file parameters.cc.
| std::vector< FeasibilityStatusProto > AllFeasibilityStatuses | ( | ) |
Definition at line 31 of file enum_sets.cc.
| std::vector< SolutionStatusProto > AllSolutionStatuses | ( | ) |
Definition at line 43 of file enum_sets.cc.
| std::vector<Variable> operations_research::math_opt::AtomicConstraintNonzeroVariables | ( | const ModelStorage & | storage, |
| const IdType | id | ||
| ) |
Definition at line 44 of file model_util.h.
| std::vector<ConstraintType> operations_research::math_opt::AtomicConstraints | ( | const ModelStorage & | storage | ) |
Definition at line 59 of file model_util.h.
Definition at line 401 of file matchers.cc.
| absl::Status CheckDualSolutionAndStatusConsistency | ( | const SolveResultProto & | result | ) |
Definition at line 170 of file result_validator.cc.
| absl::Status CheckDualStatusIs | ( | const ProblemStatusProto & | status, |
| const FeasibilityStatusProto | required_status, | ||
| const bool | primal_or_dual_infeasible_also_ok | ||
| ) |
Definition at line 104 of file solve_stats_validator.cc.
| absl::Status CheckDualStatusIsNot | ( | const ProblemStatusProto & | status, |
| const FeasibilityStatusProto | forbidden_status | ||
| ) |
Definition at line 91 of file solve_stats_validator.cc.
| absl::Status CheckHasPrimalSolution | ( | const SolveResultProto & | result | ) |
Definition at line 149 of file result_validator.cc.
| 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.
| 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.
| 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.
| absl::Status 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.
| absl::Status CheckIdsRangeAndStrictlyIncreasing | ( | absl::Span< const int64_t > | ids | ) |
Definition at line 36 of file ids_validator.cc.
| absl::Status 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.
| absl::Status 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.
| absl::Status CheckPrimalSolutionAndStatusConsistency | ( | const SolveResultProto & | result | ) |
Definition at line 158 of file result_validator.cc.
| absl::Status CheckPrimalStatusIs | ( | const ProblemStatusProto & | status, |
| const FeasibilityStatusProto | required_status | ||
| ) |
Definition at line 65 of file solve_stats_validator.cc.
| absl::Status CheckPrimalStatusIsNot | ( | const ProblemStatusProto & | status, |
| const FeasibilityStatusProto | forbidden_status | ||
| ) |
Definition at line 78 of file solve_stats_validator.cc.
| absl::Status CheckRegisteredCallbackEvents | ( | const CallbackRegistrationProto & | registration, |
| const absl::flat_hash_set< CallbackEventProto > & | supported_events | ||
| ) |
Definition at line 299 of file callback_validator.cc.
| absl::Status CheckScalar | ( | const double | value, |
| const DoubleOptions & | options | ||
| ) |
Definition at line 37 of file scalar_validator.cc.
| absl::Status CheckScalarNoNanNoInf | ( | const double | d | ) |
Definition at line 29 of file scalar_validator.cc.
| absl::Status operations_research::math_opt::CheckSolverSpecificOutputEmpty | ( | const SolveResultProto & | result | ) |
Definition at line 302 of file solve_result.cc.
| 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.
| 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.
| auto operations_research::math_opt::collection_to_range | ( | Collection & | c | ) |
| ModelRanges ComputeModelRanges | ( | const Model & | model | ) |
Definition at line 96 of file statistics.cc.
| GScipParameters::MetaParamValue operations_research::math_opt::ConvertMathOptEmphasis | ( | EmphasisProto | emphasis | ) |
Definition at line 647 of file gscip_solver.cc.
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | IndicatorConstraintId | , |
| int64_t | |||
| ) |
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | LinearConstraintId | , |
| int64_t | |||
| ) |
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | QuadraticConstraintId | , |
| int64_t | |||
| ) |
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | Sos1ConstraintId | , |
| int64_t | |||
| ) |
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | Sos2ConstraintId | , |
| int64_t | |||
| ) |
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | UpdateTrackerId | , |
| int64_t | |||
| ) |
| operations_research::math_opt::DEFINE_STRONG_INT_TYPE | ( | VariableId | , |
| int64_t | |||
| ) |
| testing::Matcher< UpdateResult > DidUpdate | ( | ) |
Definition at line 838 of file matchers.cc.
| std::optional< typename EnumProto< P >::Cpp > EnumFromProto | ( | const P | proto_value | ) |
| std::optional< E > EnumFromString | ( | const absl::string_view | str | ) |
| std::optional< absl::string_view > EnumToOptString | ( | const E | value | ) |
| Enum< E >::Proto EnumToProto | ( | const std::optional< E > | value | ) |
| absl::flat_hash_set< CallbackEventProto > EventSet | ( | const CallbackRegistrationProto & | callback_registration | ) |
Definition at line 72 of file math_opt_proto_utils.cc.
| std::vector< bool > EventToGurobiWhere | ( | const absl::flat_hash_set< CallbackEventProto > & | events | ) |
Definition at line 310 of file gurobi_callback.cc.
| TerminationProto FeasibleTermination | ( | const LimitProto | limit, |
| const absl::string_view | detail | ||
| ) |
Definition at line 99 of file math_opt_proto_utils.cc.
| SparseBasisStatusVector operations_research::math_opt::FillSparseBasisStatusVector | ( | const std::vector< int64_t > & | ids_in_order, |
| const absl::flat_hash_map< int64_t, IndexType > & | id_map, | ||
| const glop::StrictITIVector< IndexType, ValueType > & | values | ||
| ) |
Definition at line 458 of file glop_solver.cc.
| SparseDoubleVectorProto operations_research::math_opt::FillSparseDoubleVector | ( | const std::vector< 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 422 of file glop_solver.cc.
|
inline |
Definition at line 55 of file math_opt_proto_utils.h.
|
inline |
Definition at line 48 of file math_opt_proto_utils.h.
| BasisStatusProto operations_research::math_opt::FromGlopBasisStatus | ( | const ValueType | glop_basis_status | ) |
Definition at line 441 of file glop_solver.cc.
| std::pair< SparseCoefficientMap, double > FromLinearExpression | ( | const LinearExpression & | expression | ) |
Definition at line 33 of file model_util.cc.
| std::vector<int64_t> operations_research::math_opt::GetSortedIs | ( | const absl::flat_hash_map< int64_t, T > & | id_map | ) |
Definition at line 492 of file glop_solver.cc.
| absl::StatusOr< std::optional< GlpkRay > > GlpkComputeUnboundRay | ( | glp_prob *const | problem | ) |
| absl::Status GurobiCallbackImpl | ( | const Gurobi::CallbackContext & | context, |
| const GurobiCallbackInput & | callback_input, | ||
| MessageCallbackData & | message_callback_data, | ||
| SolveInterrupter *const | local_interrupter | ||
| ) |
Definition at line 319 of file gurobi_callback.cc.
| void GurobiCallbackImplFlush | ( | const GurobiCallbackInput & | callback_input, |
| MessageCallbackData & | message_callback_data | ||
| ) |
Definition at line 382 of file gurobi_callback.cc.
| absl::StatusOr< GRBenvUniquePtr > GurobiNewPrimaryEnv | ( | const std::optional< GurobiIsvKey > & | isv_key | ) |
Definition at line 72 of file g_gurobi.cc.
| testing::Matcher< SolveResult > HasDualRay | ( | DualRay | expected, |
| const double | tolerance | ||
| ) |
Definition at line 719 of file matchers.cc.
| testing::Matcher< SolveResult > HasDualSolution | ( | DualSolution | expected, |
| const double | tolerance | ||
| ) |
Definition at line 699 of file matchers.cc.
| testing::Matcher< SolveResult > HasPrimalRay | ( | PrimalRay | expected, |
| const double | tolerance | ||
| ) |
Definition at line 707 of file matchers.cc.
| testing::Matcher< SolveResult > HasPrimalRay | ( | VariableMap< double > | expected_vars, |
| const double | tolerance | ||
| ) |
Definition at line 712 of file matchers.cc.
| testing::Matcher< SolveResult > HasSolution | ( | PrimalSolution | expected, |
| const double | tolerance | ||
| ) |
Definition at line 691 of file matchers.cc.
| glop::StrictITIVector<T, int64_t> operations_research::math_opt::IndexToId | ( | const absl::flat_hash_map< int64_t, T > & | id_map | ) |
Definition at line 507 of file glop_solver.cc.
|
inline |
Definition at line 1634 of file variable_and_expressions.h.
| testing::Matcher< SolveResult > IsConsistentWith | ( | const SolveResult & | expected, |
| const SolveResultMatcherOptions & | options | ||
| ) |
Definition at line 810 of file matchers.cc.
| testing::Matcher< LinearExpression > IsIdentical | ( | LinearExpression | expected | ) |
Definition at line 257 of file matchers.cc.
| testing::Matcher< QuadraticExpression > IsIdentical | ( | QuadraticExpression | expected | ) |
Definition at line 298 of file matchers.cc.
Definition at line 545 of file matchers.cc.
| testing::Matcher< DualSolution > IsNear | ( | DualSolution | expected, |
| const double | tolerance | ||
| ) |
Definition at line 390 of file matchers.cc.
| Matcher<IdMap<K, double> > operations_research::math_opt::IsNear | ( | IdMap< K, double > | expected, |
| const double | tolerance | ||
| ) |
Definition at line 240 of file matchers.cc.
| testing::Matcher<IdMap<K, double> > operations_research::math_opt::IsNear | ( | IdMap< K, double > | expected, |
| const double | tolerance = kMatcherDefaultTolerance |
||
| ) |
Definition at line 240 of file matchers.cc.
| testing::Matcher< LinearConstraintMap< double > > IsNear | ( | LinearConstraintMap< double > | expected, |
| const double | tolerance | ||
| ) |
Definition at line 232 of file matchers.cc.
Definition at line 483 of file matchers.cc.
| testing::Matcher< PrimalSolution > IsNear | ( | PrimalSolution | expected, |
| const double | tolerance | ||
| ) |
Definition at line 380 of file matchers.cc.
| testing::Matcher< Solution > IsNear | ( | Solution | expected, |
| const SolutionMatcherOptions | options | ||
| ) |
Definition at line 410 of file matchers.cc.
| testing::Matcher< VariableMap< double > > IsNear | ( | VariableMap< double > | expected, |
| const double | tolerance | ||
| ) |
Definition at line 219 of file matchers.cc.
| testing::Matcher< BoundedLinearExpression > IsNearlyEquivalent | ( | const BoundedLinearExpression & | expected, |
| const double | tolerance | ||
| ) |
Definition at line 289 of file matchers.cc.
| Matcher<IdMap<K, double> > operations_research::math_opt::IsNearlySubsetOf | ( | IdMap< K, double > | expected, |
| const double | tolerance | ||
| ) |
Definition at line 247 of file matchers.cc.
| testing::Matcher<IdMap<K, double> > operations_research::math_opt::IsNearlySubsetOf | ( | IdMap< K, double > | expected, |
| const double | tolerance = kMatcherDefaultTolerance |
||
| ) |
Definition at line 247 of file matchers.cc.
| testing::Matcher< LinearConstraintMap< double > > IsNearlySubsetOf | ( | LinearConstraintMap< double > | expected, |
| double | tolerance | ||
| ) |
Definition at line 225 of file matchers.cc.
| testing::Matcher< VariableMap< double > > IsNearlySubsetOf | ( | VariableMap< double > | expected, |
| double | tolerance | ||
| ) |
Definition at line 213 of file matchers.cc.
| testing::Matcher< SolveResult > IsOptimal | ( | const std::optional< double > | expected_objective, |
| const double | tolerance | ||
| ) |
Definition at line 647 of file matchers.cc.
| testing::Matcher< SolveResult > IsOptimalWithDualSolution | ( | const double | expected_objective, |
| const LinearConstraintMap< double > | expected_dual_values, | ||
| const VariableMap< double > | expected_reduced_costs, | ||
| const double | tolerance | ||
| ) |
Definition at line 676 of file matchers.cc.
| testing::Matcher< SolveResult > IsOptimalWithSolution | ( | const double | expected_objective, |
| const VariableMap< double > | expected_variable_values, | ||
| const double | tolerance | ||
| ) |
Definition at line 663 of file matchers.cc.
| absl::StatusOr< LinearConstraintMap< BasisStatus > > LinearConstraintBasisFromProto | ( | const ModelStorage *const | model, |
| const SparseBasisStatusVector & | basis_proto | ||
| ) |
Definition at line 143 of file sparse_containers.cc.
| SparseBasisStatusVector LinearConstraintBasisToProto | ( | const LinearConstraintMap< BasisStatus > & | basis_values | ) |
Definition at line 151 of file sparse_containers.cc.
| absl::StatusOr< LinearConstraintMap< double > > LinearConstraintValuesFromProto | ( | const ModelStorage *const | model, |
| const SparseDoubleVectorProto & | lin_cons_proto | ||
| ) |
Definition at line 116 of file sparse_containers.cc.
| SparseDoubleVectorProto LinearConstraintValuesToProto | ( | const LinearConstraintMap< double > & | linear_constraint_values | ) |
Definition at line 125 of file sparse_containers.cc.
| testing::Matcher< LinearExpression > LinearExpressionIsNear | ( | const LinearExpression | expected, |
| const double | tolerance | ||
| ) |
Definition at line 261 of file matchers.cc.
| iterator_range<T> operations_research::math_opt::make_range | ( | std::pair< T, T > | p | ) |
| iterator_range<T> operations_research::math_opt::make_range | ( | T | x, |
| T | y | ||
| ) |
| MapFilter<ValueType> operations_research::math_opt::MakeKeepKeysFilter | ( | const Collection & | keys | ) |
Definition at line 135 of file map_filter.h.
| MapFilter<KeyType> operations_research::math_opt::MakeKeepKeysFilter | ( | std::initializer_list< KeyType > | keys | ) |
Definition at line 151 of file map_filter.h.
| MapFilter<KeyType> operations_research::math_opt::MakeSkipAllFilter | ( | ) |
Definition at line 110 of file map_filter.h.
| MapFilter<KeyType> operations_research::math_opt::MakeSkipZerosFilter | ( | ) |
Definition at line 122 of file map_filter.h.
| SparseBoolVectorProto MakeSparseBoolVector | ( | std::initializer_list< std::pair< int64_t, bool >> | pairs | ) |
Definition at line 36 of file sparse_collection_matchers.cc.
| SparseDoubleMatrixProto MakeSparseDoubleMatrix | ( | std::initializer_list< std::tuple< int64_t, int64_t, double >> | values | ) |
Definition at line 46 of file sparse_collection_matchers.cc.
| SparseDoubleVectorProto MakeSparseDoubleVector | ( | std::initializer_list< std::pair< int64_t, double >> | pairs | ) |
Definition at line 26 of file sparse_collection_matchers.cc.
| auto operations_research::math_opt::MakeUpdateDataFieldIterator | ( | BaseIter | base_iter | ) |
Definition at line 104 of file math_opt/storage/iterators.h.
| auto operations_research::math_opt::MakeUpdateDataFieldRange | ( | const UpdateTrackers & | trackers | ) |
Definition at line 121 of file math_opt/storage/iterators.h.
| SparseVectorView<T> operations_research::math_opt::MakeView | ( | absl::Span< const int64_t > | ids, |
| const Collection & | values | ||
| ) |
Definition at line 144 of file sparse_vector_view.h.
| SparseVectorView<const T*> operations_research::math_opt::MakeView | ( | const google::protobuf::RepeatedField< int64_t > & | ids, |
| const google::protobuf::RepeatedPtrField< T > & | values | ||
| ) |
Definition at line 153 of file sparse_vector_view.h.
| SparseVectorView<T> operations_research::math_opt::MakeView | ( | const SparseVector< T > & | sparse_vector | ) |
Definition at line 171 of file sparse_vector_view.h.
| SparseVectorView<T> operations_research::math_opt::MakeView | ( | const SparseVectorProto & | sparse_vector | ) |
Definition at line 164 of file sparse_vector_view.h.
| std::vector<K> operations_research::math_opt::MapKeys | ( | const absl::flat_hash_map< K, V > & | in_map | ) |
| std::vector<K> operations_research::math_opt::MapKeys | ( | const google::protobuf::Map< K, V > & | in_map | ) |
| 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 629 of file matchers.cc.
| operations_research::math_opt::MATCHER_P | ( | SparseDoubleMatrixMatcher | , |
| coefficients | , | ||
| "" | |||
| ) |
Definition at line 70 of file sparse_collection_matchers.h.
| operations_research::math_opt::MATCHER_P | ( | SparseVectorMatcher | , |
| pairs | , | ||
| "" | |||
| ) |
Definition at line 50 of file sparse_collection_matchers.h.
| std::string operations_research::math_opt::MatcherToString | ( | const ::testing::PolymorphicMatcher< T > & | matcher, |
| bool | negate | ||
| ) |
Definition at line 624 of file matchers.cc.
| std::string operations_research::math_opt::MatcherToString | ( | const Matcher< T > & | matcher, |
| bool | negate | ||
| ) |
Definition at line 615 of file matchers.cc.
| std::string operations_research::math_opt::MatcherToStringImpl | ( | const MatcherType & | matcher, |
| const bool | negate | ||
| ) |
Definition at line 604 of file matchers.cc.
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | BasisStatus | , |
| BASIS_STATUS_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | CallbackEvent | , |
| CALLBACK_EVENT_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | Emphasis | , |
| EMPHASIS_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | FeasibilityStatus | , |
| FEASIBILITY_STATUS_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | Limit | , |
| LIMIT_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | LPAlgorithm | , |
| LP_ALGORITHM_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | SolutionStatus | , |
| SOLUTION_STATUS_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | SolverType | , |
| SOLVER_TYPE_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_DEFINE_ENUM | ( | TerminationReason | , |
| TERMINATION_REASON_UNSPECIFIED | |||
| ) |
| operations_research::math_opt::MATH_OPT_REGISTER_SOLVER | ( | SOLVER_TYPE_CP_SAT | , |
| CpSatSolver::New | |||
| ) |
| operations_research::math_opt::MATH_OPT_REGISTER_SOLVER | ( | SOLVER_TYPE_PDLP | , |
| PdlpSolver::New | |||
| ) |
| absl::StatusOr<::operations_research::MPModelProto> operations_research::math_opt::MathOptModelToMPModelProto | ( | const ::operations_research::math_opt::ModelProto & | model | ) |
Definition at line 371 of file proto_converter.cc.
| absl::StatusOr<MPModelProto> operations_research::math_opt::MathOptModelToMPModelProto | ( | const ModelProto & | model | ) |
| C operations_research::math_opt::MemberPointerClassType | ( | V C::* | ) |
| V operations_research::math_opt::MemberPointerValueType | ( | V C::* | ) |
| absl::Status ModelIsSupported | ( | const ModelProto & | model, |
| const SupportedProblemStructures & | support_menu, | ||
| const absl::string_view | solver_name | ||
| ) |
Definition at line 119 of file math_opt_proto_utils.cc.
| absl::StatusOr< std::string > ModelProtoToMps | ( | const ModelProto & | model | ) |
Definition at line 29 of file mps_converter.cc.
| absl::StatusOr<::operations_research::math_opt::ModelProto> operations_research::math_opt::MPModelProtoToMathOptModel | ( | const ::operations_research::MPModelProto & | model | ) |
Definition at line 219 of file proto_converter.cc.
| absl::StatusOr<ModelProto> operations_research::math_opt::MPModelProtoToMathOptModel | ( | const MPModelProto & | model | ) |
| absl::StatusOr< GRBenvUniquePtr > NewPrimaryEnvironment | ( | std::optional< GurobiInitializerProto::ISVKey > | proto_isv_key | ) |
Definition at line 27 of file gurobi_init_arguments.cc.
| TerminationProto NoSolutionFoundTermination | ( | const LimitProto | limit, |
| const absl::string_view | detail | ||
| ) |
Definition at line 104 of file math_opt_proto_utils.cc.
|
inline |
Definition at line 38 of file math_opt_proto_utils.h.
|
inline |
Definition at line 42 of file math_opt_proto_utils.h.
|
inline |
Definition at line 34 of file math_opt_proto_utils.h.
| bool operations_research::math_opt::operator!= | ( | const IndicatorConstraint & | lhs, |
| const IndicatorConstraint & | rhs | ||
| ) |
Definition at line 131 of file indicator_constraint.h.
| bool operations_research::math_opt::operator!= | ( | const LinearConstraint & | lhs, |
| const LinearConstraint & | rhs | ||
| ) |
Definition at line 155 of file math_opt/cpp/linear_constraint.h.
| bool operations_research::math_opt::operator!= | ( | const QuadraticConstraint & | lhs, |
| const QuadraticConstraint & | rhs | ||
| ) |
Definition at line 175 of file quadratic_constraint.h.
|
inline |
Definition at line 2029 of file variable_and_expressions.h.
| bool operations_research::math_opt::operator!= | ( | const Sos1Constraint & | lhs, |
| const Sos1Constraint & | rhs | ||
| ) |
Definition at line 122 of file sos1_constraint.h.
| bool operations_research::math_opt::operator!= | ( | const Sos2Constraint & | lhs, |
| const Sos2Constraint & | rhs | ||
| ) |
Definition at line 123 of file sos2_constraint.h.
Definition at line 1672 of file variable_and_expressions.h.
|
inline |
Definition at line 2448 of file variable_and_expressions.h.
|
inline |
Definition at line 2437 of file variable_and_expressions.h.
|
inline |
Definition at line 2426 of file variable_and_expressions.h.
|
inline |
Definition at line 1314 of file variable_and_expressions.h.
|
inline |
Definition at line 1324 of file variable_and_expressions.h.
|
inline |
Definition at line 1512 of file variable_and_expressions.h.
|
inline |
Definition at line 2380 of file variable_and_expressions.h.
|
inline |
Definition at line 2375 of file variable_and_expressions.h.
|
inline |
Definition at line 1507 of file variable_and_expressions.h.
|
inline |
Definition at line 2415 of file variable_and_expressions.h.
|
inline |
Definition at line 2410 of file variable_and_expressions.h.
|
inline |
Definition at line 2405 of file variable_and_expressions.h.
|
inline |
Definition at line 1319 of file variable_and_expressions.h.
|
inline |
Definition at line 2475 of file variable_and_expressions.h.
|
inline |
Definition at line 2470 of file variable_and_expressions.h.
|
inline |
Definition at line 2394 of file variable_and_expressions.h.
|
inline |
Definition at line 2389 of file variable_and_expressions.h.
|
inline |
Definition at line 2385 of file variable_and_expressions.h.
|
inline |
Definition at line 1328 of file variable_and_expressions.h.
|
inline |
Definition at line 2177 of file variable_and_expressions.h.
|
inline |
Definition at line 1403 of file variable_and_expressions.h.
|
inline |
Definition at line 2162 of file variable_and_expressions.h.
|
inline |
Definition at line 1387 of file variable_and_expressions.h.
|
inline |
Definition at line 2166 of file variable_and_expressions.h.
|
inline |
Definition at line 1395 of file variable_and_expressions.h.
|
inline |
Definition at line 2191 of file variable_and_expressions.h.
|
inline |
Definition at line 2201 of file variable_and_expressions.h.
|
inline |
Definition at line 2183 of file variable_and_expressions.h.
|
inline |
Definition at line 2195 of file variable_and_expressions.h.
|
inline |
Definition at line 2206 of file variable_and_expressions.h.
|
inline |
Definition at line 2187 of file variable_and_expressions.h.
|
inline |
Definition at line 1391 of file variable_and_expressions.h.
|
inline |
Definition at line 2144 of file variable_and_expressions.h.
|
inline |
Definition at line 1412 of file variable_and_expressions.h.
|
inline |
Definition at line 2148 of file variable_and_expressions.h.
|
inline |
Definition at line 1379 of file variable_and_expressions.h.
|
inline |
Definition at line 1435 of file variable_and_expressions.h.
|
inline |
Definition at line 1425 of file variable_and_expressions.h.
|
inline |
Definition at line 2171 of file variable_and_expressions.h.
|
inline |
Definition at line 1407 of file variable_and_expressions.h.
|
inline |
Definition at line 1417 of file variable_and_expressions.h.
|
inline |
Definition at line 1430 of file variable_and_expressions.h.
|
inline |
Definition at line 2227 of file variable_and_expressions.h.
|
inline |
Definition at line 2222 of file variable_and_expressions.h.
|
inline |
Definition at line 2239 of file variable_and_expressions.h.
|
inline |
Definition at line 2233 of file variable_and_expressions.h.
|
inline |
Definition at line 2212 of file variable_and_expressions.h.
|
inline |
Definition at line 2217 of file variable_and_expressions.h.
|
inline |
Definition at line 1399 of file variable_and_expressions.h.
|
inline |
Definition at line 2153 of file variable_and_expressions.h.
|
inline |
Definition at line 1375 of file variable_and_expressions.h.
|
inline |
Definition at line 1421 of file variable_and_expressions.h.
|
inline |
Definition at line 2157 of file variable_and_expressions.h.
|
inline |
Definition at line 1383 of file variable_and_expressions.h.
|
inline |
Definition at line 2299 of file variable_and_expressions.h.
|
inline |
Definition at line 1468 of file variable_and_expressions.h.
|
inline |
Definition at line 2283 of file variable_and_expressions.h.
|
inline |
Definition at line 1452 of file variable_and_expressions.h.
|
inline |
Definition at line 2287 of file variable_and_expressions.h.
|
inline |
Definition at line 1460 of file variable_and_expressions.h.
|
inline |
Definition at line 2314 of file variable_and_expressions.h.
|
inline |
Definition at line 2324 of file variable_and_expressions.h.
|
inline |
Definition at line 2306 of file variable_and_expressions.h.
|
inline |
Definition at line 2318 of file variable_and_expressions.h.
|
inline |
Definition at line 2329 of file variable_and_expressions.h.
|
inline |
Definition at line 2310 of file variable_and_expressions.h.
|
inline |
Definition at line 1456 of file variable_and_expressions.h.
|
inline |
Definition at line 2265 of file variable_and_expressions.h.
|
inline |
Definition at line 1477 of file variable_and_expressions.h.
|
inline |
Definition at line 2269 of file variable_and_expressions.h.
|
inline |
Definition at line 1444 of file variable_and_expressions.h.
|
inline |
Definition at line 1367 of file variable_and_expressions.h.
|
inline |
Definition at line 1502 of file variable_and_expressions.h.
|
inline |
Definition at line 1491 of file variable_and_expressions.h.
|
inline |
Definition at line 2293 of file variable_and_expressions.h.
|
inline |
Definition at line 1472 of file variable_and_expressions.h.
|
inline |
Definition at line 1483 of file variable_and_expressions.h.
|
inline |
Definition at line 1496 of file variable_and_expressions.h.
|
inline |
Definition at line 2254 of file variable_and_expressions.h.
|
inline |
Definition at line 2354 of file variable_and_expressions.h.
|
inline |
Definition at line 2342 of file variable_and_expressions.h.
|
inline |
Definition at line 2366 of file variable_and_expressions.h.
|
inline |
Definition at line 2360 of file variable_and_expressions.h.
|
inline |
Definition at line 2336 of file variable_and_expressions.h.
|
inline |
Definition at line 2347 of file variable_and_expressions.h.
|
inline |
Definition at line 2248 of file variable_and_expressions.h.
|
inline |
Definition at line 1464 of file variable_and_expressions.h.
|
inline |
Definition at line 2275 of file variable_and_expressions.h.
|
inline |
Definition at line 1440 of file variable_and_expressions.h.
|
inline |
Definition at line 1487 of file variable_and_expressions.h.
|
inline |
Definition at line 2279 of file variable_and_expressions.h.
|
inline |
Definition at line 1448 of file variable_and_expressions.h.
|
inline |
Definition at line 1517 of file variable_and_expressions.h.
|
inline |
Definition at line 1332 of file variable_and_expressions.h.
|
inline |
Definition at line 2488 of file variable_and_expressions.h.
|
inline |
Definition at line 2483 of file variable_and_expressions.h.
|
inline |
Definition at line 1337 of file variable_and_expressions.h.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const BoundedLinearExpression & | bounded_expression | ||
| ) |
Definition at line 120 of file variable_and_expressions.cc.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const BoundedQuadraticExpression & | bounded_expression | ||
| ) |
Definition at line 210 of file variable_and_expressions.cc.
|
inline |
Definition at line 141 of file indicator_constraint.h.
|
inline |
Definition at line 165 of file math_opt/cpp/linear_constraint.h.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const LinearExpression & | expression | ||
| ) |
Definition at line 100 of file variable_and_expressions.cc.
| std::ostream& operations_research::math_opt::operator<< | ( | std::ostream & | ostr, |
| const Model & | model | ||
| ) |
Definition at line 223 of file math_opt/cpp/model.cc.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const ProblemStatus & | problem_status | ||
| ) |
Definition at line 230 of file solve_result.cc.
|
inline |
Definition at line 186 of file quadratic_constraint.h.
| std::ostream& operations_research::math_opt::operator<< | ( | std::ostream & | ostr, |
| const QuadraticExpression & | expr | ||
| ) |
Definition at line 178 of file variable_and_expressions.cc.
|
inline |
Definition at line 2019 of file variable_and_expressions.h.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const SolveStats & | solve_stats | ||
| ) |
Definition at line 281 of file solve_result.cc.
|
inline |
Definition at line 131 of file sos1_constraint.h.
|
inline |
Definition at line 132 of file sos2_constraint.h.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const Termination & | termination | ||
| ) |
Definition at line 185 of file solve_result.cc.
|
inline |
Definition at line 1278 of file variable_and_expressions.h.
|
inline |
Definition at line 72 of file formatters.h.
| std::ostream& operations_research::math_opt::operator<< | ( | std::ostream & | out, |
| const E | value | ||
| ) |
|
inline |
Definition at line 37 of file formatters.h.
| std::ostream & operator<< | ( | std::ostream & | out, |
| const ModelRanges & | ranges | ||
| ) |
Definition at line 69 of file statistics.cc.
| std::ostream & operator<< | ( | std::ostream & | out, |
| const SolveResult & | result | ||
| ) |
Definition at line 458 of file solve_result.cc.
| std::ostream& operations_research::math_opt::operator<< | ( | std::ostream & | out, |
| const std::optional< E > | opt_value | ||
| ) |
|
inline |
Definition at line 2956 of file variable_and_expressions.h.
|
inline |
Definition at line 1875 of file variable_and_expressions.h.
|
inline |
Definition at line 1843 of file variable_and_expressions.h.
|
inline |
Definition at line 1890 of file variable_and_expressions.h.
|
inline |
Definition at line 1763 of file variable_and_expressions.h.
|
inline |
Definition at line 1738 of file variable_and_expressions.h.
|
inline |
Definition at line 1728 of file variable_and_expressions.h.
|
inline |
Definition at line 1748 of file variable_and_expressions.h.
|
inline |
Definition at line 2729 of file variable_and_expressions.h.
|
inline |
Definition at line 2733 of file variable_and_expressions.h.
|
inline |
Definition at line 1804 of file variable_and_expressions.h.
|
inline |
Definition at line 2770 of file variable_and_expressions.h.
|
inline |
Definition at line 1753 of file variable_and_expressions.h.
|
inline |
Definition at line 1811 of file variable_and_expressions.h.
|
inline |
Definition at line 1827 of file variable_and_expressions.h.
|
inline |
Definition at line 2962 of file variable_and_expressions.h.
|
inline |
Definition at line 1859 of file variable_and_expressions.h.
|
inline |
Definition at line 2988 of file variable_and_expressions.h.
|
inline |
Definition at line 2994 of file variable_and_expressions.h.
|
inline |
Definition at line 1783 of file variable_and_expressions.h.
|
inline |
Definition at line 2765 of file variable_and_expressions.h.
|
inline |
Definition at line 2818 of file variable_and_expressions.h.
|
inline |
Definition at line 2806 of file variable_and_expressions.h.
|
inline |
Definition at line 2746 of file variable_and_expressions.h.
|
inline |
Definition at line 2824 of file variable_and_expressions.h.
|
inline |
Definition at line 2812 of file variable_and_expressions.h.
|
inline |
Definition at line 2830 of file variable_and_expressions.h.
|
inline |
Definition at line 2750 of file variable_and_expressions.h.
|
inline |
Definition at line 2904 of file variable_and_expressions.h.
|
inline |
Definition at line 2909 of file variable_and_expressions.h.
|
inline |
Definition at line 2893 of file variable_and_expressions.h.
|
inline |
Definition at line 2899 of file variable_and_expressions.h.
|
inline |
Definition at line 2914 of file variable_and_expressions.h.
|
inline |
Definition at line 1898 of file variable_and_expressions.h.
|
inline |
Definition at line 1867 of file variable_and_expressions.h.
|
inline |
Definition at line 3020 of file variable_and_expressions.h.
|
inline |
Definition at line 3026 of file variable_and_expressions.h.
|
inline |
Definition at line 1906 of file variable_and_expressions.h.
|
inline |
Definition at line 1773 of file variable_and_expressions.h.
| bool operations_research::math_opt::operator== | ( | const IndicatorConstraint & | lhs, |
| const IndicatorConstraint & | rhs | ||
| ) |
Definition at line 126 of file indicator_constraint.h.
| bool operations_research::math_opt::operator== | ( | const LinearConstraint & | lhs, |
| const LinearConstraint & | rhs | ||
| ) |
Definition at line 151 of file math_opt/cpp/linear_constraint.h.
|
inline |
Definition at line 2967 of file variable_and_expressions.h.
|
inline |
Definition at line 1955 of file variable_and_expressions.h.
|
inline |
Definition at line 1970 of file variable_and_expressions.h.
|
inline |
Definition at line 1928 of file variable_and_expressions.h.
|
inline |
Definition at line 1962 of file variable_and_expressions.h.
| bool operations_research::math_opt::operator== | ( | const QuadraticConstraint & | lhs, |
| const QuadraticConstraint & | rhs | ||
| ) |
Definition at line 170 of file quadratic_constraint.h.
|
inline |
Definition at line 2025 of file variable_and_expressions.h.
| bool operations_research::math_opt::operator== | ( | const Sos1Constraint & | lhs, |
| const Sos1Constraint & | rhs | ||
| ) |
Definition at line 118 of file sos1_constraint.h.
| bool operations_research::math_opt::operator== | ( | const Sos2Constraint & | lhs, |
| const Sos2Constraint & | rhs | ||
| ) |
Definition at line 119 of file sos2_constraint.h.
|
inline |
Definition at line 1667 of file variable_and_expressions.h.
|
inline |
Definition at line 1975 of file variable_and_expressions.h.
|
inline |
Definition at line 1949 of file variable_and_expressions.h.
|
inline |
Definition at line 3042 of file variable_and_expressions.h.
|
inline |
Definition at line 3047 of file variable_and_expressions.h.
|
inline |
Definition at line 1984 of file variable_and_expressions.h.
|
inline |
Definition at line 1914 of file variable_and_expressions.h.
|
inline |
Definition at line 1921 of file variable_and_expressions.h.
|
inline |
Definition at line 1943 of file variable_and_expressions.h.
|
inline |
Definition at line 2972 of file variable_and_expressions.h.
|
inline |
Definition at line 1935 of file variable_and_expressions.h.
|
inline |
Definition at line 2999 of file variable_and_expressions.h.
|
inline |
Definition at line 3004 of file variable_and_expressions.h.
|
inline |
Definition at line 2846 of file variable_and_expressions.h.
|
inline |
Definition at line 2836 of file variable_and_expressions.h.
|
inline |
Definition at line 2861 of file variable_and_expressions.h.
|
inline |
Definition at line 2851 of file variable_and_expressions.h.
|
inline |
Definition at line 2841 of file variable_and_expressions.h.
|
inline |
Definition at line 2856 of file variable_and_expressions.h.
|
inline |
Definition at line 2940 of file variable_and_expressions.h.
|
inline |
Definition at line 2928 of file variable_and_expressions.h.
|
inline |
Definition at line 2932 of file variable_and_expressions.h.
|
inline |
Definition at line 2919 of file variable_and_expressions.h.
|
inline |
Definition at line 2924 of file variable_and_expressions.h.
|
inline |
Definition at line 2936 of file variable_and_expressions.h.
|
inline |
Definition at line 1966 of file variable_and_expressions.h.
|
inline |
Definition at line 1980 of file variable_and_expressions.h.
|
inline |
Definition at line 1939 of file variable_and_expressions.h.
|
inline |
Definition at line 3031 of file variable_and_expressions.h.
|
inline |
Definition at line 3036 of file variable_and_expressions.h.
|
inline |
Definition at line 2945 of file variable_and_expressions.h.
|
inline |
Definition at line 1883 of file variable_and_expressions.h.
|
inline |
Definition at line 1851 of file variable_and_expressions.h.
|
inline |
Definition at line 1894 of file variable_and_expressions.h.
|
inline |
Definition at line 1733 of file variable_and_expressions.h.
|
inline |
Definition at line 1768 of file variable_and_expressions.h.
|
inline |
Definition at line 1758 of file variable_and_expressions.h.
|
inline |
Definition at line 1778 of file variable_and_expressions.h.
|
inline |
Definition at line 1790 of file variable_and_expressions.h.
|
inline |
Definition at line 2760 of file variable_and_expressions.h.
|
inline |
Definition at line 2738 of file variable_and_expressions.h.
|
inline |
Definition at line 2742 of file variable_and_expressions.h.
|
inline |
Definition at line 1723 of file variable_and_expressions.h.
|
inline |
Definition at line 1819 of file variable_and_expressions.h.
|
inline |
Definition at line 1835 of file variable_and_expressions.h.
|
inline |
Definition at line 2951 of file variable_and_expressions.h.
|
inline |
Definition at line 1863 of file variable_and_expressions.h.
|
inline |
Definition at line 2977 of file variable_and_expressions.h.
|
inline |
Definition at line 2983 of file variable_and_expressions.h.
|
inline |
Definition at line 2788 of file variable_and_expressions.h.
|
inline |
Definition at line 2776 of file variable_and_expressions.h.
|
inline |
Definition at line 2721 of file variable_and_expressions.h.
|
inline |
Definition at line 2794 of file variable_and_expressions.h.
|
inline |
Definition at line 2782 of file variable_and_expressions.h.
|
inline |
Definition at line 2800 of file variable_and_expressions.h.
|
inline |
Definition at line 2725 of file variable_and_expressions.h.
|
inline |
Definition at line 2878 of file variable_and_expressions.h.
|
inline |
Definition at line 2883 of file variable_and_expressions.h.
|
inline |
Definition at line 2867 of file variable_and_expressions.h.
|
inline |
Definition at line 2873 of file variable_and_expressions.h.
|
inline |
Definition at line 2888 of file variable_and_expressions.h.
|
inline |
Definition at line 1797 of file variable_and_expressions.h.
|
inline |
Definition at line 2755 of file variable_and_expressions.h.
|
inline |
Definition at line 1902 of file variable_and_expressions.h.
|
inline |
Definition at line 1871 of file variable_and_expressions.h.
|
inline |
Definition at line 3009 of file variable_and_expressions.h.
|
inline |
Definition at line 3015 of file variable_and_expressions.h.
|
inline |
Definition at line 1910 of file variable_and_expressions.h.
|
inline |
Definition at line 1743 of file variable_and_expressions.h.
| testing::Matcher< PrimalRay > PrimalRayIsNear | ( | VariableMap< double > | expected_var_values, |
| const double | tolerance | ||
| ) |
Definition at line 488 of file matchers.cc.
| MessageCallback PrinterMessageCallback | ( | std::ostream & | output_stream, |
| const absl::string_view | prefix | ||
| ) |
Definition at line 52 of file message_callback.cc.
| void PrintTo | ( | const Basis & | basis, |
| std::ostream *const | os | ||
| ) |
Definition at line 115 of file matchers.cc.
| void PrintTo | ( | const DualRay & | dual_ray, |
| std::ostream *const | os | ||
| ) |
Definition at line 110 of file matchers.cc.
| void PrintTo | ( | const DualSolution & | dual_solution, |
| std::ostream *const | os | ||
| ) |
Definition at line 98 of file matchers.cc.
| void PrintTo | ( | const FeasibilityStatusProto & | proto, |
| std::ostream * | os | ||
| ) |
Definition at line 57 of file enum_sets.cc.
| void operations_research::math_opt::PrintTo | ( | const IdMap< K, V > & | id_map, |
| std::ostream *const | os | ||
| ) |
Definition at line 450 of file matchers.h.
| void PrintTo | ( | const PrimalRay & | primal_ray, |
| std::ostream *const | os | ||
| ) |
Definition at line 106 of file matchers.cc.
| void PrintTo | ( | const PrimalSolution & | primal_solution, |
| std::ostream *const | os | ||
| ) |
Definition at line 91 of file matchers.cc.
| void PrintTo | ( | const Solution & | solution, |
| std::ostream *const | os | ||
| ) |
Definition at line 122 of file matchers.cc.
| void PrintTo | ( | const SolutionStatusProto & | proto, |
| std::ostream * | os | ||
| ) |
Definition at line 53 of file enum_sets.cc.
| void PrintTo | ( | const SolveResult & | result, |
| std::ostream *const | os | ||
| ) |
Definition at line 128 of file matchers.cc.
| void PrintTo | ( | const std::tuple< FeasibilityStatusProto, FeasibilityStatusProto > & | proto, |
| std::ostream * | os | ||
| ) |
Definition at line 67 of file enum_sets.cc.
| void PrintTo | ( | const std::tuple< SolutionStatusProto, FeasibilityStatusProto > & | proto, |
| std::ostream * | os | ||
| ) |
Definition at line 74 of file enum_sets.cc.
| void PrintTo | ( | const std::tuple< SolutionStatusProto, SolutionStatusProto > & | proto, |
| std::ostream * | os | ||
| ) |
Definition at line 61 of file enum_sets.cc.
| void PrintTo | ( | const Termination & | termination, |
| std::ostream * | os | ||
| ) |
Definition at line 83 of file matchers.cc.
| absl::StatusOr< ModelProto > ReadMpsFile | ( | const absl::string_view | filename | ) |
Definition at line 36 of file mps_converter.cc.
| testing::Matcher< Termination > ReasonIs | ( | TerminationReason | reason | ) |
Definition at line 639 of file matchers.cc.
| testing::Matcher< Termination > ReasonIsOptimal | ( | ) |
Definition at line 643 of file matchers.cc.
| void RemoveNames | ( | ModelProto & | model | ) |
Definition at line 21 of file names_removal.cc.
| void RemoveNames | ( | ModelUpdateProto & | update | ) |
Definition at line 27 of file names_removal.cc.
| void RemoveSparseDoubleVectorZeros | ( | SparseDoubleVectorProto & | sparse_vector | ) |
Definition at line 37 of file math_opt_proto_utils.cc.
| absl::StatusOr< SolveResult > Solve | ( | const Model & | model, |
| const SolverType | solver_type, | ||
| const SolveArguments & | solve_args, | ||
| const SolverInitArguments & | init_args | ||
| ) |
Definition at line 101 of file math_opt/cpp/solve.cc.
| std::vector<ConstraintType> operations_research::math_opt::SortedAtomicConstraints | ( | const ModelStorage & | storage | ) |
Definition at line 71 of file model_util.h.
| std::vector<T> operations_research::math_opt::SortedElements | ( | const absl::flat_hash_set< T > & | elements | ) |
| std::vector<K> operations_research::math_opt::SortedMapKeys | ( | const absl::flat_hash_map< K, V > & | in_map | ) |
| std::vector<K> operations_research::math_opt::SortedMapKeys | ( | const google::protobuf::Map< K, V > & | in_map | ) |
| absl::Status operations_research::math_opt::SparseBasisStatusVectorIsValid | ( | const SparseVectorView< int > & | status_vector_view | ) |
Definition at line 237 of file solution_validator.cc.
| absl::Status SparseMatrixIdsAreKnown | ( | const SparseDoubleMatrixProto & | matrix, |
| const IdNameBiMap & | row_ids, | ||
| const IdNameBiMap & | column_ids | ||
| ) |
Definition at line 91 of file sparse_matrix_validator.cc.
| absl::Status SparseMatrixValid | ( | const SparseDoubleMatrixProto & | matrix, |
| const bool | enforce_upper_triangular | ||
| ) |
Definition at line 30 of file sparse_matrix_validator.cc.
| 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 | ||
| ) |
Definition at line 47 of file sparse_submatrix.cc.
|
inline |
Definition at line 1593 of file variable_and_expressions.h.
| TerminationProto TerminateForLimit | ( | const LimitProto | limit, |
| const bool | feasible, | ||
| const absl::string_view | detail | ||
| ) |
Definition at line 84 of file math_opt_proto_utils.cc.
| TerminationProto TerminateForReason | ( | const TerminationReasonProto | reason, |
| const absl::string_view | detail | ||
| ) |
Definition at line 109 of file math_opt_proto_utils.cc.
| testing::Matcher< SolveResult > TerminatesWith | ( | const TerminationReason | expected | ) |
Definition at line 559 of file matchers.cc.
| testing::Matcher< SolveResult > TerminatesWithLimit | ( | const Limit | expected, |
| const bool | allow_limit_undetermined | ||
| ) |
Definition at line 578 of file matchers.cc.
| testing::Matcher< SolveResult > TerminatesWithOneOf | ( | const std::vector< TerminationReason > & | allowed | ) |
Definition at line 553 of file matchers.cc.
| testing::Matcher< SolveResult > TerminatesWithReasonFeasible | ( | const Limit | expected, |
| const bool | allow_limit_undetermined | ||
| ) |
Definition at line 587 of file matchers.cc.
| testing::Matcher< SolveResult > TerminatesWithReasonNoSolutionFound | ( | const Limit | expected, |
| const bool | allow_limit_undetermined | ||
| ) |
Definition at line 595 of file matchers.cc.
| ValueType operations_research::math_opt::ToGlopBasisStatus | ( | const BasisStatusProto | basis_status | ) |
Definition at line 473 of file glop_solver.cc.
| LinearExpression ToLinearExpression | ( | const ModelStorage & | storage, |
| const SparseCoefficientMap & | coeffs, | ||
| const double | offset | ||
| ) |
Definition at line 23 of file model_util.cc.
| std::vector< std::pair< int64_t, SparseVector< double > > > TransposeSparseSubmatrix | ( | const SparseSubmatrixRowsView & | submatrix_by_rows | ) |
Definition at line 108 of file sparse_submatrix.cc.
| 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 165 of file glop_solver.cc.
| bool UpdateIsSupported | ( | const ModelUpdateProto & | update, |
| const SupportedProblemStructures & | support_menu | ||
| ) |
Definition at line 189 of file math_opt_proto_utils.cc.
| absl::Status ValidateBasis | ( | const BasisProto & | basis, |
| const ModelSummary & | model_summary, | ||
| const bool | check_dual_feasibility | ||
| ) |
Definition at line 253 of file solution_validator.cc.
| absl::Status ValidateCallbackDataProto | ( | const CallbackDataProto & | cb_data, |
| const CallbackRegistrationProto & | callback_registration, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 152 of file callback_validator.cc.
| absl::Status ValidateCallbackRegistration | ( | const CallbackRegistrationProto & | callback_registration, |
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 107 of file callback_validator.cc.
| absl::Status 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.
| absl::Status ValidateConstraint | ( | const IndicatorConstraintProto & | constraint, |
| const IdNameBiMap & | variable_universe | ||
| ) |
Definition at line 27 of file indicator/validator.cc.
| absl::Status ValidateConstraint | ( | const QuadraticConstraintProto & | constraint, |
| const IdNameBiMap & | variable_universe | ||
| ) |
Definition at line 32 of file quadratic/validator.cc.
| absl::Status ValidateConstraint | ( | const SosConstraintProto & | constraint, |
| const IdNameBiMap & | variable_universe | ||
| ) |
Definition at line 28 of file sos/validator.cc.
| absl::Status ValidateDualRay | ( | const DualRayProto & | dual_ray, |
| const ModelSolveParametersProto & | parameters, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 219 of file solution_validator.cc.
| absl::Status ValidateDualSolution | ( | const DualSolutionProto & | dual_solution, |
| const ModelSolveParametersProto & | parameters, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 201 of file solution_validator.cc.
| absl::Status ValidateLinearExpression | ( | const LinearExpressionProto & | expression, |
| const IdNameBiMap & | variable_universe | ||
| ) |
Definition at line 28 of file linear_expression_validator.cc.
| absl::StatusOr< ModelSummary > ValidateModel | ( | const ModelProto & | model, |
| const bool | check_names | ||
| ) |
Definition at line 227 of file math_opt/validators/model_validator.cc.
| absl::Status ValidateModelSolveParameters | ( | const ModelSolveParametersProto & | parameters, |
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 82 of file model_parameters_validator.cc.
| absl::Status ValidateModelUpdate | ( | const ModelUpdateProto & | model_update, |
| ModelSummary & | model_summary | ||
| ) |
Definition at line 269 of file math_opt/validators/model_validator.cc.
| absl::Status ValidatePrimalRay | ( | const PrimalRayProto & | primal_ray, |
| const SparseVectorFilterProto & | filter, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 192 of file solution_validator.cc.
| absl::Status ValidatePrimalSolution | ( | const PrimalSolutionProto & | primal_solution, |
| const SparseVectorFilterProto & | filter, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 169 of file solution_validator.cc.
| absl::Status ValidatePrimalSolutionVector | ( | const SparseDoubleVectorProto & | vector, |
| const SparseVectorFilterProto & | filter, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 161 of file solution_validator.cc.
| absl::Status ValidateProblemStatus | ( | const ProblemStatusProto & | status | ) |
Definition at line 46 of file solve_stats_validator.cc.
| absl::Status ValidateResult | ( | const SolveResultProto & | result, |
| const ModelSolveParametersProto & | parameters, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 280 of file result_validator.cc.
| absl::Status ValidateSolution | ( | const SolutionProto & | solution, |
| const ModelSolveParametersProto & | parameters, | ||
| const ModelSummary & | model_summary | ||
| ) |
Definition at line 117 of file solution_validator.cc.
| absl::Status ValidateSolveParameters | ( | const SolveParametersProto & | parameters | ) |
Definition at line 48 of file solve_parameters_validator.cc.
| absl::Status ValidateSolveStats | ( | const SolveStatsProto & | solve_stats | ) |
Definition at line 167 of file solve_stats_validator.cc.
| absl::Status ValidateSparseVectorFilter | ( | const SparseVectorFilterProto & | v, |
| const IdNameBiMap & | valid_ids | ||
| ) |
Definition at line 67 of file model_parameters_validator.cc.
| absl::Status ValidateTermination | ( | const TerminationProto & | termination | ) |
Definition at line 122 of file result_validator.cc.
| absl::Status operations_research::math_opt::ValidateTerminationConsistency | ( | const SolveResultProto & | result | ) |
Definition at line 184 of file result_validator.cc.
| absl::StatusOr< VariableMap< BasisStatus > > VariableBasisFromProto | ( | const ModelStorage *const | model, |
| const SparseBasisStatusVector & | basis_proto | ||
| ) |
Definition at line 130 of file sparse_containers.cc.
| SparseBasisStatusVector VariableBasisToProto | ( | const VariableMap< BasisStatus > & | basis_values | ) |
Definition at line 138 of file sparse_containers.cc.
| absl::StatusOr< VariableMap< double > > VariableValuesFromProto | ( | const ModelStorage *const | model, |
| const SparseDoubleVectorProto & | vars_proto | ||
| ) |
Definition at line 103 of file sparse_containers.cc.
| SparseDoubleVectorProto VariableValuesToProto | ( | const VariableMap< double > & | variable_values | ) |
Definition at line 111 of file sparse_containers.cc.
|
constexpr |
Definition at line 30 of file model_util.h.
|
constexpr |
Definition at line 47 of file math_opt/cpp/model.cc.
|
constexpr |
Definition at line 107 of file matchers.h.
|
constexpr |
Definition at line 25 of file inverted_bounds.h.
|
constexpr |
Definition at line 25 of file invalid_indicators.h.