How can I come to know that the Constraints are satisfied in Pattern Search algorithm?
3 views (last 30 days)
Show older comments
Dhanu Naik
on 20 Feb 2018
Commented: Walter Roberson
on 21 Feb 2018
Hi I am using Patternsearch algorithm to find minimum value of objective function. Pattern Search algorithm terminates when number of generations exceeds. How can I come to know that the Constraints are satisfied?
0 Comments
Accepted Answer
Walter Roberson
on 20 Feb 2018
You can set the options to display information for each iteration. Or you can use the four-output variation and look at the output structure for maxconstraint
4 Comments
Walter Roberson
on 21 Feb 2018
I would be more likely to loop doing patternsearch with a limited number of iterations but different x0 vectors, hoping to find locations where the constraints are satisfied. This is basically the same technique used by multiStart() but unfortunately multiStart does not appear to support patternsearch.
More Answers (0)
See Also
Categories
Find more on Direct Search 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!