mesh size change in patternsearch

4 次查看(过去 30 天)
hamid mehdizadeh
hamid mehdizadeh 2011-4-25
I have a problem in using patternsearch. I want to search with big meshsize in initial steps, but the functions passes them without any function evaluation. Below you can see the results of running of the program:
Iter f-count f(x) MeshSize Method
0 1 890000 1000
1 1 890000 500 Refine Mesh
2 1 890000 250 Refine Mesh
3 1 890000 125 Refine Mesh
4 1 890000 62.5 Refine Mesh
5 1 890000 31.25 Refine Mesh
6 1 890000 15.62 Refine Mesh
7 1 890000 7.812 Refine Mesh
8 1 890000 3.906 Refine Mesh
9 1 890000 1.953 Refine Mesh
10 1 890000 0.9766 Refine Mesh
11 2 890000 0.4883 Refine Mesh
12 27 890000 0.2441 Refine Mesh
13 53 890000 0.1221 Refine Mesh
14 79 890000 0.06104 Refine Mesh
15 105 890000 0.03052 Refine Mesh
You can see that in the first 10 iteration no function evaluation happened. Do you have any idea?

回答(2 个)

Rakesh Kumar
Rakesh Kumar 2011-5-31
The trial points are probably infeasible with that big mesh size; hence no function evaluation.

Laura Proctor
Laura Proctor 2011-5-31
You can customize many of the options in patternsearch using psoptimset.

类别

Help CenterFile Exchange 中查找有关 Direct Search 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by