public class LinearLessThanConstraints extends LinearConstraints implements LessThanConstraints
A * x ≤ b
| Constructor and Description |
|---|
LinearLessThanConstraints(Matrix A,
Vector b)
Construct a collection of linear less-than or equal-to constraints.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
getFeasibleInitialPoint()
Given a collection of linear less-than-or-equal-to constraints,
find a feasible initial point that satisfy the constraints.
|
Vector |
getFeasibleInitialPoint(LinearEqualityConstraints equal)
Given a collection of linear less-than-or-equal-to constraints as well as a collection of equality constraints,
find a feasible initial point that satisfy the constraints.
|
LinearGreaterThanConstraints |
toGreaterThanConstraints()
Convert the less-than or equal-to constraints to greater-than or equal-to constraints.
|
A, b, concat, dimension, getActiveConstraints, getActiveRows, getConstraints, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdimension, getConstraints, sizepublic LinearGreaterThanConstraints toGreaterThanConstraints()
LessThanConstraintstoGreaterThanConstraints in interface LessThanConstraintspublic Vector getFeasibleInitialPoint(LinearEqualityConstraints equal)
equal - a collection of linear equality constraintspublic Vector getFeasibleInitialPoint()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.