Bounds constraints not followed in genetic algorithm ga
1 回表示 (過去 30 日間)
古いコメントを表示
I have a cost function that is solved using the Hybrid Solver combining ga and fmincon in MATLAB. However, I find that the bounds constraints are not followed in the sense, that the entire range covered by the bound is not utilized during the cost function evaluation.
[x,fval,exitFlag,Output]=ga(@(x) hybrid_cost(x,Tzx,Tzy,st,sr,sp,f0,B,e,N),N*(N+1)/2+2,[],[],[],[],lb,ub,mycon,options);
There are no equality or inequality constraints so these coefficient vectors are placed as null. lb and ub are the lower and upper bounds vectors. After optimization, the resultant optimized vector only gives values in the range [0,0.1], whatever be the bounds applied.
What could be the possible correction?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!