|
NonlinearConstraintCreate Method
|
Creates a nonlinear constraint.
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax protected void Create(
int numberOfVariables,
Func<double[], double> function,
ConstraintType shouldBe,
double value,
Func<double[], double[]> gradient,
double tolerance
)
Protected Sub Create (
numberOfVariables As Integer,
function As Func(Of Double(), Double),
shouldBe As ConstraintType,
value As Double,
gradient As Func(Of Double(), Double()),
tolerance As Double
)
Request Example
View SourceParameters
- numberOfVariables
- Type: SystemInt32
- function
- Type: SystemFuncDouble, Double
- shouldBe
- Type: Accord.Math.OptimizationConstraintType
- value
- Type: SystemDouble
- gradient
- Type: SystemFuncDouble, Double
- tolerance
- Type: SystemDouble
See Also