Package org.hipparchus.optim.linear
Class LinearConstraintSet
java.lang.Object
org.hipparchus.optim.linear.LinearConstraintSet
- All Implemented Interfaces:
OptimizationData
Class that represents a set of
linear constraints
.-
Constructor Summary
ConstructorDescriptionLinearConstraintSet
(Collection<LinearConstraint> constraints) Creates a set containing the given constraints.LinearConstraintSet
(LinearConstraint... constraints) Creates a set containing the given constraints. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of linear constraints.
-
Constructor Details
-
LinearConstraintSet
Creates a set containing the given constraints.- Parameters:
constraints
- Constraints.
-
LinearConstraintSet
Creates a set containing the given constraints.- Parameters:
constraints
- Constraints.
-
-
Method Details
-
getConstraints
Gets the set of linear constraints.- Returns:
- the constraints.
-