pub struct ClarabelOptions {Show 20 fields
pub equilibrate_enable: bool,
pub equilibrate_max_iter: u32,
pub presolve_enable: bool,
pub direct_solve_method: Option<String>,
pub tol_ktratio: f64,
pub reduced_tol_gap_abs: f64,
pub reduced_tol_gap_rel: f64,
pub reduced_tol_feas: f64,
pub reduced_tol_infeas_abs: f64,
pub reduced_tol_infeas_rel: f64,
pub reduced_tol_ktratio: f64,
pub static_regularization_enable: bool,
pub static_regularization_constant: f64,
pub dynamic_regularization_enable: bool,
pub dynamic_regularization_eps: f64,
pub dynamic_regularization_delta: f64,
pub iterative_refinement_enable: bool,
pub iterative_refinement_reltol: f64,
pub iterative_refinement_abstol: f64,
pub iterative_refinement_max_iter: u32,
}Expand description
Clarabel-specific tuning knobs that materially affect numerical robustness.
Fields§
§equilibrate_enable: bool§equilibrate_max_iter: u32§presolve_enable: bool§direct_solve_method: Option<String>§tol_ktratio: f64§reduced_tol_gap_abs: f64§reduced_tol_gap_rel: f64§reduced_tol_feas: f64§reduced_tol_infeas_abs: f64§reduced_tol_infeas_rel: f64§reduced_tol_ktratio: f64§static_regularization_enable: bool§static_regularization_constant: f64§dynamic_regularization_enable: bool§dynamic_regularization_eps: f64§dynamic_regularization_delta: f64§iterative_refinement_enable: bool§iterative_refinement_reltol: f64§iterative_refinement_abstol: f64§iterative_refinement_max_iter: u32Trait Implementations§
Source§impl Clone for ClarabelOptions
impl Clone for ClarabelOptions
Source§fn clone(&self) -> ClarabelOptions
fn clone(&self) -> ClarabelOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ClarabelOptions
impl Debug for ClarabelOptions
Source§impl Default for ClarabelOptions
impl Default for ClarabelOptions
Source§impl PartialEq for ClarabelOptions
impl PartialEq for ClarabelOptions
impl StructuralPartialEq for ClarabelOptions
Auto Trait Implementations§
impl Freeze for ClarabelOptions
impl RefUnwindSafe for ClarabelOptions
impl Send for ClarabelOptions
impl Sync for ClarabelOptions
impl Unpin for ClarabelOptions
impl UnsafeUnpin for ClarabelOptions
impl UnwindSafe for ClarabelOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more