Let's say that we have an objective function $f(\mathbf x,\mathbf y)$ which has the parameters $\mathbf x=[x_1\ldots x_n]$ and $\mathbf y=[y_1\ldots y_n]$. Here, $\mathbf y$ is a blackbox variable which is calculated from a simulation of a network $\mathcal N$ by taking $\mathbf x$ as input.
$f$ is an objective function to be minimized for a given problem. Let's say:
$$ f(\mathbf x,\mathbf y) = \sum\limits_{i=1}^{n}\alpha_ix_i+\beta_ix_iy_i $$
where $\mathbf y= \mathcal N(\mathbf x)$ is a blackbox function whose analytical form is unknown which takes $\mathbf x$ as input
$\mathcal N$ refers to a network being simulated.
$\alpha_i$ and $\beta_i$ are constants, $i=1,\ldots,n$.
The problem has the following constraints:
$$ \sum\limits_{i=1}^{n}x_i=C\\ x_i^\min \leq x_i \leq x_i^\max\\ 0 \leq y_i \leq y_i^\max\\ 0 \leq x_iy_i \leq (x_iy_i)^\max $$ $C,x_i^\min, x_i^\max,y_i^\max,(x_iy_i)^\max$ being some fixed constants, $i=1,\ldots,n$.
A two-variable ($n=2$) example is as follows:
Objective:
$$ \min 2x_1+4x_1y_1+3x_2+5x_2y_2 $$
where
$$ [y_1,y_2]=\mathcal N([x_1,x_2]) $$
and $\alpha_1=2,\alpha_2=3,\beta_1=4,\beta_2=5$ according to the previous definitions.
Constraints:
$$ x_1+x_2 = 10\\ 0\leq x_1\leq 10\\ 5\leq x_2 \leq 10\\ 0\leq y_1\leq 5\\ 0\leq y_2\leq 10\\ 0\leq x_1y_1\leq 50\\ 0\leq x_2y_2\leq 50\\ $$
I have gone through some of the stochastic algorithms such as simulated annealing, hill climbing, evolutionary algorithms like genetic algorithms, and so on. And I'm also aware that my problem containing a blackbox function within itself and subjected to a number of constraints has a high chance of falling into the ugly world of "No Free Lunch Theorem".
Are there any appropriate algorithms or suggestions that can solve such a problem?