Code in genetic algorithm for non linear simultaneous equations
I need to solve three nonlinear simultaneous equations
y1 = exp(-(r1 +r2)*t)
y2 = (r1/((r3+r4)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r3+r4]*t)]
y3 = (r1/((r5+r6)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r5+r6]*t)]
where y1
, y2
, y3
and t
is kn开发者_JS百科own and i
aim to find r1
, r2
... r6
.
I need to do this using genetic algorithm. Can someone provide me teh codz.
genetic algorithm can't solve such problems completely genetic algorithm can give you a range for y1, y2, y3 for more information see this paper http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.80.2373&rep=rep1&type=pdf
精彩评论