Class ADMMQPModifiedRuizEquilibrium
java.lang.Object
org.hipparchus.optim.nonlinear.vector.constrained.ADMMQPModifiedRuizEquilibrium
TBD.
- Since:
- 3.1
-
Constructor Summary
ConstructorDescriptionSimple constructor -
Method Summary
Modifier and TypeMethodDescriptionGet scaled constraints coefficients matrix.Get scaled square matrix of weights for quadratic terms.getScaledLUb
(RealVector lb1) Get scaled upper boundGet scaled vector of weights for linear terms.void
normalize
(double epsilon, int maxIteration) Normalize matrices.Unscale solution vector.Unscale Y vector.Unscale Z vector.
-
Constructor Details
-
ADMMQPModifiedRuizEquilibrium
Simple constructor- Parameters:
H
- square matrix of weights for quadratic termsA
- constraints coefficients matrixq
- vector of weights for linear terms
-
-
Method Details
-
normalize
public void normalize(double epsilon, int maxIteration) Normalize matrices.- Parameters:
epsilon
- TBDmaxIteration
- TBD
-
getScaledH
Get scaled square matrix of weights for quadratic terms.- Returns:
- scaled square matrix of weights for quadratic terms
-
getScaledA
Get scaled constraints coefficients matrix.- Returns:
- scaled constraints coefficients matrix
-
getScaledQ
Get scaled vector of weights for linear terms.- Returns:
- scaled vector of weights for linear terms
-
getScaledLUb
Get scaled upper bound- Parameters:
lb1
- unscaled lower bound- Returns:
- scaled lower bound
-
unscaleX
Unscale solution vector.- Parameters:
x
- scaled solution vector- Returns:
- unscaled solution vector
-
unscaleY
Unscale Y vector.- Parameters:
y
- scaled Y vector- Returns:
- unscaled Y vector
-
unscaleZ
Unscale Z vector.- Parameters:
z
- scaled Z vector- Returns:
- unscaled Z vector
-