|
1 | 1 | { |
2 | 2 | "$schema": "https://json-schema.org/schema#", |
3 | | - "$id": "https://jump.dev/MathOptFormat/schemas/mof.1.4.schema.json", |
| 3 | + "$id": "https://jump.dev/MathOptFormat/schemas/mof.1.5.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, 4] |
| 14 | + "enum": [0, 1, 2, 3, 4, 5] |
15 | 15 | }, |
16 | 16 | "major": { |
17 | 17 | "const": 1 |
|
765 | 765 | } |
766 | 766 | } |
767 | 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}"], |
| 768 | + "description": "DEPRECATED: use the Scaled set combinned with PositiveSemidefiniteConeTriangle instead.", |
770 | 769 | "required": ["side_dimension"], |
771 | 770 | "properties": { |
772 | 771 | "type": { |
|
1151 | 1150 | "type": "number" |
1152 | 1151 | } |
1153 | 1152 | } |
| 1153 | + }, { |
| 1154 | + "description": "The set in the `set` field, scaled such that the inner product of two elements in the set is the same as the dot product of the two vector functions. This is most useful for solvers which require PSD matrices in _scaled_ form.", |
| 1155 | + "examples": ["{\"type\": \"Scaled\", \"set\": {\"type\": \"PositiveSemidefiniteConeTriangle\", \"side_dimension\": 2}}"], |
| 1156 | + "required": ["set"], |
| 1157 | + "properties": { |
| 1158 | + "type": { |
| 1159 | + "const": "Scaled" |
| 1160 | + }, |
| 1161 | + "set": { |
| 1162 | + "$ref": "#/definitions/vector_sets" |
| 1163 | + } |
| 1164 | + } |
1154 | 1165 | }] |
1155 | 1166 | } |
1156 | 1167 | } |
|
0 commit comments