Fully

Struct Fully 

Source
pub struct Fully<'a, MP: MatrixProvider> { /* private fields */ }
Expand description

All variables are artificial.

Trait Implementations§

Source§

impl<'provider, MP> Artificial for Fully<'provider, MP>
where MP: MatrixProvider<Column: Identity>,

Source§

fn nr_artificial_variables(&self) -> usize

How many artificial variables are in the tableau. Read more
Source§

fn pivot_row_from_artificial(&self, artificial_index: usize) -> usize

At which row is the pivot from a specific artificial variable located? Read more
Source§

impl<'provider, MP> Kind for Fully<'provider, MP>
where MP: MatrixProvider<Column: Column + Identity>,

Source§

type Column = <MP as MatrixProvider>::Column

Representation of the column of the tableau. Read more
Source§

type Cost = Binary

Cost row type. Read more
Source§

fn initial_cost_value(&self, j: usize) -> Self::Cost

Coefficient of variable j in the objective function. Read more
Source§

fn original_column(&self, j: usize) -> Self::Column

Get the column from the original problem. Read more
Source§

fn nr_rows(&self) -> usize

Number of rows in the matrix and tableau. Read more
Source§

fn nr_columns(&self) -> usize

Number of columns in the tableau. Read more

Auto Trait Implementations§

§

impl<'a, MP> Freeze for Fully<'a, MP>

§

impl<'a, MP> RefUnwindSafe for Fully<'a, MP>
where MP: RefUnwindSafe,

§

impl<'a, MP> Send for Fully<'a, MP>
where MP: Sync,

§

impl<'a, MP> Sync for Fully<'a, MP>
where MP: Sync,

§

impl<'a, MP> Unpin for Fully<'a, MP>

§

impl<'a, MP> UnwindSafe for Fully<'a, MP>
where MP: RefUnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.