Community Profile

photo

Chandra Upadhyaya


Last seen: 4 Monate ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How to increase accuracy of optimization using genetic algorithm of the following code? Value obtained by ga = -2360 (approx.) and Actual value is = -2390. Percentage of accuracy by ga = 98.7%
clc clear price=[49.52, 47.94, 46.24, 43.34]'; inFlow=[1070,1070,1070 1070]'; x0 = [inFlow; zeros(size(inFlow))]; stor0 =...

4 Monate ago | 1 answer | 0

1

answer

Question


I am getting this Error using makeState (line 56). Your fitness function must return a scalar value.
% clc % clear price=[49.52, 47.94, 46.24, 43.34]'; inFlow=[1070,1070,1070 1070]'; N = length(inFlow); LB = zeros(2*N,1); ...

5 Monate ago | 2 answers | 0

2

answers

Question


Symbolic math in ga
Why ga toolbox does not use symbolic math?

5 Monate ago | 0 answers | 0

0

answers