![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Classes | |
| struct | Constraint |
| class | LpModel |
Typedefs | |
| using | Term = std::pair<double, VariableIndex> |
Enumerations | |
| enum class | Relation { kLessOrEqual , kGreaterOrEqual , kEqual } |
Functions | |
| std::ostream & | operator<< (std::ostream &ostr, const Relation relation) |
| std::ostream & | operator<< (std::ostream &ostr, const Constraint &constraint) |
| std::ostream & | operator<< (std::ostream &ostr, const LpModel &model) |
| DEFINE_STRONG_INT_TYPE (VariableIndex, int64_t) | |
| DEFINE_STRONG_INT_TYPE (ConstraintIndex, int64_t) | |
| bool | ValidateCharInName (unsigned char c, bool leading) |
| absl::Status | ValidateName (absl::string_view name) |
| LpModel | RemoveUnusedVariables (const LpModel &model) |
| absl::StatusOr< LpModel > | PermuteVariables (const LpModel &model, const util_intops::StrongVector< VariableIndex, VariableIndex > &new_index_to_old_index) |
| absl::StatusOr< LpModel > | PermuteVariables (const LpModel &model, const util_intops::StrongVector< VariableIndex, std::string > &order_by_name) |
| using operations_research::lp_format::Term = std::pair<double, VariableIndex> |
Definition at line 30 of file lp_model.h.
|
strong |
| Enumerator | |
|---|---|
| kLessOrEqual | |
| kGreaterOrEqual | |
| kEqual | |
Definition at line 31 of file lp_model.h.
| operations_research::lp_format::DEFINE_STRONG_INT_TYPE | ( | ConstraintIndex | , |
| int64_t | ) |
| operations_research::lp_format::DEFINE_STRONG_INT_TYPE | ( | VariableIndex | , |
| int64_t | ) |
| std::ostream & operations_research::lp_format::operator<< | ( | std::ostream & | ostr, |
| const Constraint & | constraint ) |
Definition at line 64 of file lp_model.cc.
| std::ostream & operations_research::lp_format::operator<< | ( | std::ostream & | ostr, |
| const LpModel & | model ) |
Definition at line 118 of file lp_model.cc.
| std::ostream & operations_research::lp_format::operator<< | ( | std::ostream & | ostr, |
| const Relation | relation ) |
Definition at line 48 of file lp_model.cc.
| absl::StatusOr< LpModel > operations_research::lp_format::PermuteVariables | ( | const LpModel & | model, |
| const util_intops::StrongVector< VariableIndex, std::string > & | order_by_name ) |
Definition at line 111 of file model_utils.cc.
| absl::StatusOr< LpModel > operations_research::lp_format::PermuteVariables | ( | const LpModel & | model, |
| const util_intops::StrongVector< VariableIndex, VariableIndex > & | new_index_to_old_index ) |
Definition at line 103 of file model_utils.cc.
Definition at line 84 of file model_utils.cc.
| bool operations_research::lp_format::ValidateCharInName | ( | unsigned char | c, |
| bool | leading ) |
Definition at line 23 of file lp_name.cc.
| absl::Status operations_research::lp_format::ValidateName | ( | absl::string_view | name | ) |
Definition at line 57 of file lp_name.cc.