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
**We highly recommend you read that paper before reading further.**
26
+
27
+
## Implementations
28
+
29
+
- Julia
30
+
31
+
- The [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl) package
32
+
supports reading and writing MathOptFormat files.
7
33
8
34
## Standard form
9
35
@@ -146,20 +172,6 @@ required keys at the top level:
146
172
with a lower bound of `1`. See [List of supported sets](#list-of-supported-sets)
147
173
for other sets supported by MathOptFormat.
148
174
149
-
### Other examples
150
-
151
-
A number of examples of optimization problems encoded using MathOptFormat are
152
-
provided in the [`/examples` directory](https://github.com/odow/MathOptFormat/tree/master/examples).
153
-
154
-
## The schema
155
-
156
-
A [JSON schema](http://json-schema.org/) for the `.mof.json` file-format is
157
-
provided in the file [`mof.schema.json`](https://github.com/odow/MathOptFormat/blob/master/mof.schema.json).
158
-
159
-
It is intended for the schema to be self-documenting. Instead of modifying or
160
-
adding to this documentation, clarifying edits should be made to the
161
-
`description` field of the relevant part of the schema.
162
-
163
175
### List of supported functions
164
176
165
177
The list of functions supported by MathOptFormat are contained in the
@@ -178,7 +190,6 @@ Here is a summary of the functions defined by MathOptFormat.
178
190
|`"ScalarQuadraticFunction"`| The function `0.5x'Qx + a'x + b`, where `a` is a sparse vector of `ScalarAffineTerm`s in `affine_terms`, `b` is the scalar `constant`, and `Q` is a symmetric matrix specified by a list of `ScalarQuadraticTerm`s in `quadratic_terms`. Duplicate indices in `affine_terms` and `quadratic` are accepted, and the corresponding coefficients are summed together. Mirrored indices in `quadratic_terms` (i.e., `(i,j)` and `(j, i)`) are considered duplicates; only one need to be specified. | {"head": "ScalarQuadraticFunction", "constant": 1.0, "affine_terms": [{"coefficient": 2.5, "variable": "x"}], "quadratic_terms": [{"coefficient": 2.0, "variable_1": "x", "variable_2": "y"}]} |
179
191
|`"ScalarNonlinearFunction"`| An expression graph representing a scalar nonlinear function. ||
180
192
181
-
182
193
For more information on `"ScalarNonlinearFunction"` functions, see
183
194
[Nonlinear functions](nonlinear-functions).
184
195
@@ -397,10 +408,3 @@ In MathOptFormat, this expression graph can be encoded as follows:
397
408
]
398
409
}
399
410
```
400
-
401
-
## Implementations
402
-
403
-
- Julia
404
-
405
-
- The [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl) package
0 commit comments