You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -168,6 +168,7 @@ class RegularizedLinearRTO(LinearRTO):
168
168
Used when prior.proximal is callable.
169
169
ADMM: [2] Boyd et al. "Distributed optimization and statistical learning via the alternating direction method of multipliers."Foundations and Trends® in Machine learning, 2011.
170
170
Used when prior.proximal is a list of penalty terms.
171
+
ScipyLinearLSQ: Wrapper for Scipy's lsq_linear for the Trust Region Reflective algorithm. Optionally used when the constraint is either "nonnegativity" or "box".
171
172
172
173
Parameters
173
174
------------
@@ -178,7 +179,7 @@ class RegularizedLinearRTO(LinearRTO):
178
179
Initial point for the sampler. *Optional*.
179
180
180
181
maxit : int
181
-
Maximum number of iterations of the inner FISTA/ADMM solver. *Optional*.
182
+
Maximum number of iterations of the FISTA/ADMM/ScipyLinearLSQ solver. *Optional*.
182
183
183
184
inner_max_it : int
184
185
Maximum number of iterations of the CGLS solver used within the ADMM solver. *Optional*.
@@ -188,14 +189,20 @@ class RegularizedLinearRTO(LinearRTO):
188
189
If stepsize is a float, then this stepsize is used.
189
190
190
191
penalty_parameter : int
191
-
Penalty parameter of the inner ADMM solver. *Optional*.
192
+
Penalty parameter of the ADMM solver. *Optional*.
192
193
See [2] or `cuqi.solver.ADMM`
193
194
194
195
abstol : float
195
-
Absolute tolerance of the inner FISTA solver. *Optional*.
196
+
Absolute tolerance of the FISTA/ScipyLinearLSQ solver. *Optional*.
197
+
198
+
inner_abstol : float
199
+
Tolerance parameter for ScipyLinearLSQ's inner solve of the unbounded least-squares problem. *Optional*.
196
200
197
201
adaptive : bool
198
-
If True, FISTA is used as inner solver, otherwise ISTA is used. *Optional*.
202
+
If True, FISTA is used as solver, otherwise ISTA is used. *Optional*.
203
+
204
+
solver : string
205
+
If set to "ScipyLinearLSQ", solver is set to cuqi.solver.ScipyLinearLSQ, otherwise FISTA/ISTA or ADMM is used. Note "ScipyLinearLSQ" can only be used with `RegularizedGaussian` of `box` or `nonnegativity` constraint. *Optional*.
199
206
200
207
callback : callable, *Optional*
201
208
If set this function will be called after every sample.
@@ -204,23 +211,41 @@ class RegularizedLinearRTO(LinearRTO):
0 commit comments