Optimization a program with 7 free parameters

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
sukharef
Messages
54
Reaction score
0
Hello.
The problem is : I've got an expression to optimize with 7 free parameters. Ranges for each parameter are given. the simpliest way to optimize is to organize a program like for { for {for ...}} for each parameter and to get the result. Are there any other methods for solving the problem ?
Thank you!
 
Physics news on Phys.org
Except for a few simple cases, a systematic search of a 7-dimensional parameter space is impossible in practice.

There are plenty of different methods to try to solve the problem. Assuming you want the global minimum, you can use for instance simulated annealing or evolutionary (genetic) algorithms.
 
  • Like
Likes   Reactions: 1 person
DrClaude said:
Except for a few simple cases, a systematic search of a 7-dimensional parameter space is impossible in practice.

There are plenty of different methods to try to solve the problem. Assuming you want the global minimum, you can use for instance simulated annealing or evolutionary (genetic) algorithms.

could you give me some examples of those algorithms, please?
 
sukharef said:
could you give me some examples of those algorithms, please?
Not without hours of work!

You can check Wikipedia or, much better, find a good book on the subject.