Skip to content

fixing the gradient optimization of IRR

Pierre-Elouan Rethore requested to merge fix_integer_irr into master

SLSQP doesn't work with IRR. That's because in the cashflow method, the AEP is added as an int. This made the finite difference not work properly. Another fix of this branch is adding a dependency to numpy_financial, as the IRR function has moved from numpy to numpy_financial in the most recent versions of numpy.

Edited by Pierre-Elouan Rethore

Merge request reports