This is a draft PR for adding PolyesterForwardDiff for AD backed Optimization. So far, I have changed the gradient to threaded gradient. I still have to figure out how to implement the Hessian using PolyesterForwardDiff. I didn't because I am not sure If I should separately calculate the hessian and add it as f.hess or should I try adding some changes in the numauto_color_hessian()
function.
Checklist
Additional context
This is a draft PR for adding
PolyesterForwardDiff
for AD backedOptimization
. So far, I have changed the gradient to threaded gradient. I still have to figure out how to implement the Hessian using PolyesterForwardDiff. I didn't because I am not sure If I should separately calculate the hessian and add it asf.hess
or should I try adding some changes in thenumauto_color_hessian()
function.