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!