You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/manual/standard_form.md
+66-67Lines changed: 66 additions & 67 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,73 +35,72 @@ extensible to other sets recognized by the solver.
35
35
36
36
The function types implemented in MathOptInterface.jl are:
37
37
38
-
| Function | Description |
39
-
| :--------------- | :---------- |
40
-
|[`VariableIndex`](@ref)|``x_j``, the projection onto a single coordinate defined by a variable index ``j``.|
41
-
|[`VectorOfVariables`](@ref)| The projection onto multiple coordinates (that is, extracting a sub-vector).|
42
-
|[`ScalarAffineFunction`](@ref)|``a^T x + b``, where ``a`` is a vector and ``b``scalar.|
43
-
|[`ScalarNonlinearFunction`](@ref)|``f(x)``, where ``f`` is a nonlinear function.|
44
-
|[`VectorAffineFunction`](@ref)|``A x + b``, where ``A`` is a matrix and ``b`` is a vector.|
45
-
|[`ScalarQuadraticFunction`](@ref)|``\frac{1}{2} x^T Q x + a^T x + b``, where ``Q`` is a symmetric matrix, ``a`` is a vector, and ``b`` is a constant.|
46
-
|[`VectorQuadraticFunction`](@ref)| A vector of scalar-valued quadratic functions.|
47
-
|[`VectorNonlinearFunction`](@ref)|``f(x)``, where ``f`` is a vector-valued nonlinear function.|
|[`VectorNonlinearOracle`](@ref)|``\{x \in \mathbb{R}^{dimension}: l \le f(x) \le u \}``|
87
87
88
88
## Matrix cones
89
89
90
90
The matrix-valued set types implemented in MathOptInterface.jl are:
91
91
92
-
| Set | Description |
93
-
| :--------------- | :----------- |
94
-
|[`RootDetConeTriangle(d)`](@ref MathOptInterface.RootDetConeTriangle) |``\{ (t,X) \in \mathbb{R}^{1+d(1+d)/2} : t \le \det(X)^{1/d}, X \mbox{ is the upper triangle of a PSD matrix} \}``|
95
-
|[`RootDetConeSquare(d)`](@ref MathOptInterface.RootDetConeSquare) |``\{ (t,X) \in \mathbb{R}^{1+d^2} : t \le \det(X)^{1/d}, X \mbox{ is a PSD matrix} \}``|
96
-
|[`PositiveSemidefiniteConeTriangle(d)`](@ref MathOptInterface.PositiveSemidefiniteConeTriangle) |``\{ X \in \mathbb{R}^{d(d+1)/2} : X \mbox{ is the upper triangle of a PSD matrix} \}``|
97
-
|[`PositiveSemidefiniteConeSquare(d)`](@ref MathOptInterface.PositiveSemidefiniteConeSquare) |``\{ X \in \mathbb{R}^{d^2} : X \mbox{ is a PSD matrix} \}``|
98
-
|[`LogDetConeTriangle(d)`](@ref MathOptInterface.LogDetConeTriangle) |``\{ (t,u,X) \in \mathbb{R}^{2+d(1+d)/2} : t \le u\log(\det(X/u)), X \mbox{ is the upper triangle of a PSD matrix}, u > 0 \}``|
99
-
|[`LogDetConeSquare(d)`](@ref MathOptInterface.LogDetConeSquare) |``\{ (t,u,X) \in \mathbb{R}^{2+d^2} : t \le u \log(\det(X/u)), X \mbox{ is a PSD matrix}, u > 0 \}``|
100
-
| [`NormSpectralCone(r, c)`](@ref MathOptInterface.NormSpectralCone) | ``\{ (t, X) \in \mathbb{R}^{1 + r \times c} : t \ge \sigma_1(X), X \mbox{ is a } r\times c\mbox{ matrix} \}``
101
-
|[`NormNuclearCone(r, c)`](@ref MathOptInterface.NormNuclearCone) |``\{ (t, X) \in \mathbb{R}^{1 + r \times c} : t \ge \sum_i \sigma_i(X), X \mbox{ is a } r\times c\mbox{ matrix} \}``|
102
-
| [`HermitianPositiveSemidefiniteConeTriangle(d)`](@ref MathOptInterface.HermitianPositiveSemidefiniteConeTriangle) | The cone of Hermitian positive semidefinite matrices, with
103
-
`side_dimension` rows and columns. |
104
-
|[`Scaled(S)`](@ref MathOptInterface.Scaled) | The set `S` scaled so that [`Utilities.set_dot`](@ref MathOptInterface.Utilities.set_dot) corresponds to `LinearAlgebra.dot`|
|[`RootDetConeTriangle(d)`](@ref)|``\{ (t,X) \in \mathbb{R}^{1+d(1+d)/2} : t \le \det(X)^{1/d}, X \mbox{ is the upper triangle of a PSD matrix} \}``|
95
+
|[`RootDetConeSquare(d)`](@ref)|``\{ (t,X) \in \mathbb{R}^{1+d^2} : t \le \det(X)^{1/d}, X \mbox{ is a PSD matrix} \}``|
96
+
|[`PositiveSemidefiniteConeTriangle(d)`](@ref)|``\{ X \in \mathbb{R}^{d(d+1)/2} : X \mbox{ is the upper triangle of a PSD matrix} \}``|
97
+
|[`PositiveSemidefiniteConeSquare(d)`](@ref)|``\{ X \in \mathbb{R}^{d^2} : X \mbox{ is a PSD matrix} \}``|
98
+
|[`LogDetConeTriangle(d)`](@ref)|``\{ (t,u,X) \in \mathbb{R}^{2+d(1+d)/2} : t \le u\log(\det(X/u)), X \mbox{ is the upper triangle of a PSD matrix}, u > 0 \}``|
99
+
|[`LogDetConeSquare(d)`](@ref)|``\{ (t,u,X) \in \mathbb{R}^{2+d^2} : t \le u \log(\det(X/u)), X \mbox{ is a PSD matrix}, u > 0 \}``|
100
+
|[`NormSpectralCone(r, c)`](@ref)|``\{ (t, X) \in \mathbb{R}^{1 + r \times c} : t \ge \sigma_1(X), X \mbox{ is a } r\times c\mbox{ matrix} \}``|
101
+
|[`NormNuclearCone(r, c)`](@ref)|``\{ (t, X) \in \mathbb{R}^{1 + r \times c} : t \ge \sum_i \sigma_i(X), X \mbox{ is a } r\times c\mbox{ matrix} \}``|
102
+
|[`HermitianPositiveSemidefiniteConeTriangle(d)`](@ref)| The cone of Hermitian positive semidefinite matrices, with `side_dimension` rows and columns. |
103
+
|[`Scaled(S)`](@ref)| The set `S` scaled so that [`Utilities.set_dot`](@ref) corresponds to `LinearAlgebra.dot`|
105
104
106
105
Some of these cones can take two forms: `XXXConeTriangle` and `XXXConeSquare`.
107
106
@@ -127,19 +126,19 @@ or solver developers.
127
126
Other sets are vector-valued, with a particular combinatorial structure. Read
128
127
their docstrings for more information on how to interpret them.
129
128
130
-
| Set | Description |
131
-
| :------------------------- | :---------- |
132
-
|[`SOS1`](@ref)| A Special Ordered Set (SOS) of Type I |
133
-
|[`SOS2`](@ref)| A Special Ordered Set (SOS) of Type II |
134
-
|[`Indicator`](@ref)| A set to specify an indicator constraint |
0 commit comments