Skip to content
Snippets Groups Projects
Verified Commit 61c731f9 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).

(cherry picked from commit 1fea7f3e)
parent b7c45d18
No related branches found
No related tags found
No related merge requests found
Pipeline #10477 passed