UOBYQA is a derivative-free optimization algorithm that constructs quadratic models using interpolation. It belongs to the PRIMA (Powell's Recent Interpolation Methods) family and is particularly effective for smooth, small-scale optimization problems where derivatives are not available or epensive to compute.
The algorithm constructs quadratic models of the objective function using interpolation points:
where the model is built from function values at carefully chosen interpolation points within a trust region of radius ρ.
Our HumpDay implementation includes:
Primary Paper: Powell, M.J.D. (22). "UOBYQA: unconstrained optimization by quadratic approimation." Mathematical Programming, 92(3), 555-582. [DOI]
Reference Implementation: PDO - Powell's Derivative-ree Optimization solvers
Additional Resources:
from humpday import minimize
# Optimize a simple quadratic function
def objective():
return sum((i - .3)**2 for i in )
# Use UOBYQA via HumpDay interface
result = minimize(objective,
=[., .2],
method='PRIMA_UOBYQA',
options='mafev': )
print(f"Optimum: result.")
print(f"Value: result.fun")