フィルターのクリア

GA Optimization terminated without converging

2 ビュー (過去 30 日間)
safi58
safi58 2021 年 3 月 15 日
回答済み: Star Strider 2021 年 3 月 15 日
Hi,
I am using GA toolbox for an optimization problem. but it is showing following message even before converging..
"Optimization terminated: average change in the penalty fitness value less than options.FunctionTolerance and constraint violation is less than options.ConstraintTolerance."
I am not getting the results i expect.
Can anyone tell me how I can solve this problem?

回答 (1 件)

Star Strider
Star Strider 2021 年 3 月 15 日
Can anyone tell me how I can solve this problem?
Not definitively.
I assume you are referring to the ga function in the Global Optimization Toolbox, not a function from the File Exchange.
Much depends on the problem and the number of parameters. I usually choose a random matrix with a large (about 100) number of rows for the 'InitialPopulationMatrix', and if I know the relative magnitudes of the particular parameters, use element-wise multiplication by an appropriate vector to scale the columns of the matrix to the appropriate magnitudes. Larger matrices (more rows) are usually better at the outset, however if ga takes too long, I generally re-start it with fewer rows in the matrix. It generally requires a bit of experimentation, however if the problem is reasonably well-posed, and the initial population matrix of reasonable row length, ga usually converges relatively quickly.

カテゴリ

Help Center および File ExchangeNonlinear Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by