#[repr(C)]pub struct SCIP_Subroot {
pub cols: *mut *mut SCIP_COL,
pub rows: *mut *mut SCIP_ROW,
pub lpistate: *mut SCIP_LPISTATE,
pub lpobjval: f64,
pub ncols: c_int,
pub nrows: c_int,
pub nlpistateref: c_int,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 5]>,
pub __bindgen_padding_0: [u8; 7],
}Expand description
fork with solved LP, where bounds and constraints have been changed, and rows and columns were removed and added
Fields§
§cols: *mut *mut SCIP_COL< array with pointers to the columns in the same order as in the LP
rows: *mut *mut SCIP_ROW< array with pointers to the rows in the same order as in the LP
lpistate: *mut SCIP_LPISTATE< LP state information
lpobjval: f64< the LP objective value for that node, needed to compute the pseudo costs correctly
ncols: c_int< number of columns in the LP
nrows: c_int< number of rows in the LP
nlpistateref: c_int< number of times, the LP state is needed
_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 5]>§__bindgen_padding_0: [u8; 7]Implementations§
Source§impl SCIP_Subroot
impl SCIP_Subroot
pub fn nchildren(&self) -> c_uint
pub fn set_nchildren(&mut self, val: c_uint)
pub unsafe fn nchildren_raw(this: *const Self) -> c_uint
pub unsafe fn set_nchildren_raw(this: *mut Self, val: c_uint)
pub fn lpwasprimfeas(&self) -> c_uint
pub fn set_lpwasprimfeas(&mut self, val: c_uint)
pub unsafe fn lpwasprimfeas_raw(this: *const Self) -> c_uint
pub unsafe fn set_lpwasprimfeas_raw(this: *mut Self, val: c_uint)
pub fn lpwasprimchecked(&self) -> c_uint
pub fn set_lpwasprimchecked(&mut self, val: c_uint)
pub unsafe fn lpwasprimchecked_raw(this: *const Self) -> c_uint
pub unsafe fn set_lpwasprimchecked_raw(this: *mut Self, val: c_uint)
pub fn lpwasdualfeas(&self) -> c_uint
pub fn set_lpwasdualfeas(&mut self, val: c_uint)
pub unsafe fn lpwasdualfeas_raw(this: *const Self) -> c_uint
pub unsafe fn set_lpwasdualfeas_raw(this: *mut Self, val: c_uint)
pub fn lpwasdualchecked(&self) -> c_uint
pub fn set_lpwasdualchecked(&mut self, val: c_uint)
pub unsafe fn lpwasdualchecked_raw(this: *const Self) -> c_uint
pub unsafe fn set_lpwasdualchecked_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( nchildren: c_uint, lpwasprimfeas: c_uint, lpwasprimchecked: c_uint, lpwasdualfeas: c_uint, lpwasdualchecked: c_uint, ) -> __BindgenBitfieldUnit<[u8; 5]>
Trait Implementations§
Source§impl Clone for SCIP_Subroot
impl Clone for SCIP_Subroot
Source§fn clone(&self) -> SCIP_Subroot
fn clone(&self) -> SCIP_Subroot
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_Subroot
impl Debug for SCIP_Subroot
impl Copy for SCIP_Subroot
Auto Trait Implementations§
impl Freeze for SCIP_Subroot
impl RefUnwindSafe for SCIP_Subroot
impl !Send for SCIP_Subroot
impl !Sync for SCIP_Subroot
impl Unpin for SCIP_Subroot
impl UnwindSafe for SCIP_Subroot
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)