From b2c118d45a01ed6f1c63dab2b803bbeb5bf19f9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Fri, 10 Aug 2012 16:54:14 +0200
Subject: [PATCH] discretionary_policy needs linear option

---
 doc/dynare.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/dynare.texi b/doc/dynare.texi
index 86ba276e3d..ce8cbb3313 100644
--- a/doc/dynare.texi
+++ b/doc/dynare.texi
@@ -5162,6 +5162,10 @@ This command computes an approximation of the optimal policy under
 discretion. The algorithm implemented is essentially an LQ solver, and
 is described by @cite{Dennis (2007)}.
 
+You should ensure that your model is linear and your objective is
+quadratic. Also, you should set the @code{linear} option of the
+@code{model} block.
+
 @optionshead
 
 This command accepts the same options than @code{ramsey_policy}, plus:
-- 
GitLab