Struct grb::Constr [−][src]
pub struct Constr { /* fields omitted */ }
Expand description
A linear constraint added to a Model
To interact with the attributes of a constraint, use Model::get_obj_attr
and Model::set_obj_attr
Trait Implementations
fn get_batch<I: IntoIterator<Item = Result<i32>>>(
&self,
model: &Model,
inds: I
) -> Result<Vec<ConstrSense>>
fn get_batch<I: IntoIterator<Item = Result<i32>>>(
&self,
model: &Model,
inds: I
) -> Result<Vec<ConstrSense>>
Get multiple values for this attribute at once
Auto Trait Implementations
impl RefUnwindSafe for Constr
impl UnwindSafe for Constr
Blanket Implementations
Mutably borrows from an owned value. Read more