# Can metaheuristics be used to optimize a non-convex function $f(x_1,x_2,y_1,y_2) = \frac{y_1}{x_1} + \frac{y_2}{x_2}$?

I want to use genetic algorithm for minimizing the above function where $x_1,x_2,y_1,y_2 \in \mathbb{R}$. Is it possible to find a local/approximate solutions using metaheuristics such as genetic algorithms? Or what are the methods can we use to optimize non-convex optimization functions provided approximate(not global minimum/maximum) solutions are acceptable?

• What are the restrictions on the variables? – marty cohen Mar 4 '18 at 5:45
• $x_1,x_2,y_1,y_2 \in \mathbb{R}$ – thesukantadey Mar 4 '18 at 6:06