Class LinearEqualityConstraints
- java.lang.Object
-
- dev.nm.solver.multivariate.constrained.constraint.linear.LinearConstraints
-
- dev.nm.solver.multivariate.constrained.constraint.linear.LinearEqualityConstraints
-
- All Implemented Interfaces:
Constraints
,EqualityConstraints
public class LinearEqualityConstraints extends LinearConstraints implements EqualityConstraints
This is a collection of linear equality constraints.A * x = b
-
-
Constructor Summary
Constructors Constructor Description LinearEqualityConstraints(Matrix A, Vector b)
Construct a collection of linear equality constraints.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LinearEqualityConstraints
getReducedLinearEqualityConstraints()
Deprecated.Not supported yet.boolean
isReducible()
Check if we can reduce the number of linear equalities.-
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
-
-
-
-
Method Detail
-
isReducible
public boolean isReducible()
Check if we can reduce the number of linear equalities. That is, they are linearly dependent.- Returns:
true
if rank[A b] = rank[A], and rank[A] < #equalities- See Also:
- "Section 10.2.2, p. 268- 270. Practical Optimization: Algorithms and Engineering Applications. Andreas Antoniou, Wu-Sheng Lu."
-
getReducedLinearEqualityConstraints
@Deprecated public LinearEqualityConstraints getReducedLinearEqualityConstraints()
Deprecated.Not supported yet.Get the collection of linearly independent linear constraints.- Returns:
- the collection of linearly independent linear constraints
-
-