|
79 | 79 | The scalar-valued quadratic function ``\\frac{1}{2}x^TQx + a^T x + b``, where:
|
80 | 80 | * ``a`` is a sparse vector specified in tuple form by `affine_variables, affine_coefficients`
|
81 | 81 | * ``b`` is a scalar specified by `constant`
|
82 |
| -* ``Q`` is a symmetric matrix is specified in triplet form by `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients` |
| 82 | +* ``Q`` is a symmetric matrix specified in triplet form by `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients` |
83 | 83 |
|
84 | 84 | Duplicate indices in ``a`` or ``Q`` are accepted, and the corresponding coefficients are summed together.
|
85 | 85 | "Mirrored" indices `(q,r)` and `(r,q)` (where `r` and `q` are `VariableIndex`es) are considered duplicates; only one need be specified.
|
|
100 | 100 | The vector-valued quadratic function with i`th` component ("output index") defined as ``\\frac{1}{2}x^TQ_ix + a_i^T x + b_i``, where:
|
101 | 101 | * ``a_i`` is a sparse vector specified in tuple form by the subset of `affine_variables, affine_coefficients` for the indices `k` where `affine_outputindex[k] == i`.
|
102 | 102 | * ``b_i`` is a scalar specified by `constant[i]`
|
103 |
| -* ``Q_i`` is a symmetric matrix is specified in triplet form by the subset of `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients` for the indices `k` where `quadratic_outputindex[k] == i` |
| 103 | +* ``Q_i`` is a symmetric matrix specified in triplet form by the subset of `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients` for the indices `k` where `quadratic_outputindex[k] == i` |
104 | 104 |
|
105 | 105 | Duplicate indices in ``a_i`` or ``Q_i`` are accepted, and the corresponding coefficients are summed together.
|
106 | 106 | "Mirrored" indices `(q,r)` and `(r,q)` (where `r` and `q` are `VariableIndex`es) are considered duplicates; only one need be specified.
|
|
0 commit comments