pub enum ExceptionKind {
Show 34 variants
OPTION_INVALID,
OPTION_ALREADY_REGISTERED,
DYNAMIC_LIBRARY_FAILURE,
UNIMPLEMENTED_LINALG_METHOD_CALLED,
UNKNOWN_MATRIX_TYPE,
UNKNOWN_VECTOR_TYPE,
LAPACK_NOT_INCLUDED,
METADATA_ERROR,
TINY_STEP_DETECTED,
ACCEPTABLE_POINT_REACHED,
STEP_COMPUTATION_FAILED,
LOCALLY_INFEASIBLE,
FEASIBILITY_PROBLEM_SOLVED,
RESTORATION_FAILED,
RESTORATION_CONVERGED_TO_FEASIBLE_POINT,
RESTORATION_MAXITER_EXCEEDED,
RESTORATION_CPUTIME_EXCEEDED,
RESTORATION_WALLTIME_EXCEEDED,
RESTORATION_USER_STOP,
FATAL_ERROR_IN_LINEAR_SOLVER,
ERROR_IN_LINEAR_SCALING_METHOD,
NONPOSITIVE_SCALING_FACTOR,
USER_SCALING_NOT_IMPLEMENTED,
INVALID_NLP,
INVALID_TNLP,
INVALID_STDINTERFACE_NLP,
INVALID_WARMSTART,
INCONSISTENT_BOUNDS,
TOO_FEW_DOF,
ERROR_IN_TNLP_DERIVATIVE_TEST,
IPOPT_APPLICATION_ERROR,
FAILED_INITIALIZATION,
INTERNAL_ABORT,
ERROR_CONVERTING_STRING_TO_ENUM,
}Expand description
All exception kinds Ipopt declares via DECLARE_STD_EXCEPTION in
src/{Common,Algorithm,LinAlg,Interfaces,Apps}/. Names match upstream.
Variants§
OPTION_INVALID
OPTION_ALREADY_REGISTERED
DYNAMIC_LIBRARY_FAILURE
UNIMPLEMENTED_LINALG_METHOD_CALLED
UNKNOWN_MATRIX_TYPE
UNKNOWN_VECTOR_TYPE
LAPACK_NOT_INCLUDED
METADATA_ERROR
TINY_STEP_DETECTED
ACCEPTABLE_POINT_REACHED
STEP_COMPUTATION_FAILED
LOCALLY_INFEASIBLE
FEASIBILITY_PROBLEM_SOLVED
RESTORATION_FAILED
RESTORATION_CONVERGED_TO_FEASIBLE_POINT
RESTORATION_MAXITER_EXCEEDED
RESTORATION_CPUTIME_EXCEEDED
RESTORATION_WALLTIME_EXCEEDED
RESTORATION_USER_STOP
FATAL_ERROR_IN_LINEAR_SOLVER
ERROR_IN_LINEAR_SCALING_METHOD
NONPOSITIVE_SCALING_FACTOR
USER_SCALING_NOT_IMPLEMENTED
INVALID_NLP
INVALID_TNLP
INVALID_STDINTERFACE_NLP
INVALID_WARMSTART
INCONSISTENT_BOUNDS
TOO_FEW_DOF
ERROR_IN_TNLP_DERIVATIVE_TEST
IPOPT_APPLICATION_ERROR
FAILED_INITIALIZATION
INTERNAL_ABORT
ERROR_CONVERTING_STRING_TO_ENUM
Implementations§
Trait Implementations§
Source§impl Clone for ExceptionKind
impl Clone for ExceptionKind
Source§fn clone(&self) -> ExceptionKind
fn clone(&self) -> ExceptionKind
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 moreSource§impl Debug for ExceptionKind
impl Debug for ExceptionKind
Source§impl Display for ExceptionKind
impl Display for ExceptionKind
Source§impl Hash for ExceptionKind
impl Hash for ExceptionKind
Source§impl PartialEq for ExceptionKind
impl PartialEq for ExceptionKind
Source§fn eq(&self, other: &ExceptionKind) -> bool
fn eq(&self, other: &ExceptionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExceptionKind
impl Eq for ExceptionKind
impl StructuralPartialEq for ExceptionKind
Auto Trait Implementations§
impl Freeze for ExceptionKind
impl RefUnwindSafe for ExceptionKind
impl Send for ExceptionKind
impl Sync for ExceptionKind
impl Unpin for ExceptionKind
impl UnsafeUnpin for ExceptionKind
impl UnwindSafe for ExceptionKind
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