Closed jfowkes closed 7 months ago
Thanks @jfowkes, this is nice to add! In terms of the changes, the docstring at the top of problem_class.grad() still has a line "For constrained problems, this raises a RuntimeError." which I think should be removed (unless it's referring to if the index optional input is mis-specified, e.g. negative or >= number of constraints). Otherwise it looks good to me
Thanks @lindonroberts, good catch with the docstring! Now fixed.
@lindonroberts this PR improves upon #69 by also adding access to the constrained gradient. This brings our interface in-line with the official CUTEst MATLAB interface: https://github.com/ralna/CUTEst/tree/master/src/matlab