Mesh Adaptive Direct Search: Problems finding global solution

I am using MADS to solve a control design problem. I have already solved the problem using fmincon and got some results.
When I use pattern search, I have tried changing various options but I consistently get close to the same results which are greater than the results I got using fmincon. I was expecting to get results with pattern search which are equal to or less than the function value I got using fmincon since pattern search is supposed to give a global soluton.
I am stuck in my research due to this problem.
Please help.

 採用された回答

Alan Weiss
Alan Weiss 2020 年 12 月 7 日

0 投票

fmincon is the local solver of choice for smooth problems. patternsearch is NOT guaranteed to get a global solution (no solver is). If fmincon and patternsearch are used on the same smooth problem and converge to nearby solutions, fmincon will generally be faster and more accurate.
If you suspect that your problem has multiple local minima, I suggest that you use MultiStart with fmincon as the local solver. The Global Optimization Toolbox documentation has plenty of examples. But for nonconvex problems there are no guarantees.
If your problem is not smooth, then patternsearch is often effective. But it is NOT a global solver.
Alan Weiss
MATLAB mathematical toolbox documentation

2 件のコメント

Sushrut Dandawate
Sushrut Dandawate 2020 年 12 月 10 日
I had one more question. I am using interp1 to interpolate 52 points into 20 points at a fixed step. I get all the values correct but the first and last value is off. Could you throw some light on this.
I am using this syntax:
interp1(u(:,1),u(:,2),t,'pchip)'
Alan Weiss
Alan Weiss 2020 年 12 月 10 日
Sorry, that is not enough detail for me to understand what you are seeing. I suggest that you start a new question with some details.
Alan Weiss
MATLAB mathematical toolbox documentation

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by