Linear Constraint
constructor(equation: Map<String, Double>, rhsValue: Double = 0.0, inequalityType: InequalityType = InequalityType.LESS_THAN)
Parameters
equation
the variable name and the coefficient in the equation. The names of the input variables must not be blank.
rhs Value
the right-hand side value of the constraint. The default is 0.0.
inequality Type
the type of inequality, less-than or greater-than. The default is InequalityType.LESS_THAN