|
LinearConstraint Constructor (IObjectiveFunction, ExpressionFuncBoolean)
|
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,
Expression<Func<bool>> constraint
)
Public Sub New (
function As IObjectiveFunction,
constraint As Expression(Of Func(Of Boolean))
)
Request Example
View SourceParameters
- function
- Type: Accord.Math.OptimizationIObjectiveFunction
The objective function to which this
constraint refers to. - constraint
- Type: System.Linq.ExpressionsExpressionFuncBoolean
A ExpressionTDelegate specifying
this constraint in the form of a lambda expression.
See Also