Enum relp::algorithm::two_phase::tableau::kind::artificial::Cost[][src]

pub enum Cost {
    Zero,
    One,
}
Expand description

Artificial cost elements.

When artificial variables are in the basis, we minimize a simple sum. That is, all artificial variables have cost One. Variables in the artificial tableau that are not artificial (and should not be minimized out of the basis) have artificial cost Zero (although they might have a non-artificial cost).

Variants

Zero
Expand description

Artificial cost of the non-artificial variables.

One
Expand description

Artificial cost of the artificial variables.

Trait Implementations

impl Add<Cost> for Rational64[src]

type Output = Self

The resulting type after applying the + operator.

fn add(self, rhs: Cost) -> Self::Output[src]

Performs the + operation. Read more

impl Add<Cost> for Big[src]

type Output = Big

The resulting type after applying the + operator.

fn add(self, rhs: Cost) -> Self::Output[src]

Performs the + operation. Read more

impl Mul<Cost> for Big[src]

type Output = Big

The resulting type after applying the * operator.

fn mul(self, rhs: Cost) -> Self::Output[src]

Performs the * operation. Read more

impl Mul<Cost> for &Big[src]

type Output = Big

The resulting type after applying the * operator.

fn mul(self, rhs: Cost) -> Self::Output[src]

Performs the * operation. Read more

Auto Trait Implementations

impl RefUnwindSafe for Cost

impl Send for Cost

impl Sync for Cost

impl Unpin for Cost

impl UnwindSafe for Cost

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.