Interface SQPCustomCriterion
- All Superinterfaces:
OptimizationData
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Custom convergence criterion for an SQP optimizer.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanconverged(double alpha, double dxNorm, double dxHdx, double complSlack, double kkt, double viol, double funDiff, double xNorm, double funNorm) Checks whether the SQP iteration has converged.
-
Method Details
-
converged
boolean converged(double alpha, double dxNorm, double dxHdx, double complSlack, double kkt, double viol, double funDiff, double xNorm, double funNorm) Checks whether the SQP iteration has converged.- Parameters:
alpha- accepted step lengthdxNorm- norm of the primal stepdxHdx- quadratic step measurecomplSlack- complementary-slackness residualkkt- KKT residualviol- constraint violationfunDiff- objective-function differencexNorm- variables normfunNorm- objective-function norm- Returns:
trueif convergence has been reached
-