public class GeneralLessThanConstraints extends GeneralConstraints implements LessThanConstraints
Constructor and Description |
---|
GeneralLessThanConstraints(Collection<RealScalarFunction> constraints)
Construct an instance of less-than or equal-to inequality constraints from a collection of real-valued functions.
|
GeneralLessThanConstraints(RealScalarFunction... constraints)
Construct an instance of less-than or equal-to inequality constraints from an array of real-valued functions.
|
Modifier and Type | Method and Description |
---|---|
GeneralGreaterThanConstraints |
toGreaterThanConstraints()
Convert the less-than or equal-to constraints to greater-than or equal-to constraints.
|
dimension, getConstraints, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dimension, getConstraints, size
public GeneralLessThanConstraints(Collection<RealScalarFunction> constraints)
constraints
- the less-than or equal-to inequality constraintspublic GeneralLessThanConstraints(RealScalarFunction... constraints)
constraints
- the less-than or equal-to inequality constraintspublic GeneralGreaterThanConstraints toGreaterThanConstraints()
LessThanConstraints
toGreaterThanConstraints
in interface LessThanConstraints
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.