#[repr(C)]pub struct SCIP_ConsNonlinear_BilinTerm {
pub x: *mut SCIP_VAR,
pub y: *mut SCIP_VAR,
pub aux: SCIP_ConsNonlinear_BilinTerm__bindgen_ty_1,
pub nauxexprs: c_int,
pub auxexprssize: c_int,
pub nlockspos: c_int,
pub nlocksneg: c_int,
pub existing: c_uint,
}Expand description
bilinear term structure
This can represent a product which
- explicitly exists in the problem and is under- and/or overestimated by a single auxiliary variable
stored as
varin the unionaux(casenauxexprs= 0) or - is involved in bilinear relations implicitly given by linear constraints with binary variables, and
is under- and/or overestimated by linear expression(s) stored as
exprsin the unionaux(casenauxexprs> 0).
An explicitly existing product can also be involved in implicit relations, then it will be stored as in the second case.
Fields§
§x: *mut SCIP_VAR< first variable
y: *mut SCIP_VAR< second variable
aux: SCIP_ConsNonlinear_BilinTerm__bindgen_ty_1§nauxexprs: c_int< number of aux.exprs (0 for products without implicit relations)
auxexprssize: c_int< size of the aux.exprs array
nlockspos: c_int< number of positive expression locks
nlocksneg: c_int< number of negative expression locks
existing: c_uint< does the product exist explicitly in the problem?
Trait Implementations§
Source§impl Clone for SCIP_ConsNonlinear_BilinTerm
impl Clone for SCIP_ConsNonlinear_BilinTerm
Source§fn clone(&self) -> SCIP_ConsNonlinear_BilinTerm
fn clone(&self) -> SCIP_ConsNonlinear_BilinTerm
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 moreimpl Copy for SCIP_ConsNonlinear_BilinTerm
Auto Trait Implementations§
impl Freeze for SCIP_ConsNonlinear_BilinTerm
impl RefUnwindSafe for SCIP_ConsNonlinear_BilinTerm
impl !Send for SCIP_ConsNonlinear_BilinTerm
impl !Sync for SCIP_ConsNonlinear_BilinTerm
impl Unpin for SCIP_ConsNonlinear_BilinTerm
impl UnwindSafe for SCIP_ConsNonlinear_BilinTerm
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)