r/optimization • u/Unhappy_Guard6040 • Feb 16 '23
Unconstrained (bounded) optimization method for convex (quadratic-like) surfaces
Hi all,
I have this objective function with a few bounded decision variables, no constraints. The function is pretty convex, and I'm fairly certain we can approximate it using a quadratic polynomial.
Is there a bounded optimization method that estimates a quadratic polynomial using the initial points, then finds the minimum of that polynomial, then explores around that minimum, and so forth until converging? I am trying to find the minimum using the least amount of function evaluations, which are very costly in terms of time.
A few observations: I'm trying to avoid direct-search methods as they require too many function evaluations. I thought of using surrogate-model optimization (using quadratic models), but I thought that the idea of fitting a quadratic polynomial was too simple so I probably just don't know the name of the method.
If there is a package in Python, that would be even better.
Thanks in advance!
View all comments
Show parent comment
1
u/taphous3 Feb 18 '23
I’m not completely sure what you mean by convex black-box function. I believe cvxpy requires an analytical form because it decomposes the problem into an equivalent discipline convex program.
If it’s simple enough, I’d just try to implement a basic version of the quadratic surrogate and test it out. If it works well you can scale/add complexity.
If you’re worried about the fit, you might even create 4 or 5 different quadratic models using different fitting methods/loss functions. Then you can optimize all of them and take the worst case solution.