Make `add_stable_points` optional in `IndShockConsumer`
Closed this issue · 8 comments
The solver for our most widely used class IndShockConsumerType
calculates various points of theoretical interest via its method add_stable_points
.
HARK/HARK/ConsumptionSaving/ConsIndShockModel.py
Line 1078 in 7ce7138
@mnwhite recently pointed out that this method can take up to 70% of the total time that it takes to solve a model.
These points are often not needed and, as user, I would like to have the option to not try to find them if I am doing structural estimation or calculating a Jacobian.
I want to propose that we disable the calculation of these points in the default solver, keeping them as an option to be activated by the user if he wants to calculate them.
Marking with high priority as this is taking up 70% of the computing time of our most popular agent type.
An issue is that the stable points are being searched for even in life cycle calibrations.
This was taken care of a while back, closing.