pub struct AdmmSolver {
pub rho: f64,
pub max_iter: usize,
pub tolerance: f64,
}Expand description
ADMM (Alternating Direction Method of Multipliers) solver.
Fields§
§rho: f64§max_iter: usize§tolerance: f64Implementations§
Source§impl AdmmSolver
impl AdmmSolver
pub fn new(rho: f64, max_iter: usize, tol: f64) -> Self
pub fn update_x_description(&self) -> String
pub fn update_z_description(&self) -> String
pub fn convergence_description(&self) -> String
Trait Implementations§
Source§impl Clone for AdmmSolver
impl Clone for AdmmSolver
Source§fn clone(&self) -> AdmmSolver
fn clone(&self) -> AdmmSolver
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 moreAuto Trait Implementations§
impl Freeze for AdmmSolver
impl RefUnwindSafe for AdmmSolver
impl Send for AdmmSolver
impl Sync for AdmmSolver
impl Unpin for AdmmSolver
impl UnsafeUnpin for AdmmSolver
impl UnwindSafe for AdmmSolver
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