exhaustive search matlab with 4 variables
Show older comments
Hello, i used genetic algorithm to find the minimum of a 4 variable(x1,x2,x3,x4) objective function(output result1). Now, to evaluate the results i need to run an exhaustive search in the following manner:I will keep x1,x2 constant and x3 x4 will take n values between their uppper and lower bounds with a fixed step.I will need to store the results to different vectors to see the combination of x1,x2,x3,x4 that minimizes result1(the output of the objective function). X1,x2,x3,x4 have also linear and non linear contraints which are implemented in the genetic algorithm Any ideas are welcome.
Accepted Answer
More Answers (0)
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!