HighDimensionalEconLab / DifferentiableStateSpaceModels.jl

MIT License
46 stars 1 forks source link

Support for GeneralizedSylvesterSolver.jl solver #127

Open jlperla opened 2 years ago

jlperla commented 2 years ago

There were previous attempts to integrate the https://github.com/DynareJulia/GeneralizedSylvesterSolver.jl but there was a bug in its usage.

The suspicon was that it was doing a loop and calling the sylvester solver inplace, but since the solver works "inplace" it might require adding new buffers or zeroing out buffers between calls in the iteration.

To do this:

If it is working well then

If it seems to win in the benchmarks version MatrixEquations and unit tetss pass, then leave that change in the toggle.