|
LinearConstraint Constructor (IObjectiveFunction, String, CultureInfo)
|
Constructs a new linear constraint.
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public LinearConstraint(
IObjectiveFunction function,
string constraint,
CultureInfo format
)
Public Sub New (
function As IObjectiveFunction,
constraint As String,
format As CultureInfo
)
Request Example
View SourceParameters
- function
- Type: Accord.Math.OptimizationIObjectiveFunction
The objective function to which
this constraint refers to. - constraint
- Type: SystemString
A String
specifying this constraint, such as "ax + b = c". - format
- Type: System.GlobalizationCultureInfo
The culture information specifying how
numbers written in the constraint should
be parsed. Default is CultureInfo.InvariantCulture.
See Also