14#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_
15#define OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_
50 double lower_bound = -std::numeric_limits<double>::infinity();
An object oriented wrapper for quadratic constraints in ModelStorage.
ElementId< ElementType::kVariable > VariableId
ElementId< ElementType::kQuadraticConstraint > QuadraticConstraintId
QuadraticConstraintData ConstraintData
static constexpr bool kSupportsElemental
static constexpr ElementType kElementType
QuadraticConstraintUpdatesProto UpdatesProtoType
static constexpr bool kSupportsElemental
SparseSymmetricMatrix quadratic_terms
void DeleteVariable(VariableId var)
QuadraticConstraintId IdType
QuadraticConstraintProto ProtoType
SparseCoefficientMap linear_terms
static constexpr ElementType kElementType
static QuadraticConstraintData FromProto(const ProtoType &in_proto)
std::vector< VariableId > RelatedVariables() const