MOI collects the vector sets of MathOptInterface that a ConeConstraint()
names, MOI$dimension(set), and the status codes of a solve. The sets are
Zeros(d), Nonnegatives(d), Nonpositives(d), SecondOrderCone(d)
((t, x) with norm(x) <= t), RotatedSecondOrderCone(d) ((t, u, x)
with 2 t u >= sum(x^2), t, u >= 0), NormOneCone(d),
NormInfinityCone(d), ExponentialCone() ((x, y, z) with
y exp(x / y) <= z, y > 0), DualExponentialCone(), PowerCone(a)
(x^a y^(1 - a) >= abs(z)), DualPowerCone(a),
PositiveSemidefiniteConeTriangle(n) (the upper triangle of a symmetric
n by n matrix, column by column), ScaledPositiveSemidefiniteConeTriangle(n)
(the same with the off diagonal entries scaled by sqrt(2)) and Clarabel's
GenPowerCone(a, dim2) (prod(x^a) >= norm(z) for x of length
length(a) and z of length dim2, sum(a) == 1). Sets Clarabel
lacks are reformulated by the bridges of MathOptInterface:
NormCone(p, d) ((t, x) with norm(x, p) <= t),
GeometricMeanCone(d) (t <= prod(x)^(1 / (d - 1)), x >= 0),
DualGeometricMeanCone(d), RelativeEntropyCone(d) ((u, v, w) with
sum(w * log(w / v)) <= u), NormSpectralCone(m, n) and
NormNuclearCone(m, n) (t and an m by n matrix stored column by
column), PositiveSemidefiniteConeSquare(n), LogDetConeTriangle(n) and
LogDetConeSquare(n) ((t, u, X) with u logdet(X / u) >= t),
RootDetConeTriangle(n), RootDetConeSquare(n) ((t, X) with
det(X)^(1 / n) >= t) and HyperRectangle(lower, upper).
DualExponentialCone, DualPowerCone and DualRelativeEntropyCone have
no reformulation for this solver, as in MathOptInterface.
TerminationStatusCode and ResultStatusCode list the status names that
sol$original$termination_status, primal_status and dual_status take.