Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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: LinearConstraintCollection
See Also