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
Hi @Dan-Burns - bounded least squares is not yet implemented. I have my hands full at the moment but if you'd like to contribute an implementation I'd be happy to review a PR.
rfeinman
changed the title
least_squares "trf with bounds not currently supported."
implement bounded least_squares
Mar 23, 2023
@JordinaAviles unfortunately I have not had time to implement this, but I'd be open to a PR if you'd like to contribute. Help is much needed and greatly appreciated!
Hello,
I'm trying to use least_squares and got the following error.
NotImplementedError Traceback (most recent call last)
in
----> 1 jac0=least_squares(chi2,
2 par_theta,
3 bounds=bounds,
4 ftol=10^-5,xtol=10^-7)
5 par=jac0.x
1 frames
/usr/local/lib/python3.9/site-packages/torchmin/lstsq/trf.py in trf(fun, x0, f0, lb, ub, ftol, xtol, gtol, max_nfev, x_scale, tr_solver, tr_options, verbose)
27 tr_solver, tr_options, verbose)
28 else:
---> 29 raise NotImplementedError('trf with bounds not currently supported.')
30
31
NotImplementedError: trf with bounds not currently supported.
The text was updated successfully, but these errors were encountered: