#[repr(C)]pub struct SCIP_Fork {
pub addedcols: *mut *mut SCIP_COL,
pub addedrows: *mut *mut SCIP_ROW,
pub lpistate: *mut SCIP_LPISTATE,
pub lpobjval: f64,
pub naddedcols: c_int,
pub naddedrows: c_int,
pub nlpistateref: c_int,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}Expand description
fork with solved LP, where bounds and constraints have been changed, and rows and columns were added
Fields§
§addedcols: *mut *mut SCIP_COL< array with pointers to new columns added at this node into the LP
addedrows: *mut *mut SCIP_ROW< array with pointers to new rows added at this node into 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
naddedcols: c_int< number of columns added at this node
naddedrows: c_int< number of rows added at this node
nlpistateref: c_int< number of times, the LP state is needed
_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>Implementations§
Source§impl SCIP_Fork
impl SCIP_Fork
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; 4]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SCIP_Fork
impl RefUnwindSafe for SCIP_Fork
impl !Send for SCIP_Fork
impl !Sync for SCIP_Fork
impl Unpin for SCIP_Fork
impl UnwindSafe for SCIP_Fork
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)