|
FanChenLinQuadraticOptimization Constructor (Int32, FuncInt32, Int32, Int32, Double, Double, Double, Int32)
|
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public FanChenLinQuadraticOptimization(
int numberOfVariables,
Func<int, int[], int, double[], double[]> Q,
double[] p,
int[] y
)
Public Sub New (
numberOfVariables As Integer,
Q As Func(Of Integer, Integer(), Integer, Double(), Double()),
p As Double(),
y As Integer()
)
Request Example
View SourceParameters
- numberOfVariables
- Type: SystemInt32
The number of free parameters in the optimization problem. - Q
- Type: SystemFuncInt32, Int32, Int32, Double, Double
The quadratic matrix Q. It should be specified as a lambda
function so Q doesn't need to be always kept in memory. - p
- Type: SystemDouble
The vector of linear terms p. Default is a zero vector. - y
- Type: SystemInt32
The class labels y. Default is a unit vector.
See Also