ICB-DCM / pyPESTO

python Parameter EStimation TOolbox
https://pypesto.readthedocs.io
BSD 3-Clause "New" or "Revised" License
216 stars 47 forks source link

Support ipopt with gradient approximation #1284

Closed MerktSimon closed 4 months ago

MerktSimon commented 7 months ago

Feature description Use ipopt with gradient approximation.

Motivation/Application Ipopt supports approximation of Jacobian/Gradients (https://coin-or.github.io/Ipopt/OPTIONS.html). However using ipopt in pypesto only with objective function yields the error: ValueError: This Objective cannot be called with sensi_orders= (1,) and mode=mode_fun.