I have a function,
P (x0, x1, ..., xn)
which takes 100 integers as input and gives an integer as output. P is a slow function to evaluate (it can vary from 30 seconds to several minutes).
I need to know which point values will maximize the resulting value from P.
What methods can I use to achieve this? I know that in general, people use genetic algorithms for this, but I'm afraid that it will take a lot of time to calculate them, since even with a small population and several generations (say, population = 50, generations = 50), P to calculate it It will take more than 40 hours.
Is there a cheaper way to do this? Maybe an iterative process? I do not need it to be really optimal, but I have no idea how it behaves (I tried linear / quadratic / exponential, but it does not seem to give any good values. I know that P can return values at least 5-10 times better than what I get).
It should be something that is easier to implement (i.e. I have to implement it myself).
thanks
edit: P is a stochastic process.
optimization language-agnostic math numerical-methods
devoured elysium
source share