Lets say we have $4$ variables: $$ x_1, x_2, x_3, x_4 $$ with coefficients: $a,b,c,d$ respectively, and output $y$
With different combinations of $a,b,c,d$, we have a blackbox/unknown function, that returns the numeric output $(y)$.
Constraints here are:
$a + b + c + d = 1 $ and $ a,b,c,d \geq 0$
How can we find the coefficients $(a,b,c,d) $ for maximum $ y?$ Or, to get started, what assumptions could we start with.