Please suggest any general algorithm in which i can suitably change the objective function and constraints , though i have tried few commands like
>> pso('Sin',1,[0,pi/2], 0)
but there is always coming some error in its directory.
WHAT ARE YOU OPTIMISING ACTUALLY FROM YOUR CODE???
I AM NOT GETTING WHAT ACTUALLY u HAVE IMPLEMENTED ...
obj = @(x) x*x';
[xopt, fopt] = pso(obj, 5);
BY THIS TWO LINE WHAT U MEANT KINDLY ELABORATE WHAT IS THE TIME PARAMETER YOU ARE OPTIMISING...
MAIL ME IF U CAN PROVIDE DETAILS....