-
- Downloads
WIP: Better preconditionner for stack_solve_algo={2,3} (GMRES + BiCGStab solvers)
On first iteration, do a full LU decomposition, and use it as a preconditionner in further iterations (similar to UMFITER in TROLL). TODO: – better understand how the tolerance of GMRES and BiCGStab influence the result (hardcoded to 1e-12, needed for GIMF in the block-decomposed version); also put that value in options_ and maybe give it an interface? – do the same in bytecode – add the preconditionner of ITERSTACK as an alternative preconditioner? – leave ILU as an alternative preconditionner? – handle the error flag of gmres and bicgstab? – remove the persistent variables in sim1.m [skip ci]
Showing
- matlab/optimization/solve_one_boundary.m 19 additions, 55 deletionsmatlab/optimization/solve_one_boundary.m
- matlab/perfect-foresight-models/sim1.m 18 additions, 10 deletionsmatlab/perfect-foresight-models/sim1.m
- matlab/perfect-foresight-models/solve_two_boundaries_stacked.m 22 additions, 91 deletions...b/perfect-foresight-models/solve_two_boundaries_stacked.m
Loading
Please register or sign in to comment