14#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_
15#define OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_
21#include "ortools/math_opt/model.pb.h"
22#include "ortools/math_opt/model_update.pb.h"
35 using IdType = QuadraticConstraintId;
46 double lower_bound = -std::numeric_limits<double>::infinity();
An object oriented wrapper for quadratic constraints in ModelStorage.
QuadraticConstraintUpdatesProto UpdatesProtoType
SparseSymmetricMatrix quadratic_terms
void DeleteVariable(VariableId var)
QuadraticConstraintId IdType
QuadraticConstraintProto ProtoType
SparseCoefficientMap linear_terms
static QuadraticConstraintData FromProto(const ProtoType &in_proto)
std::vector< VariableId > RelatedVariables() const