Click or drag to resize
Accord.NET (logo)

FanChenLinQuadraticOptimization Constructor (Int32, FuncInt32, Int32, Int32, Double, Double, Double, Int32)

Initializes a new instance of the FanChenLinQuadraticOptimization class.

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

Parameters

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