Hi Sam, I have tried several times to set the LB,UB, and nvars to match my multi dimensional problem but it doesnt work, would you please " if you have a time" clarify that in steps and what is the maximum number of decision variables that can be solved "effeciently" as Iam developing a stochastic reservoir optimization code and have already written the function but it doesnt yet fit with your pso code
Hi Sam, thanks for the nice job. just wanna ask you how can I modify the pso.m to handle a 24 unknown optimization problem?
I have tested your code through different test functions and different PSO parameters adjustments and it works fine, however, when I try high dimensional problem I always fail in matrix dimension and population range problem.
Could you please help me to cope with this issue?
But when I call the ACO function as u mentioned in line 1 and line 4 with 'ch150.tsp', I still get the same error :
"Error: File: ACO.m Line: 1 Column: 14
Unexpected MATLAB expression."
And the first line show this massage "Invalid syntax at 'ch150.tsp'.Possibly,a ),} or ]is missing".
Thank u very much.