pub struct OptimConfig {
pub mu_init: f64,
pub mu_decay: f64,
pub outer_iters: usize,
pub inner_iters: usize,
pub step_size: f64,
pub tol: f64,
}Expand description
Configurable options for the interior-point bundle optimisation.
Fields§
§mu_init: f64Initial barrier weight.
mu_decay: f64Multiplicative decay applied to mu per outer iteration (e.g. 0.1).
outer_iters: usizeNumber of outer iterations (mu reductions).
inner_iters: usizeNumber of gradient ascent steps per outer iteration.
step_size: f64Initial step size for gradient ascent.
tol: f64Convergence tolerance: stops if the gradient norm falls below this.
Trait Implementations§
Source§impl Clone for OptimConfig
impl Clone for OptimConfig
Source§fn clone(&self) -> OptimConfig
fn clone(&self) -> OptimConfig
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 OptimConfig
impl Debug for OptimConfig
Auto Trait Implementations§
impl Freeze for OptimConfig
impl RefUnwindSafe for OptimConfig
impl Send for OptimConfig
impl Sync for OptimConfig
impl Unpin for OptimConfig
impl UnsafeUnpin for OptimConfig
impl UnwindSafe for OptimConfig
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