at time

20.301027484555902 is not finite. The simulation will be stopped. There may be a singularity in

the solution. If not, try reducing the step size (either by reducing the fixed step size or by

tightening the error tolerances)

Error in fcnvectorizer (line 13)

y(i,:) = feval(fun,(pop(i,:)));

Error in particleswarm>pswcore (line 291)

state.Fvals = fcnvectorizer(state.Positions, objFcn, 1, options.SerialUserFcn);

Error in particleswarm (line 151)

[x,fval,exitFlag,output] = pswcore(objFcn,nvars,lbRow,ubRow,output,options);

Error in initialhos (line 25)

X= particleswarm(@belld,9,lb,ub,options);

Caused by:

Failure in user-supplied fitness function evaluation. GA cannot continue.

More Hossam Hassan's questions See All
Similar questions and discussions