Enum grb::ConstrSense [−][src]
#[repr(u8)]
pub enum ConstrSense {
Equal,
Greater,
Less,
}
Expand description
Sense for new linear/quadratic constraint
Variants
An equality constraint
A greater-than constraint (left-hand side greater than or equal to right-hand side)
A less-than constraint (left-hand side less than or equal to right-hand side)
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 ConstrSense
impl Send for ConstrSense
impl Sync for ConstrSense
impl Unpin for ConstrSense
impl UnwindSafe for ConstrSense
Blanket Implementations
Mutably borrows from an owned value. Read more