Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::ModelRanges Struct Reference

#include <statistics.h>

Public Attributes

std::optional< Rangeobjective_terms
 The linear and quadratic objective terms (not including the offset).
 
std::optional< Rangevariable_bounds
 The variables' lower and upper bounds.
 
std::optional< Rangelinear_constraint_bounds
 The linear constraints' lower and upper bounds.
 
std::optional< Rangelinear_constraint_coefficients
 The coefficients of the variables in linear constraints.
 

Detailed Description

The ranges of the absolute values of the finite non-zero values in the model.

Each range is optional since there may be no finite non-zero values (e.g. empty model, empty objective, all variables unbounded, ...).

Definition at line 33 of file statistics.h.

Member Data Documentation

◆ linear_constraint_bounds

std::optional<Range> operations_research::math_opt::ModelRanges::linear_constraint_bounds

The linear constraints' lower and upper bounds.

Definition at line 41 of file statistics.h.

◆ linear_constraint_coefficients

std::optional<Range> operations_research::math_opt::ModelRanges::linear_constraint_coefficients

The coefficients of the variables in linear constraints.

Definition at line 44 of file statistics.h.

◆ objective_terms

std::optional<Range> operations_research::math_opt::ModelRanges::objective_terms

The linear and quadratic objective terms (not including the offset).

Definition at line 35 of file statistics.h.

◆ variable_bounds

std::optional<Range> operations_research::math_opt::ModelRanges::variable_bounds

The variables' lower and upper bounds.

Definition at line 38 of file statistics.h.


The documentation for this struct was generated from the following file: