SCIP_Subroot

Struct SCIP_Subroot 

Source
#[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

Source

pub fn nchildren(&self) -> c_uint

Source

pub fn set_nchildren(&mut self, val: c_uint)

Source

pub unsafe fn nchildren_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_nchildren_raw(this: *mut Self, val: c_uint)

Source

pub fn lpwasprimfeas(&self) -> c_uint

Source

pub fn set_lpwasprimfeas(&mut self, val: c_uint)

Source

pub unsafe fn lpwasprimfeas_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_lpwasprimfeas_raw(this: *mut Self, val: c_uint)

Source

pub fn lpwasprimchecked(&self) -> c_uint

Source

pub fn set_lpwasprimchecked(&mut self, val: c_uint)

Source

pub unsafe fn lpwasprimchecked_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_lpwasprimchecked_raw(this: *mut Self, val: c_uint)

Source

pub fn lpwasdualfeas(&self) -> c_uint

Source

pub fn set_lpwasdualfeas(&mut self, val: c_uint)

Source

pub unsafe fn lpwasdualfeas_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_lpwasdualfeas_raw(this: *mut Self, val: c_uint)

Source

pub fn lpwasdualchecked(&self) -> c_uint

Source

pub fn set_lpwasdualchecked(&mut self, val: c_uint)

Source

pub unsafe fn lpwasdualchecked_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_lpwasdualchecked_raw(this: *mut Self, val: c_uint)

Source

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

Source§

fn clone(&self) -> SCIP_Subroot

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SCIP_Subroot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for SCIP_Subroot

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.