FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
756 stars 188 forks source link

IPOPT derivative_test_tol #130

Closed NLebbe closed 4 years ago

NLebbe commented 4 years ago

When using IPOPT the derivative_test_perturbation and derivative_test_tol seems to be always set to the same value. I think the issue come from this line : https://github.com/FreeFem/FreeFem-sources/blob/master/plugin/seq/ff-Ipopt.cpp#L1475 which should be "GetAny< double >((nargs[17])(stack)));" instead of "GetAny< double >((nargs[16])(stack)));".

prj- commented 4 years ago

Thanks, this is now fixed in develop, and will be fixed in master in the next release.