Remove useless "markowitz" data member in DynamicModel and StaticDllModel
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2886 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
0857db4e79
commit
b88c5abcba
|
@ -43,7 +43,6 @@ DynamicModel::DynamicModel(SymbolTable &symbol_table_arg,
|
||||||
max_exo_det_lag(0), max_exo_det_lead(0),
|
max_exo_det_lag(0), max_exo_det_lead(0),
|
||||||
dynJacobianColsNbr(0),
|
dynJacobianColsNbr(0),
|
||||||
cutoff(1e-15),
|
cutoff(1e-15),
|
||||||
markowitz(0.7),
|
|
||||||
mfs(0),
|
mfs(0),
|
||||||
block_triangular(symbol_table_arg, num_constants_arg)
|
block_triangular(symbol_table_arg, num_constants_arg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -143,8 +143,6 @@ public:
|
||||||
virtual NodeID AddVariable(const string &name, int lag = 0);
|
virtual NodeID AddVariable(const string &name, int lag = 0);
|
||||||
//! Absolute value under which a number is considered to be zero
|
//! Absolute value under which a number is considered to be zero
|
||||||
double cutoff;
|
double cutoff;
|
||||||
//! The weight of the Markowitz criteria to determine the pivot in the linear solver (simul_NG1 and simul_NG from bytecode.cc)
|
|
||||||
double markowitz;
|
|
||||||
//! Compute the minimum feedback set in the dynamic model:
|
//! Compute the minimum feedback set in the dynamic model:
|
||||||
/*! 0 : all endogenous variables are considered as feedback variables
|
/*! 0 : all endogenous variables are considered as feedback variables
|
||||||
1 : the variables belonging to non normalized equation are considered as feedback variables
|
1 : the variables belonging to non normalized equation are considered as feedback variables
|
||||||
|
|
|
@ -43,7 +43,6 @@ StaticDllModel::StaticDllModel(SymbolTable &symbol_table_arg,
|
||||||
max_exo_det_lag(0), max_exo_det_lead(0),
|
max_exo_det_lag(0), max_exo_det_lead(0),
|
||||||
dynJacobianColsNbr(0),
|
dynJacobianColsNbr(0),
|
||||||
cutoff(1e-15),
|
cutoff(1e-15),
|
||||||
markowitz(0.7),
|
|
||||||
mfs(0),
|
mfs(0),
|
||||||
block_triangular(symbol_table_arg, num_constants_arg)
|
block_triangular(symbol_table_arg, num_constants_arg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -135,8 +135,6 @@ public:
|
||||||
virtual NodeID AddVariable(const string &name, int lag = 0);
|
virtual NodeID AddVariable(const string &name, int lag = 0);
|
||||||
//! Absolute value under which a number is considered to be zero
|
//! Absolute value under which a number is considered to be zero
|
||||||
double cutoff;
|
double cutoff;
|
||||||
//! The weight of the Markowitz criteria to determine the pivot in the linear solver (simul_NG1 and simul_NG from simulate.cc)
|
|
||||||
double markowitz;
|
|
||||||
//! Compute the minimum feedback set in the static model:
|
//! Compute the minimum feedback set in the static model:
|
||||||
/*! 0 : all endogenous variables are considered as feedback variables
|
/*! 0 : all endogenous variables are considered as feedback variables
|
||||||
1 : the variables belonging to a non linear equation are considered as feedback variables
|
1 : the variables belonging to a non linear equation are considered as feedback variables
|
||||||
|
|
|
@ -10,7 +10,7 @@ aa=0.5;
|
||||||
|
|
||||||
|
|
||||||
model;
|
model;
|
||||||
c + k - aa*x*k(-1)^alph - (1-delt)*k(-1);
|
[ yo = 'plouf', onx = 'inx' ] c + k - aa*x*k(-1)^alph - (1-delt)*k(-1);
|
||||||
c^(-gam) - (1+bet)^(-1)*(aa*alph*x(+1)*k^(alph-1) + 1 - delt)*c(+1)^(-gam);
|
c^(-gam) - (1+bet)^(-1)*(aa*alph*x(+1)*k^(alph-1) + 1 - delt)*c(+1)^(-gam);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ k = ((delt+bet)/(1.0*aa*alph))^(1/(alph-1));
|
||||||
c = aa*k^alph-delt*k;
|
c = aa*k^alph-delt*k;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
steady;
|
steady(solve_algo=2);
|
||||||
|
|
||||||
check;
|
//check;
|
||||||
|
|
||||||
shocks;
|
shocks;
|
||||||
var x;
|
var x;
|
||||||
|
|
Loading…
Reference in New Issue