fitness function for Genetic Algorithms with two variables
Show older comments
hi there. actually i already get my fitness function which are
function F=badz(x,y) F=114357834500*x + 114357834500*y; end
but unfortunately when i run this it will appear with
----------------------------- Optimization running. Error running optimization. Not enough input arguments.
someone please help me as i need used genetic algorithm for this optimization. can this problem solved with genetic algorithm act the initial of the fitness function is below

but after i calculate with N=7000 i get the fitness function as below
F=114357834500*x + 114357834500*y
where x is the first teta different for bo and y is the second teta for to.
hopefully someone can help me. thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!