|
LinearConstraint Constructor (IObjectiveFunction, String)
|
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
)
Public Sub New (
function As IObjectiveFunction,
constraint As String
)
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".
See Also