Complementarity constraints not handled in AMPL
|Reported by:||andreasw||Owned by:||ipopt-team|
The following AMPL code
lin_1: 0 <= 3*x - y - 3 complements l >= 0;
is interpreted as
lin_1: 0 <= 3*x - y - 3; complements_1: l >= 0;
i.e., the complementarity is not implemented. This should either be fixed. For now, I just added code that will throw an error if complementarity constraints are detected.
(Potentially, some old code in the AMPL interface to the Fortran version might be helpful... But it's going to be a mess since it effects the Hessian matrix...)