pub enum ESymSolverStatus {
Success,
Singular,
WrongInertia,
CallAgain,
FatalError,
}Expand description
Outcome of a single call into a crate::SymLinearSolver or
crate::SparseSymLinearSolverInterface.
Variant order and semantics match upstream Ipopt’s
enum ESymSolverStatus so the algorithm-side state machines port
1:1.
Variants§
Success
Successful solve. Mirrors SYMSOLVER_SUCCESS.
Singular
Matrix is singular; solve was aborted. Mirrors
SYMSOLVER_SINGULAR.
WrongInertia
Inertia mismatch — numberOfNegEVals did not match.
Mirrors SYMSOLVER_WRONG_INERTIA.
CallAgain
Backend asks the caller to refill the values array and call
again with the same RHS (e.g. MA57 after growing factor
arrays). Mirrors SYMSOLVER_CALL_AGAIN.
FatalError
Unrecoverable error — the optimization should abort.
Mirrors SYMSOLVER_FATAL_ERROR.
Trait Implementations§
Source§impl Clone for ESymSolverStatus
impl Clone for ESymSolverStatus
Source§fn clone(&self) -> ESymSolverStatus
fn clone(&self) -> ESymSolverStatus
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 ESymSolverStatus
Source§impl Debug for ESymSolverStatus
impl Debug for ESymSolverStatus
impl Eq for ESymSolverStatus
Source§impl Hash for ESymSolverStatus
impl Hash for ESymSolverStatus
Source§impl PartialEq for ESymSolverStatus
impl PartialEq for ESymSolverStatus
Source§fn eq(&self, other: &ESymSolverStatus) -> bool
fn eq(&self, other: &ESymSolverStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ESymSolverStatus
Auto Trait Implementations§
impl Freeze for ESymSolverStatus
impl RefUnwindSafe for ESymSolverStatus
impl Send for ESymSolverStatus
impl Sync for ESymSolverStatus
impl Unpin for ESymSolverStatus
impl UnsafeUnpin for ESymSolverStatus
impl UnwindSafe for ESymSolverStatus
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