Description
Summary
I propose the use of the following sign convention for duals in the new solver interfaces.
Given the problem
Define the Lagrangian as
Then, the KKT conditions are [1]
If a particular solver does not adopt this convention, then we will have to map things back and forth both when retrieving duals and when initializing duals.
This sign convention would have to be based on the (lower, body, upper) representation of constrains rather than the "raw" expression.
[1] Nocedal, Jorge, and Stephen J. Wright, eds. Numerical optimization. New York, NY: Springer New York, 1999.