Module grb::constr[][src]

Expand description

This module contains the structs passed to the Model::add_constr(s) and Model::add_range(s) methods.

The structs themselves are usually constructed using the c!(...) macro.

Structs

A inequality constraint (linear or quadratic). Creating this object does not automatically add the constraint to a model. Instead, it should be passed to Model::add_constr or Model::add_constrs.

A linear range constraint expression. Creating this object does not automatically add the constraint to a model. Instead, it should be passed to Model::add_range or Model::add_ranges.