|
LinearConstraintCollectionCreate Method
|
Creates a
LinearConstraintCollection from a matrix
specifying the constraint variables and a vector specifying their
expected value.
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static LinearConstraintCollection Create(
double[,] a,
double[] b,
int meq
)
Public Shared Function Create (
a As Double(,),
b As Double(),
meq As Integer
) As LinearConstraintCollection
Request Example
View SourceParameters
- a
- Type: SystemDouble
The constraint matrix. - b
- Type: SystemDouble
The constraint values. - meq
- Type: SystemInt32
The number of equalities at the start of the
matrix a. Contraints thereafter are taken to be
greater than or equal to the constraint values.
Return Value
Type:
LinearConstraintCollectionSee Also