Wrong calculation of dual variables

CVX is not wrong. Unlike inequality constraints, the sign of the dual variable of an equality constraint (your first constraint) depends on convention, so either 200 or -200 could be correct. See Unexpected result .

1 Like