I am trying to solve a problem where a number of parameters (let's say 5, can be n) result in a float through a convoluted function that I cannot retro-engineer
f(a,b,c,d,e) = result
I can run the function ad libitum with anything as a,b,c,d and e, and the code will give a result. Running the function twice with the same parameters will give the same result. The parameters can be float, booleans or string. Also, running the function takes about 30 minutes.
I am now trying to determine a,b,c,d and e in such a way that the result is the maximum possible value.
I am currently simulations non-stop where a,b,c,d and e differ slightly from the last found maximum. Little by little, all the variable "crawl" towards the maximum.
This works reasonably well but I was wondering whether I could use a smart Python package to achieve that?