|
QuadraticObjectiveFunction Constructor (Double, Double, String)
|
Creates a new objective function specified through a string.
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public QuadraticObjectiveFunction(
double[,] quadraticTerms,
double[] linearTerms,
params string[] variables
)
Public Sub New (
quadraticTerms As Double(,),
linearTerms As Double(),
ParamArray variables As String()
)
Request Example
View SourceParameters
- quadraticTerms
- Type: SystemDouble
A Hessian matrix of quadratic terms defining the quadratic objective function. - linearTerms
- Type: SystemDouble
The vector of linear terms associated with quadraticTerms. - variables
- Type: SystemString
The name for each variable in the problem.
See Also