Adjust unit test for stack_solve_algo=7 to actually trigger different algorithms
parent
6d3c73a906
commit
3fc011a1b2
|
@ -211,6 +211,6 @@ elseif options.solve_algo == 11
|
|||
[x,fval,jac,mu,status] = pathmcp(x,omcppath.lb,omcppath.ub,'mcp_func',omcppath.A,omcppath.b,omcppath.t,omcppath.mu0);
|
||||
info = ~status;
|
||||
else
|
||||
error('DYNARE_SOLVE: option solve_algo must be one of [0,1,2,3,4,9,10:11]')
|
||||
error('DYNARE_SOLVE: option solve_algo must be one of [0,1,2,3,4,9,10,11]')
|
||||
end
|
||||
|
||||
|
|
|
@ -85,9 +85,10 @@ if norm(D.oo_.endo_simul - oo_.endo_simul) > 1e-30;
|
|||
end;
|
||||
|
||||
options_.dynatol.f=1e-10;
|
||||
@#define J = 10
|
||||
@#for solve_algo_iter in 0:J
|
||||
@#define J = [0,1,2,3,4,9,10]
|
||||
@#for solve_algo_iter in J
|
||||
|
||||
perfect_foresight_setup(periods=200);
|
||||
perfect_foresight_solver(stack_solve_algo=7,solve_algo=@{solve_algo_iter});
|
||||
|
||||
rplot Consumption;
|
||||
|
|
Loading…
Reference in New Issue