Package de.labathome.trustconstr.interfaces
package de.labathome.trustconstr.interfaces
-
InterfacesClassDescriptionEvaluator for the canonical-form constraints of the optimization problem:
constr_eq(x) = 0andconstr_ineq(x) ≤ 0.Termination predicate consulted by the trust-region SQP and interior-point loops once per outer iteration.A matrix-free Hessian: given the current pointxand a vectorp, returnH(x) p.Interface for implementing Hessian update strategies.Combined evaluator returning(f(x), constr(x))in a single call.Combined evaluator returning(gradf(x), gradconstr(x))in a single call.Caller-supplied hook invoked once per outer iteration of the trust-constr orchestrator.Jacobian evaluator paired withConstraint: returns the partial derivatives of the canonical-form equality and inequality constraint vectors with respect tox.Hessian of the LagrangianL(x, v) = f(x) + Sum v_i c_i(x)with respect tox, returned as aLinearOperatorso callers can apply it to vectors without materialising the fulln × nmatrix.Matrix-free linear operator: applies an underlying linear map to a vector without materialising the matrix.Termination predicate consulted by the inner SQP loop.Common surface implemented by every vector-valued function carrier the trust-constr code passes around: the fullVectorFunction(objective wrapper with caching and finite-difference fallbacks),LinearVectorFunction(constant JacobianA), andIdentityVectorFunction(JacobianI).