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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by