is my fitness fuction true?

2 Ansichten (letzte 30 Tage)
dimas bramanthya
dimas bramanthya am 21 Feb. 2014
Kommentiert: dimas bramanthya am 21 Feb. 2014
i want to solving economic dispatch with gravitational search algorithm with this function:
F_index==24
Ca=[200 180 140];
Cb=[7 6.8 6.3];
Cc=[0.008 0.009 0.007];
Pd=150;
i=1:3;
fit=sum(Cc(:,i).*(L(i).^2)+Cb(:,i).*(L(i))+Ca(:,i))+(Pd+sum(Cb(:,i)./(2*Cc(:,i))))*(abs(sum(L(i))-Pd-(0.000218*(L(1)^2)+0.000228*(L(2)^2)+0.000179*(L(3)^2))));
end
is that true function? or i must modified other file to make Pd=L(1)+L(2)+L(3)?
  2 Kommentare
Walter Roberson
Walter Roberson am 21 Feb. 2014
Bearbeitet: Walter Roberson am 21 Feb. 2014
What is the point of using Cb(:,i) with i=1:3 and Cb being a 1 x 3 vector? Why not just code as Cb without any indexing?
What is "L" here?
dimas bramanthya
dimas bramanthya am 21 Feb. 2014
i just add this to the test_function.m in gravitational search algorithm(esmat rashedi) to solving economic dispatch. the result of this code is worse than any literature i have. so where i can add or modified GSA to solve my problem?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by