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
Branches
No related tags found
No related merge requests found
Checking pipeline status