What software for optimization surface of 4 parameters?

Tosh5457
Messages
130
Reaction score
28
Hello,

I have data for optimization that contains different values of 4 different parameters, and the respective function value based on them. I want to find the maximum of this function, while making sure it's a "stable" maximum, i.e., for nearby parameters, the value of the function shouldn't change that much. My only question is what tool to use for this, since I have 60k values in total? I have experience in Matlab, can that be done in a reasonable amount of time there? I also have some basic knowledge of R, and can learn fast anyway, is this more suitable to do in R?

Thanks!
 
Physics news on Phys.org
Tosh5457 said:
Hello,

I have data for optimization that contains different values of 4 different parameters, and the respective function value based on them. I want to find the maximum of this function, while making sure it's a "stable" maximum, i.e., for nearby parameters, the value of the function shouldn't change that much. My only question is what tool to use for this, since I have 60k values in total? I have experience in Matlab, can that be done in a reasonable amount of time there? I also have some basic knowledge of R, and can learn fast anyway, is this more suitable to do in R?

Thanks!

I would definitely go with R, even (or I should say especially) with 60,000 values. Also, but depending on the context, I think the Nelder-Mead optimization method would be an interesting approach to try.

I've used the neldermead package before and it served me well.

More information here : https://cran.r-project.org/web/packages/neldermead/neldermead.pdf
 
h6ss said:
I would definitely go with R, even (or I should say especially) with 60,000 values. Also, but depending on the context, I think the Nelder-Mead optimization method would be an interesting approach to try.

I've used the neldermead package before and it served me well.

More information here : https://cran.r-project.org/web/packages/neldermead/neldermead.pdf


Thank you, will definitely look into that method in R.
 
Ok, Nelder-mead won't work, because I don't have the function explicitly...
 
Tosh5457 said:
Ok, Nelder-mead won't work, because I don't have the function explicitly...
The explicit form of the function is not necessary. The Nelder-Mead algorithm only requires function values.

The algorithm is often called the "simplex" method, maybe you can find more information about it under that label. Also, many books cover the subject, e.g. Richard Brent's book Algorithms for Minimization Without Derivatives.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Back
Top