category
constrained_optimization_solver
Shared numeric, objective-direction, and validation predicates for constrained optimization solvers and their internal problem wrappers.
logtalk_load(constrained_optimization(loader))staticPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
abs_max/2
Infinity norm: max_i abs(Vec_i), 0.0 for an empty vector.
staticabs_max(Vec,Max)abs_max(+list(number),-number) - onepositive_max/2
Infinity norm of the positive part: max_i max(0, Vec_i), 0.0 for an empty vector.
staticpositive_max(Vec,Max)positive_max(+list(number),-number) - onedirection_sign/2
Converts an objective direction into its numeric sign.
staticdirection_sign(Direction,Sign)direction_sign(+atom,-number) - oneobjective_direction/2
Converts an objective numeric sign into its direction.
staticobjective_direction(Sign,Direction)objective_direction(+number,-atom) - onebuild_inner/3
Constructs a parametric inner solver object from its class atom and problem object.
staticbuild_inner(InnerSolver,Problem,Solver)build_inner(+atom,+nonvar,-nonvar) - oneupdate_penalty/6
Scales a penalty when the constraint violation does not decrease by the required factor.
staticupdate_penalty(OldViolation,NewViolation,RequiredDecrease,OldPenalty,Scale,NewPenalty)update_penalty(+number,+number,+number,+number,+number,-number) - oneabs_sum/2
Computes the sum of the absolute values of a numeric list.
staticabs_sum(Values,Sum)abs_sum(+list(number),-number) - onevalidate_numeric_vector/2
Checks that a vector is a list of numbers.
staticvalidate_numeric_vector(Vector,Domain)validate_numeric_vector(+list,+atom) - one_or_errorVector is not a numeric vector:domain_error(Domain,Vector)validate_constraint_data/4
Checks that constraint values are numeric and that the Jacobian has one numeric row per constraint and one column per point component.
staticvalidate_constraint_data(Point,Values,Jacobian,Domain)validate_constraint_data(+list(number),+list,+list,+atom) - one_or_errorValues is not a numeric vector:domain_error(Domain,Values)Jacobian does not have one numeric row per constraint and one column per point component:domain_error(Domain,Jacobian)Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)