Convergence Conditions
The solution is reached when:
The Euclidean norm of the constraint vector
||C (x)||, is used to define the cost for the constraints, and.
The norm of the descent direction ||P||, for the cost from the objective function.
The descent direction P minimum.
All the equality constraints are satisfied,
All the inequalities inactive, and.