Google's results on this seem to require more advanced maths than I'm familiar with (and I might not be smarter than a fifth grader, but I don't intend to find out).
I'm looking for a general way to solve multivariate optimization problems, preferably in c#, without having to dig into matrices and eigenvectors and normal distributions.
Say I have numeric variables x, y, z, and w, and function f such that w = f(x, y, z)
. I want to maximize w, and...
f
is unknown- Codependency between
x
,y
and/orz
, if any, is unknown - In some cases I only have post-hoc data sets
- In other cases I can vary
x
,y
andz
and resamplew
on-demand - In the a-priori cases, the ideal algorithm maximizes
w
with the fewest trial permutations ofx
,y
, andz
, and chooses the next value for each after every round of sampling
I have rough minimum and maximum bounds for the independent variables. I of course don't want to sample any more of the permutation space than necessary. I'd like the algorithm to have at least a crude ability to detect the most glaring co-dependencies, e.g., diminishing returns when x
> 2y
, or actual deterioration in w
when the sum of x
, y
, and z
exceeds some ceiling, etc.
Most of the math libraries I've looked at assume I know how to perform quantum nergenflip projections over the Boigenfoodle Continuum, and I'm just not there. How would a non-mathematician coder accomplish this?