EconPDEs.jl icon indicating copy to clipboard operation
EconPDEs.jl copied to clipboard

More than two states

Open greimel opened this issue 3 years ago • 1 comments
trafficstars

I would like to replace my own HJB solver with this package. In the process I realized that it cannot handle more than two state variables.

One obvious reason is that the differentiate function has methods for one and two states. Did you also assume 2 states in the rest of the package, or would it be enough to provide another method for differentiate?

greimel avatar Apr 26 '22 20:04 greimel

Yes I think that a differentiate method with three states would be enough. It would be a great addition!

matthieugomez avatar Apr 26 '22 22:04 matthieugomez

Done (although three state variables is much slower)

matthieugomez avatar May 28 '24 23:05 matthieugomez