![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 34 of file indicator_constraint.h.
#include <indicator_constraint.h>
Public Member Functions | |
| absl::string_view | name () const |
| std::optional< Variable > | indicator_variable () const |
| bool | activate_on_zero () const |
| BoundedLinearExpression | ImpliedConstraint () const |
| std::vector< Variable > | NonzeroVariables () const |
| std::string | ToString () const |
| ModelStorageElement (ModelStorageCPtr storage, IdType id) | |
| ModelStorageElement (const ModelStorageElement &)=default | |
| ModelStorageElement (ModelStorageElement &&)=default | |
| Public Member Functions inherited from operations_research::math_opt::ModelStorageElement< ElementType::kIndicatorConstraint, IndicatorConstraint > | |
| ModelStorageElement (ModelStorageCPtr storage, IdType id) | |
| int64_t | id () const |
| IdType | typed_id () const |
| Public Member Functions inherited from operations_research::math_opt::ModelStorageItem | |
| ModelStorageCPtr | storage () const |
Additional Inherited Members | |
| Public Types inherited from operations_research::math_opt::ModelStorageElement< ElementType::kIndicatorConstraint, IndicatorConstraint > | |
| using | IdType |
| Protected Member Functions inherited from operations_research::math_opt::ModelStorageElement< ElementType::kIndicatorConstraint, IndicatorConstraint > | |
| ModelStorageElement & | operator= (const ModelStorageElement &)=default |
| ~ModelStorageElement ()=default | |
| Protected Member Functions inherited from operations_research::math_opt::ModelStorageItem | |
| ModelStorageItem (ModelStorageCPtr storage) | |
| ModelStorageItem (const ModelStorageItem &)=default | |
| ModelStorageItem & | operator= (const ModelStorageItem &)=default |
| ModelStorageItem (ModelStorageItem &&)=default | |
| ModelStorageItem & | operator= (ModelStorageItem &&)=default |
| ~ModelStorageItem ()=default | |
|
inline |
Definition at line 82 of file indicator_constraint.h.
| BoundedLinearExpression operations_research::math_opt::IndicatorConstraint::ImpliedConstraint | ( | ) | const |
Definition at line 27 of file indicator_constraint.cc.
|
inline |
Definition at line 73 of file indicator_constraint.h.
|
default |
|
inline |
Definition at line 81 of file model_storage_item.h.
|
default |
|
inline |
Definition at line 66 of file indicator_constraint.h.
|
inline |
Definition at line 86 of file indicator_constraint.h.
| std::string operations_research::math_opt::IndicatorConstraint::ToString | ( | ) | const |
Definition at line 36 of file indicator_constraint.cc.