Skip to content

Commit 1cb42c2

Browse files
authored
Add support for VectorNonlinearFunction (#33)
1 parent b43eab6 commit 1cb42c2

File tree

3 files changed

+1211
-2
lines changed

3 files changed

+1211
-2
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ For more information on `"ScalarNonlinearFunction"` functions, see
197197
| `"VectorOfVariables"` | An ordered list of variables. | {"type": "VectorOfVariables", "variables": ["x", "y"]} |
198198
| `"VectorAffineFunction"` | The function `Ax + b`, where `A` is a sparse matrix specified by a list of `VectorAffineTerm`s in `terms` and `b` is a dense vector specified by `constants`. | {"type": "VectorAffineFunction", "constants": [1.0], "terms": [{"output_index": 1, "scalar_term": {"coefficient": 2.5, "variable": "x"}}]} |
199199
| `"VectorQuadraticFunction"` | The vector-valued quadratic function `q(x) + Ax + b`, where `q(x)` is specified by a list of `VectorQuadraticTerm`s in `quadratic_terms`, `A` is a sparse matrix specified by a list of `VectorAffineTerm`s in `affine_terms` and `b` is a dense vector specified by `constants`. | |
200+
| `"VectorNonlinearFunction"` | The vector-valued nonlinear function `f(x)`, comprised of a vector of `ScalarNonlinearFunction`. | |
200201

201202
### List of supported sets
202203

0 commit comments

Comments
 (0)