Class UpperBoundConstraints
- java.lang.Object
-
- dev.nm.solver.multivariate.constrained.constraint.linear.LinearConstraints
-
- dev.nm.solver.multivariate.constrained.constraint.linear.LinearLessThanConstraints
-
- dev.nm.solver.multivariate.constrained.constraint.linear.UpperBoundConstraints
-
- All Implemented Interfaces:
Constraints
,LessThanConstraints
public class UpperBoundConstraints extends LinearLessThanConstraints
This is an upper bound constraints such that for all xi's,xi ≤ b
-
-
Constructor Summary
Constructors Constructor Description UpperBoundConstraints(RealScalarFunction f, double lower)
Construct an upper bound constraints for all variables in a function.
-
Method Summary
-
Methods inherited from class dev.nm.solver.multivariate.constrained.constraint.linear.LinearLessThanConstraints
getFeasibleInitialPoint, getFeasibleInitialPoint, toGreaterThanConstraints
-
Methods inherited from class dev.nm.solver.multivariate.constrained.constraint.linear.LinearConstraints
A, b, concat, dimension, getActiveConstraints, getActiveRows, getConstraints, size, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface dev.nm.solver.multivariate.constrained.constraint.Constraints
dimension, getConstraints, size
-
-
-
-
Constructor Detail
-
UpperBoundConstraints
public UpperBoundConstraints(RealScalarFunction f, double lower)
Construct an upper bound constraints for all variables in a function.- Parameters:
f
- a functionlower
- the upper bound
-
-