|
LinearConstraintCollectionFromMatrix Method
|
Note: This API is now obsolete.
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 [ObsoleteAttribute("This method is obsolete because the convention is inconsistent with GoldfarbIdnani. Use Create(...) instead.")]
public static LinearConstraintCollection FromMatrix(
double[,] a,
double[] b,
int meq
)
<ObsoleteAttribute("This method is obsolete because the convention is inconsistent with GoldfarbIdnani. Use Create(...) instead.")>
Public Shared Function FromMatrix (
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
less than or equal to the constraint values.
Return Value
Type:
LinearConstraintCollectionSee Also