Ramsey: Decide what to do with auxiliary variables containing multipliers
The Ramsey model
mod_forum.mod
mod_forum_steadystate.m
root4_copy.m
exposes a design flaw or even bug. According to M_.ramsey_eq_nbr
there are 22 equations related to Ramsey, although the preprocessing states
Ramsey Problem: added 21 Multipliers.
But M_.aux_vars
only shows 21 Lagrange multipliers and one other type 2 auxiliary variable
MULT_20*(-(exp(eps_t1f)*(Srf1/S/(Srf1_ss/S_ss))^(Delta*(1-rho_a))*get_power_deriv(alppha_n(-1),rho_a,1)))
that involves a Lagrange multiplier. As such, it is appended at the end of the model equations instead of the beginning like the other Ramsey equations. This will throw off the indexing relying on there being M_.ramsey_eq_nbr
=22 equations before starting with the original model.
Edited by Johannes Pfeifer