From 0f2d252d10d748ab7a9f2d7a312e5ad51c3136c1 Mon Sep 17 00:00:00 2001 From: Humphrey Yang Date: Thu, 12 Oct 2023 00:21:46 +1100 Subject: [PATCH] change to bracket=[0.47, 4.5] --- lectures/five_preferences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/five_preferences.md b/lectures/five_preferences.md index 492cfe8f..103e0781 100644 --- a/lectures/five_preferences.md +++ b/lectures/five_preferences.md @@ -1217,7 +1217,7 @@ constraint_pref_crit = constraint_criterion_factory(η, π, u) # Create criteri cons_crit_bar = constraint_pref_crit(*c_bundle) # Evaluate criterion at consumption bundle constraint_pref_root_problem = lambda c_2, c_1, u_bar: u_bar - constraint_pref_crit(c_1, c_2) # Formulate root problem # Solve root problem for all c_1 values -c_2_grid_cons = solve_root_problem(constraint_pref_root_problem, cons_crit_bar, c_1_grid, method='bisect', bracket=[0.3, 4.4]) +c_2_grid_cons = solve_root_problem(constraint_pref_root_problem, cons_crit_bar, c_1_grid, method='bisect', bracket=[0.47, 4.5]) # Compute associated η and θ values ηs = np.empty(c_1_grid.size)