Skip to content
Snippets Groups Projects
Verified Commit a35992a5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

:bug: Fix MCP solver in the presence of multiple complementarity conditions

The solver relies on a reordering of equations (eq_index) so that reordered
equations appear at the index of the endogenous to which they are associated
through the complementarity condition.

However, this reordering could be computed incorrectly in the presence of
multiple complementarity conditions (technically, eq_index was not necessarily
a permutation).
parent 744a7102
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment