diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 839e7a7870e5f84b725fdc03f86e416800098c7a..4f72112468903bee0357ce4fc5d23a2aa0f390b8 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -1487,7 +1487,9 @@ in this case ``initval`` is used to specify the terminal conditions. steady; - simul(periods=200); + perfect_foresight_setup(periods=200); + perfect_foresight_solver; + In this example, the problem is finding the optimal path for consumption and capital for the periods :math:`t=1` to @@ -1527,7 +1529,9 @@ in this case ``initval`` is used to specify the terminal conditions. x = 1.1; end; - simul(periods=200); + perfect_foresight_setup(periods=200); + perfect_foresight_solver; + In this example, there is no `steady` command, hence the conditions are exactly those specified in the `initval` and `endval` blocks.