functional Constraint
fun functionalConstraint(lhsFunc: ConstraintFunctionIfc, rhsValue: Double = 0.0, inequalityType: InequalityType = InequalityType.LESS_THAN): FunctionalConstraint(source)
Creates an FunctionalConstraint based on the supplied function.
Return
the constructed functional constraint
Parameters
lhs Func
the function representing the left-hand side of the constraint
rhs Value
the right-hand side of the constraint
inequality Type
the inequality type (less_than or greater_than). The default is less than