Click or drag to resize

MvoModelSetConstraints(Matrix, DVector, Int32) Method

Add constraints to the model.

Namespace: Austra.Library.MVO
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntax
C#
public MvoModel SetConstraints(
	Matrix constraintLHS,
	DVector constraintRHS,
	int constraintType
)

Parameters

constraintLHS  Matrix
A matrix of Constraints * Securities size.
constraintRHS  DVector
A vector of Constraints size.
constraintType  Int32
The sign for all constraints.

Return Value

MvoModel
The updated model with a recalculated efficient frontier.
See Also