14#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_
15#define OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_
48 double lower_bound = -std::numeric_limits<double>::infinity();
An object oriented wrapper for quadratic constraints in ModelStorage.
ElementId< ElementType::kVariable > VariableId
ElementId< ElementType::kIndicatorConstraint > IndicatorConstraintId
static constexpr ElementType kElementType
static constexpr bool kSupportsElemental
IndicatorConstraintData ConstraintData
static constexpr ElementType kElementType
SparseCoefficientMap linear_terms
static constexpr bool kSupportsElemental
IndicatorConstraintProto ProtoType
std::optional< VariableId > indicator
static IndicatorConstraintData FromProto(const ProtoType &in_proto)
std::vector< VariableId > RelatedVariables() const
IndicatorConstraintId IdType
void DeleteVariable(VariableId var)
IndicatorConstraintUpdatesProto UpdatesProtoType