Skip to content

Commit

Permalink
Add support for VectorNonlinearFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 27, 2023
1 parent b43eab6 commit 9dacf81
Show file tree
Hide file tree
Showing 3 changed files with 1,211 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ For more information on `"ScalarNonlinearFunction"` functions, see
| `"VectorOfVariables"` | An ordered list of variables. | {"type": "VectorOfVariables", "variables": ["x", "y"]} |
| `"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"}}]} |
| `"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`. | |
| `"VectorNonlinearFunction"` | The vector-valued nonlinear function `f(x)`, comprised of a vector of `ScalarNonlinearFunction`. | |

### List of supported sets

Expand Down
Loading

0 comments on commit 9dacf81

Please sign in to comment.