, Codomain = F>
+{
/// Approximately solve the problem
/// $$
/// \min_{x ∈ ℝ^n} \frac{1}{2} x^⊤Ax - g^⊤ x + τ G(x)
@@ -129,13 +119,13 @@
/// Returns the number of iterations taken.
fn solve_findim(
&self,
- mA : &DMatrix,
- g : &DVector,
- τ : F,
- x : &mut DVector,
- mA_normest : F,
- ε : F,
- config : &FBGenericConfig
+ mA: &DMatrix,
+ g: &DVector,
+ τ: F,
+ x: &mut DVector,
+ mA_normest: F,
+ ε: F,
+ config: &FBGenericConfig,
) -> usize;
/// Approximately solve the problem
@@ -147,12 +137,12 @@
/// Returns the number of iterations taken.
fn solve_findim_l1squared(
&self,
- y : &DVector,
- g : &DVector,
- τ : F,
- x : &mut DVector,
- ε : F,
- config : &FBGenericConfig
+ y: &DVector,
+ g: &DVector,
+ τ: F,
+ x: &mut DVector,
+ ε: F,
+ config: &FBGenericConfig