Click or drag to resize
Accord.NET (logo)

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

Parameters

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