Struct scip_sys::SCIP_ConsNonlinear_Auxexpr
source · #[repr(C)]pub struct SCIP_ConsNonlinear_Auxexpr {
pub coefs: [f64; 3],
pub cst: f64,
pub auxvar: *mut SCIP_VAR,
pub underestimate: c_uint,
pub overestimate: c_uint,
}Expand description
linear auxiliary expression of the form xy {≤,≥,=} coefs[0]w + coefs[1]x + coefs[2]y + cst
Fields§
§coefs: [f64; 3]< coefficients in the auxiliary expression
cst: f64< constant
auxvar: *mut SCIP_VAR< auxiliary variable w in xy {≤,≥,=} auxexpr(w, x, y)
underestimate: c_uint< whether the auxexpr underestimates the product
overestimate: c_uint< whether the auxexpr overestimates the product
Trait Implementations§
source§impl Clone for SCIP_ConsNonlinear_Auxexpr
impl Clone for SCIP_ConsNonlinear_Auxexpr
source§fn clone(&self) -> SCIP_ConsNonlinear_Auxexpr
fn clone(&self) -> SCIP_ConsNonlinear_Auxexpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SCIP_ConsNonlinear_Auxexpr
impl Debug for SCIP_ConsNonlinear_Auxexpr
impl Copy for SCIP_ConsNonlinear_Auxexpr
Auto Trait Implementations§
impl Freeze for SCIP_ConsNonlinear_Auxexpr
impl RefUnwindSafe for SCIP_ConsNonlinear_Auxexpr
impl !Send for SCIP_ConsNonlinear_Auxexpr
impl !Sync for SCIP_ConsNonlinear_Auxexpr
impl Unpin for SCIP_ConsNonlinear_Auxexpr
impl UnwindSafe for SCIP_ConsNonlinear_Auxexpr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more