Fixing the regression in behavior in evaluate_planner_objective (Ref: #1680)
Compare changes
Files
12+ 149
− 38
@@ -5,12 +5,14 @@ function planner_objective_value = evaluate_planner_objective(M_,options_,oo_)
@@ -38,8 +40,6 @@ function planner_objective_value = evaluate_planner_objective(M_,options_,oo_)
@@ -48,8 +48,6 @@ function planner_objective_value = evaluate_planner_objective(M_,options_,oo_)
@@ -87,7 +85,6 @@ nstatic = M_.nstatic;
@@ -98,14 +95,39 @@ if options_.ramsey_policy
@@ -127,6 +149,7 @@ if options_.ramsey_policy
@@ -157,10 +180,13 @@ if options_.ramsey_policy
@@ -168,23 +194,42 @@ if options_.ramsey_policy
@@ -196,6 +241,7 @@ elseif options_.discretionary_policy
@@ -222,34 +268,99 @@ elseif options_.discretionary_policy