14#ifndef OR_TOOLS_MATH_OPT_CPP_STATISTICS_H_
15#define OR_TOOLS_MATH_OPT_CPP_STATISTICS_H_
27using Range = std::pair<double, double>;
An object oriented wrapper for quadratic constraints in ModelStorage.
std::ostream & operator<<(std::ostream &ostr, const IndicatorConstraint &constraint)
ModelRanges ComputeModelRanges(const Model &model)
Returns the ranges of the finite non-zero values in the given model.
std::pair< double, double > Range
A range of values, first is the minimum, second is the maximum.
std::optional< Range > variable_bounds
The variables' lower and upper bounds.
std::optional< Range > linear_constraint_bounds
The linear constraints' lower and upper bounds.
std::optional< Range > objective_terms
The linear and quadratic objective terms (not including the offset).
std::optional< Range > linear_constraint_coefficients
The coefficients of the variables in linear constraints.