Closed jfowkes closed 6 months ago
There is a segfault on lines 458-461 of cisgr.F90
, looks like an upstream bug to me.
There is a segfault on lines 458-461 of
cisgr.F90
, looks like an upstream bug to me.
This was indeed an upstream bug, and has now been fixed in CUTEst.
@lindonroberts this is now ready for you to review, should be a simple one.
Looks good to me!
Resolves #73
The official CUTEst MATLAB interface has the sparse routines:
These are the sparse equivalents of our existing
obj
andgrad
routines.This is an attempt to implement these in a similar way as done in MATLAB: https://github.com/ralna/CUTEst/blob/master/src/matlab/mcutest.c
Major caveat: CUTEst only supports sparse gradients for constrained problems, so we return dense gradients for unconstrained problems as in the MATLAB interface and convert them to
scipy.sparse.coo_matrix
.sobj,sgrad
toc_interfaces.py
sobj,sgrad
toproblem_class.py
sobj,sgrad
sobj,sgrad