Skip to content

Commit ff7e42b

Browse files
committed
minor update
1 parent e7103f2 commit ff7e42b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lectures/optgrowth_fast.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,14 @@ np.max(np.abs(np.asarray(v_greedy)
237237

238238
## Exercises
239239

240-
```{exercise}
240+
```{exercise-start}
241241
:label: ogfast_ex1
242+
```
242243

243244
Time how long it takes to iterate with the Bellman operator 20 times, starting from initial condition $v(y) = u(y)$.
244245

245246
Use the default parameterization.
247+
```{exercise-end}
246248
```
247249

248250
```{solution-start} ogfast_ex1
@@ -269,9 +271,9 @@ value function iteration, the JIT-compiled code is usually an order of magnitude
269271
```{solution-end}
270272
```
271273

272-
```{exercise}
274+
```{exercise-start}
273275
:label: ogfast_ex2
274-
276+
```
275277
Modify the optimal growth model to use the CRRA utility specification.
276278

277279
$$
@@ -287,6 +289,7 @@ Compute an estimate of the optimal policy and plot it.
287289
Compare visually with the same plot from the {ref}`analogous exercise <og_ex1>` in the first optimal growth lecture.
288290

289291
Compare execution time as well.
292+
```{exercise-end}
290293
```
291294

292295

0 commit comments

Comments
 (0)