Opened 7 years ago

Closed 3 months ago

#180 closed enhancement (migrated)

Complementarity constraints not handled in AMPL

Reported by: andreasw Owned by: ipopt-team
Priority: normal Component: Ipopt
Version: Severity: normal
Keywords: Cc:

Description

The following AMPL code

   lin_1:  0 <= 3*x - y - 3        complements l[1] >= 0;

is interpreted as

   lin_1:  0 <= 3*x - y - 3;
   complements_1:  l[1] >= 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...)

Change History (2)

comment:1 Changed 6 years ago by stefan

  • Type changed from defect to enhancement
  • Version 3.10 deleted

Code that produces error message has been merged to stable/3.10 and will be in next release.

So this ticket remains to be an enhancement request, for trunk.

comment:2 Changed 3 months ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be followed up there: https://github.com/coin-or/Ipopt/issues/180

Note: See TracTickets for help on using tickets.