필터 지우기
필터 지우기

why ga can not disperse population in a feasible area ??

조회 수: 2 (최근 30일)
abouzar jafari
abouzar jafari 2018년 8월 20일
댓글: abouzar jafari 2018년 8월 29일
I employed ga to minimize a single objective problem with 56 variables. My constraints include linear equalities and inequalities. There are two linear equalities and 52 inequalities. I try to confine variables by defining linear inequalities. I should mention that variables are dependent, so these linear inequalities are linear but they are related together. I run ga through optimization tool but the minimum value is nearly the same in all iterations of each run. I think the problem is the population generation because in each iteration I can not see even a small change in variable distribution, the variables are always constant. I try to change options for the population part, but I didn't see any improvement. I checked the code and I'm totally sure that the problem should be somewhere in ga options.
  댓글 수: 1
Rik
Rik 2018년 8월 20일
Have a read here (or here for more general advice) and here. It will greatly improve your chances of getting an answer.

댓글을 달려면 로그인하십시오.

채택된 답변

Alan Weiss
Alan Weiss 2018년 8월 21일
The real question is why are you using ga to solve this problem? If your objective function is smooth, use fmincon starting from a variety of initial points; do this automatically using MultiStart. If your objective function is not smooth, use patternsearch as suggested here.
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 1
abouzar jafari
abouzar jafari 2018년 8월 29일
Hi Alan I employed fmincon and I got good results. tnx a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by