/* Example that triggers homotopy in perfect foresight simulation with
   expectation errors, and tests marginal linearization. */

@#include "pfwee_homotopy.inc"

perfect_foresight_with_expectation_errors_setup(periods=200);
perfect_foresight_with_expectation_errors_solver(homotopy_max_completion_share = 0.8, homotopy_marginal_linearization_fallback, steady_solve_algo = 13);

if ~oo_.deterministic_simulation.status
   error('Perfect foresight simulation failed')
end
