pub struct ConvergenceDiagnostics {
pub primal_tolerance: f64,
pub dual_tolerance: f64,
pub coefficient_spread_decades: f64,
pub rho_at_limit: bool,
pub hints: Vec<String>,
}Expand description
Heuristic diagnosis of a solve that stopped before convergence.
Attached to Solution::diagnostics when the status is not
SolveStatus::Solved. Hints are heuristics ordered by likely relevance,
not certificates; they exist to make MaxIterations actionable instead of
a dead end.
Fields§
§primal_tolerance: f64Primal stopping tolerance in force at the final iterate.
dual_tolerance: f64Dual stopping tolerance in force at the final iterate.
coefficient_spread_decades: f64Base-10 orders of magnitude spanned by nonzero problem coefficients.
rho_at_limit: boolWhether the final penalty sat at minimum_rho or maximum_rho.
hints: Vec<String>Human-readable tuning hints ordered by likely relevance.
Trait Implementations§
Source§impl Clone for ConvergenceDiagnostics
impl Clone for ConvergenceDiagnostics
Source§fn clone(&self) -> ConvergenceDiagnostics
fn clone(&self) -> ConvergenceDiagnostics
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 ConvergenceDiagnostics
impl Debug for ConvergenceDiagnostics
Source§impl Default for ConvergenceDiagnostics
impl Default for ConvergenceDiagnostics
Source§fn default() -> ConvergenceDiagnostics
fn default() -> ConvergenceDiagnostics
Returns the “default value” for a type. Read more
Source§impl PartialEq for ConvergenceDiagnostics
impl PartialEq for ConvergenceDiagnostics
impl StructuralPartialEq for ConvergenceDiagnostics
Auto Trait Implementations§
impl Freeze for ConvergenceDiagnostics
impl RefUnwindSafe for ConvergenceDiagnostics
impl Send for ConvergenceDiagnostics
impl Sync for ConvergenceDiagnostics
impl Unpin for ConvergenceDiagnostics
impl UnsafeUnpin for ConvergenceDiagnostics
impl UnwindSafe for ConvergenceDiagnostics
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