pub enum SimplexError {
Infeasible,
Unbounded,
MaxIterationsReached,
}Expand description
Errors in simplex algorithm.
Variants§
Infeasible
Problem is infeasible
Unbounded
Problem is unbounded
MaxIterationsReached
Maximum iterations reached
Trait Implementations§
Source§impl Clone for SimplexError
impl Clone for SimplexError
Source§fn clone(&self) -> SimplexError
fn clone(&self) -> SimplexError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimplexError
Source§impl Debug for SimplexError
impl Debug for SimplexError
Source§impl Display for SimplexError
impl Display for SimplexError
impl Eq for SimplexError
Source§impl Error for SimplexError
impl Error for SimplexError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SimplexError
impl PartialEq for SimplexError
impl StructuralPartialEq for SimplexError
Auto Trait Implementations§
impl Freeze for SimplexError
impl RefUnwindSafe for SimplexError
impl Send for SimplexError
impl Sync for SimplexError
impl Unpin for SimplexError
impl UnsafeUnpin for SimplexError
impl UnwindSafe for SimplexError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more