Optimal growth lecture 1 issue
Harveyt47 opened this issue · 3 comments
Harveyt47 commented
There is an error occurring in the optimal growth lecture.
I believe that this error is originating from the minimize_scalar
function in scipy which is used in the maximize
function in the optgrowth lecture.
I also believe that the method='bounded'
variable in the minimize_scalar
function is causing this error.
When I remove method='bounded'
from being called I get the following output
This output is obviously not optimal.
Harveyt47 commented
Harveyt47 commented
jstac commented
Thanks @Harveyt47, good detective work.
Please put in a PR which fixes this issue using the technique you propose and ask someone to review it.