Closed tokuma09 closed 3 years ago
This is a demo notebook of this option.
isapprox
shows that results with and without this option are same.
@tokuma09 Could you please let me know what the status on this PR is? Is it ready for review?
Superseded by #33.
This pull request provides a new option to supply initial value function in
solve
. Since Julia does not allowsolve(cdp, method::Type{Algo}=PFI, v_init::Vector{Float64}; tol, max_iter, verbose, print_skip)
, I assignv_init
to keyword arguments withzeros(cdp.interp.length)
.Detail
v_init
. (Of course, they don't need to provide this.)v_init
, compute and update basis coefficientsC
.C
, calculate value function or policy function.close #11.