From c304dea35f71e9b139ee771730b73a4146863a18 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Tue, 26 Jan 2021 11:40:46 +0100 Subject: [PATCH] stoch_simul.m: filter out mcp-tag solvers --- matlab/stoch_simul.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matlab/stoch_simul.m b/matlab/stoch_simul.m index 3ec1c9339..69c0ae521 100644 --- a/matlab/stoch_simul.m +++ b/matlab/stoch_simul.m @@ -39,6 +39,10 @@ if M_.exo_nbr==0 error('stoch_simul:: does not support having no varexo in the model. As a workaround you could define a dummy exogenous variable.') end +if ismember(options_.solve_algo,[10,11]) + error('stoch_simul:: perturbation solutions are not compatible with mixed complementarity problems and their solvers') +end + test_for_deep_parameters_calibration(M_); dr = oo_.dr;