SeBecker / dc-egm

1 stars 1 forks source link

Add handling of discontinuity in credit constrained region #4

Open boryana-ilieva opened 5 years ago

boryana-ilieva commented 5 years ago

The notebook retirement_model showcases the DC step in the standard case where the discontinuity we need to correct for occurs outside of the credit constrained region. This, the code does not replicate lines 137-148 of retirement_model.m, which handle this specific edge case.

Please add handling of discontinuity in credit constrained region and make sure to test it on a case where it is actually used.

SeBecker commented 5 years ago

Line 137 - 145 are now included. As far as I know the code snippet is essential for the replication of the m0 values which means that this is done or?