ConstrainedQuadraticOptimiser
[this page | pdf | references | back links]
Function Description
Returns a vector
that minimises
a given penalty function
subject to
lower bound constraints of the form
and
further
(linear) constraints of the form
.
Constraints are coded -1 for
,
0 for
and +1 for
.
For example, if
,
and
the additional linear constraints are
and
then:



NAVIGATION LINKS
Contents | Prev | Next
Output type / Parameter details
Output type: Double()
Parameter Name | Variable Type | Description |
LinearTerms | Double() | Vector containing the linear terms in the loss function (n terms) |
QuadraticTerms | Double() | Array containing the quadratic terms in the loss function (n x n terms) |
LowerBounds | Double() | Vector containing the lower bounds on the variables (n terms) |
ConstraintMatrix | Double() | Array containing the constraint coefficients applicable to the problem (m x n terms) |
ConstraintLimits | Double() | Vector containing the constraint limits applicable to the problem (m terms) |
ConstraintTypes | Integer() | Vector containing constraint types (-ve is a less than constraint, 0 is an equals constraint and +ve is a greater than) (m terms) |
Links to:
-
Interactively run function
-
Interactive instructions
-
Example calculation
-
Output type / Parameter details
-
Illustrative spreadsheet
-
Other Portfolio optimisation functions
-
Computation units used
Note: If you use any Nematrian web service either programmatically or interactively then you will be deemed to have agreed to the Nematrian website License Agreement