pub enum SolveResult {
Optimal,
Feasible,
Stopped,
UnboundedOrInfeasible,
Unbounded,
Infeasible,
}Expand description
An enum representing the possible results of a solve operation.
Variants§
Optimal
The problem was solved to optimality.
Feasible
The solving stopped early with a feasible solution due to limits or interrupts.
Stopped
The solving stopped early and without a solution due to limits or interrupts.
UnboundedOrInfeasible
The problem was detected to be unbounded or infeasible.
Unbounded
The problem was detected to be unbounded.
Infeasible
The problem was detected to be infeasible.
Trait Implementations§
Source§impl Clone for SolveResult
impl Clone for SolveResult
impl Copy for SolveResult
Source§impl Debug for SolveResult
impl Debug for SolveResult
impl Eq for SolveResult
Source§impl From<u32> for SolveResult
impl From<u32> for SolveResult
Source§fn from(result: PAPILO_SOLVE_RESULT) -> Self
fn from(result: PAPILO_SOLVE_RESULT) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SolveResult
impl PartialEq for SolveResult
impl StructuralPartialEq for SolveResult
Auto Trait Implementations§
impl Freeze for SolveResult
impl RefUnwindSafe for SolveResult
impl Send for SolveResult
impl Sync for SolveResult
impl Unpin for SolveResult
impl UnsafeUnpin for SolveResult
impl UnwindSafe for SolveResult
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