|
1 | 1 | { |
2 | 2 | "$schema": "https://json-schema.org/schema#", |
3 | | - "$id": "https://jump.dev/MathOptFormat/schemas/mof.1.3.schema.json", |
| 3 | + "$id": "https://jump.dev/MathOptFormat/schemas/mof.1.4.schema.json", |
4 | 4 | "title": "The schema for MathOptFormat", |
5 | 5 | "type": "object", |
6 | 6 | "required": ["version", "variables", "objective", "constraints"], |
|
11 | 11 | "required": ["minor", "major"], |
12 | 12 | "properties": { |
13 | 13 | "minor": { |
14 | | - "enum": [0, 1, 2, 3] |
| 14 | + "enum": [0, 1, 2, 3, 4] |
15 | 15 | }, |
16 | 16 | "major": { |
17 | 17 | "const": 1 |
|
764 | 764 | "minimum": 1 |
765 | 765 | } |
766 | 766 | } |
| 767 | + }, { |
| 768 | + "description": "The (vectorized) cone of symmetric positive semidefinite matrices, with `side_dimension` rows and columns, such that the off-diagonal entries are scaled by √2. The entries of the upper-right triangular part of the matrix are given column by column (or equivalently, the entries of the lower-left triangular part are given row by row).", |
| 769 | + "examples": ["{\"type\": \"ScaledPositiveSemidefiniteConeTriangle\", \"side_dimension\": 2}"], |
| 770 | + "required": ["side_dimension"], |
| 771 | + "properties": { |
| 772 | + "type": { |
| 773 | + "const": "ScaledPositiveSemidefiniteConeTriangle" |
| 774 | + }, |
| 775 | + "side_dimension": { |
| 776 | + "type": "integer", |
| 777 | + "minimum": 1 |
| 778 | + } |
| 779 | + } |
767 | 780 | }, { |
768 | 781 | "description": "The cone of symmetric positive semidefinite matrices, with side length `side_dimension`. The entries of the matrix are given column by column (or equivalently, row by row). The matrix is both constrained to be symmetric and to be positive semidefinite. That is, if the functions in entries `(i, j)` and `(j, i)` are different, then a constraint will be added to make sure that the entries are equal.", |
769 | 782 | "examples": ["{\"type\": \"PositiveSemidefiniteConeSquare\", \"side_dimension\": 2}"], |
|
1122 | 1135 | "minimum": 1 |
1123 | 1136 | } |
1124 | 1137 | } |
| 1138 | + }, { |
| 1139 | + "description": "The p-norm cone (t, x) ∈ {R^d : t ≥ (Σᵢ|xᵢ|^p)^(1/p)}.", |
| 1140 | + "examples": ["{\"type\": \"NormCone\", \"dimension\": 3, \"p\": 1.5}"], |
| 1141 | + "required": ["dimension", "p"], |
| 1142 | + "properties": { |
| 1143 | + "type": { |
| 1144 | + "const": "NormCone" |
| 1145 | + }, |
| 1146 | + "dimension": { |
| 1147 | + "type": "integer", |
| 1148 | + "minimum": 1 |
| 1149 | + }, |
| 1150 | + "p": { |
| 1151 | + "type": "number" |
| 1152 | + } |
| 1153 | + } |
1125 | 1154 | }] |
1126 | 1155 | } |
1127 | 1156 | } |
|
0 commit comments