src/sliding_pdps.rs

branch
dev
changeset 62
32328a74c790
parent 61
4f468d35fa29
--- a/src/sliding_pdps.rs	Thu Feb 26 11:38:43 2026 -0500
+++ b/src/sliding_pdps.rs	Fri Jan 16 19:39:22 2026 -0500
@@ -209,6 +209,8 @@
     // let γ = dataterm.factor_of_strong_convexity();
     let ω = 1.0;
 
+    dbg!(τ, σ_p);
+
     // We multiply tolerance by τ for FB since our subproblems depending on tolerances are scaled
     // by τ compared to the conditional gradient approach.
     let tolerance = config.insertion.tolerance * τ * reg.tolerance_scaling();
@@ -407,7 +409,7 @@
     let fnH = Zero::new();
     // Convert config. We don't implement From (that could be done with the o2o crate), as σd0
     // needs to be chosen in a general case; for the problem of this fucntion, anything is valid.
-    let &SlidingFBConfig { τ0, σp0, insertion, transport, guess } = config;
+    let &SlidingFBConfig { τ0, σp0, insertion, transport, guess, .. } = config;
     let pdps_config = SlidingPDPSConfig { τ0, σp0, insertion, transport, guess, σd0: 0.0 };
 
     pointsource_sliding_pdps_pair(

mercurial