How to write an objective function(with complex term) to get optimization through PSO with five parameters ?
古いコメントを表示
I would like to find optimize value of parameters in below equation,
Here
are parameters needs to be optimize by PSO.
I have an experimental values of W and ε as follow,
and
I am able to get the solution of
through lsqurvefit but It doesn't give the optimal values.
Here I wants to use all experimental values to find optimimum. How it can be incorporated in objective function?
3 件のコメント
Alan Weiss
2020 年 6 月 21 日
When you say "complex," do you mean that the values of your parameters can have imaginary parts? And what makes you think that PSO is a good way to optimize this system? Probably, since you use lsqcurvefit, you are looking for a least-squares solution rather than an exact solution. It is possible that lsqcurvefit got stuck in a local miniimum. For ways around this problem, see MultiStart Using lsqcurvefit or lsqnonlin.
I would also suggest that you set bounds on the parameters if possible, such as nonnegativity if you believe that is applicable. Bounds can help the solver find a good solution. I encourage you to continue using lsqcurvefit, possibly with MultiStart, rather than PSO.
Alan Weiss
MATLAB mathematical toolbox documentation
Walter Roberson
2020 年 6 月 21 日
I suspect "complex" means "complicated" in this context.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Choose a Solver についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!