[][src]Struct coin_cbc::Solution

pub struct Solution { /* fields omitted */ }

A solution to a MILP problem.

This is a thin wrapper over a raw::Model with accessors using the typed identifiers.

Implementations

impl Solution[src]

pub fn raw(&self) -> &Model[src]

Gets a shared reference to the internal raw::Model.

pub fn into_raw(self) -> Model[src]

Gets the internal raw::Model

pub fn col(&self, col: Col) -> f64[src]

Gets the value of the given column in the solution.

Auto Trait Implementations

impl RefUnwindSafe for Solution

impl !Send for Solution

impl !Sync for Solution

impl Unpin for Solution

impl UnwindSafe for Solution

Blanket Implementations

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

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

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

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

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

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.

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.