Complementarity ratio¶
Compute the complementarity ratio of the primal-dual pair \((s,z)\), \(s^T z / n\), where \(n\) is the degree of the cone (in this case, the lengths of \(s\) and \(z\)).
C++ API¶
-
Real
pos_orth
::
ComplementRatio
(const ElementalMatrix<Real> &s, const ElementalMatrix<Real> &z)¶
-
Real
pos_orth
::
ComplementRatio
(const DistMultiVec<Real> &s, const DistMultiVec<Real> &z)¶
C API¶
TODO
Python API¶
TODO