JuliaStochOpt / StochDynamicProgramming.jl

A package for discrete-time optimal stochastic control
Other
62 stars 16 forks source link

Use StochDynamicProgramming.jl to solve a simple routine economics problem. #178

Open azev77 opened 4 years ago

azev77 commented 4 years ago

Hi and thank you for this package!

How can I use this package to solve a very routine dynamic programming problem economists usually solve with value function iteration? Here is the problem (which happens to have a simple closed form solution, so we can check)

image

Using optimization terminology: state variable: k action variable: c reward function: log(c)