Class LinearConstraintSet

java.lang.Object
org.hipparchus.optim.linear.LinearConstraintSet
All Implemented Interfaces:
OptimizationData

public class LinearConstraintSet extends Object implements OptimizationData
Class that represents a set of linear constraints.
  • Constructor Details

    • LinearConstraintSet

      public LinearConstraintSet(LinearConstraint... constraints)
      Creates a set containing the given constraints.
      Parameters:
      constraints - Constraints.
    • LinearConstraintSet

      public LinearConstraintSet(Collection<LinearConstraint> constraints)
      Creates a set containing the given constraints.
      Parameters:
      constraints - Constraints.
  • Method Details

    • getConstraints

      public Collection<LinearConstraint> getConstraints()
      Gets the set of linear constraints.
      Returns:
      the constraints.