14#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_
15#define OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_
22#include "ortools/math_opt/model.pb.h"
23#include "ortools/math_opt/model_update.pb.h"
34 using IdType = IndicatorConstraintId;
45 double lower_bound = -std::numeric_limits<double>::infinity();
An object oriented wrapper for quadratic constraints in ModelStorage.
SparseCoefficientMap linear_terms
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