Debian Codegraph @

tests/deterministic_simulations/pfwee_homotopy_marginal_linearization.mod

raw
1 /* Example that triggers homotopy in perfect foresight simulation with
2 expectation errors, and tests marginal linearization. */
3
4 @#include "pfwee_homotopy.inc"
5
6 perfect_foresight_with_expectation_errors_setup(periods=200);
7 perfect_foresight_with_expectation_errors_solver(homotopy_max_completion_share = 0.8, homotopy_marginal_linearization_fallback, steady_solve_algo = 13);
8
9 if ~oo_.deterministic_simulation.status
10 error('Perfect foresight simulation failed')
11 end