Interface Constraints
-
- All Known Subinterfaces:
EqualityConstraints
,GreaterThanConstraints
,LessThanConstraints
- All Known Implementing Classes:
GeneralConstraints
,GeneralEqualityConstraints
,GeneralGreaterThanConstraints
,GeneralLessThanConstraints
,LinearConstraints
,LinearEqualityConstraints
,LinearGreaterThanConstraints
,LinearLessThanConstraints
,LowerBoundConstraints
,NonNegativityConstraints
,SDPDualProblem.EqualityConstraints
,SOCPDualProblem.EqualityConstraints
,SOCPDualProblem1.EqualityConstraints
,UpperBoundConstraints
public interface Constraints
A set of constraints for a (real-valued) optimization problem is a set of functions. They can be ≥, =, ≤ 0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
dimension()
Get the number of variables.List<RealScalarFunction>
getConstraints()
Get the list of constraint functions.int
size()
Get the number of constraints.
-
-
-
Method Detail
-
getConstraints
List<RealScalarFunction> getConstraints()
Get the list of constraint functions.- Returns:
- the list of constraint functions
-
dimension
int dimension()
Get the number of variables.- Returns:
- the number of variables
-
size
int size()
Get the number of constraints.- Returns:
- the number of constraints
-
-