#[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 duplicate of the value. Read more
1.0.0§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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)