pytorch-minimize
pytorch-minimize copied to clipboard
implement bounded least_squares
Hello,
I'm trying to use least_squares and got the following error.
NotImplementedError Traceback (most recent call last)
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.
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.
Hi, I was wondering if the bounded least squares is already available or work is still going on. Thanks!
@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!