pyoptsparse icon indicating copy to clipboard operation
pyoptsparse copied to clipboard

Implement a method to check derivatives

Open gjkennedy opened this issue 4 years ago • 1 comments

It would be handy to implement a method to check derivatives directly in pyOptSparse.

SNOPT implements a derivative checker, but not everyone has access to this optimizer. A simple check would be very handy.

Potential solution

This could be implemented as part of the pyOpt_Optimization class.

gjkennedy avatar Apr 05 '21 14:04 gjkennedy

OpenMDAO has a total derivative checker. You could borrow the code from that.

JustinSGray avatar Apr 05 '21 14:04 JustinSGray