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에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!