Clear Filters
Clear Filters

How can I come to know that the Constraints are satisfied in Pattern Search algorithm?

1 view (last 30 days)
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?

Accepted Answer

Walter Roberson
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
Dhanu Naik
Dhanu Naik on 21 Feb 2018
Do I need to vary other parameters of Patternsearch algorithm untill maxconstraints approaches Zero?
Walter Roberson
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!