-
- Downloads
New perfect_foresight_problem MEX file
It constructs the stacked residuals and jacobian of the perfect foresight problem. It is an almost perfect replacement for the perfect_foresight_problem.m routine, while being much more efficient. Note however that the DLL never return complex numbers (it instead puts NaNs at the place where there would have been complex). This may create problems for some MOD files; the algorithms will need to be adapted to use a more line-search method.
Showing
- matlab/perfect-foresight-models/perfect_foresight_problem.m 0 additions, 102 deletionsmatlab/perfect-foresight-models/perfect_foresight_problem.m
- matlab/perfect-foresight-models/perfect_foresight_solver.m 15 additions, 18 deletionsmatlab/perfect-foresight-models/perfect_foresight_solver.m
- matlab/perfect-foresight-models/perfect_foresight_solver_core.m 15 additions, 19 deletions.../perfect-foresight-models/perfect_foresight_solver_core.m
- matlab/perfect-foresight-models/private/initialize_stacked_problem.m 11 additions, 3 deletions...ect-foresight-models/private/initialize_stacked_problem.m
- matlab/perfect-foresight-models/sim1.m 76 additions, 144 deletionsmatlab/perfect-foresight-models/sim1.m
- matlab/perfect-foresight-models/solve_stacked_problem.m 4 additions, 5 deletionsmatlab/perfect-foresight-models/solve_stacked_problem.m
- mex/build/matlab/Makefile.am 1 addition, 1 deletionmex/build/matlab/Makefile.am
- mex/build/matlab/configure.ac 2 additions, 1 deletionmex/build/matlab/configure.ac
- mex/build/matlab/perfect_foresight_problem/Makefile.am 2 additions, 0 deletionsmex/build/matlab/perfect_foresight_problem/Makefile.am
- mex/build/octave/Makefile.am 1 addition, 1 deletionmex/build/octave/Makefile.am
- mex/build/octave/configure.ac 3 additions, 2 deletionsmex/build/octave/configure.ac
- mex/build/octave/perfect_foresight_problem/Makefile.am 3 additions, 0 deletionsmex/build/octave/perfect_foresight_problem/Makefile.am
- mex/build/perfect_foresight_problem.am 15 additions, 0 deletionsmex/build/perfect_foresight_problem.am
- mex/sources/Makefile.am 2 additions, 1 deletionmex/sources/Makefile.am
- mex/sources/perfect_foresight_problem/DynamicModelCaller.cc 215 additions, 0 deletionsmex/sources/perfect_foresight_problem/DynamicModelCaller.cc
- mex/sources/perfect_foresight_problem/DynamicModelCaller.hh 83 additions, 0 deletionsmex/sources/perfect_foresight_problem/DynamicModelCaller.hh
- mex/sources/perfect_foresight_problem/perfect_foresight_problem.cc 277 additions, 0 deletions...es/perfect_foresight_problem/perfect_foresight_problem.cc
Loading
Please register or sign in to comment