Rank: 785 based on 173 downloads (last 30 days) and 1 file submitted
photo

Song Lin

E-mail
Company/University
NWPU

Personal Profile:

 

Watch this Author's files

 

Files Posted by Song Lin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Jul 2011 Screenshot NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin nsgaii, genetic algorithm, multiobjective, optimization, reference point, toolbox 173 58
  • 4.5
4.5 | 13 ratings
Comments and Ratings by Song Lin View all
Updated File Comments Rating
23 Dec 2011 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin

Hello, Iman. If x(1)=1, the x(3), x(4), x(6), x(7) values do not affect the objective values. These design variables can be ignored when you process the optimzation results. The optimization progress is not affected except for the efficiency. You may need more optimzation generations to get a good result.

21 Dec 2011 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin

I forgot to save the constraint variables to the individual structure in the function 'evalIndividual' in file 'evaluate.m'.

Modify the code as below:

...
indi.obj = y;
indi.cons = cons; // Add this line
if( ~isempty(indi.cons) )
idx = find( cons );
...

25 Nov 2011 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin

Hi Iman,
You can check the result file(the default file name is "populations.txt"), or you can use command "vertcat(result.pops(end,:).var)" to combine all of the design variables together.

18 Jul 2011 Neighborlist building routine for molecular dynamics This routine returns interaction pairs for a given set of atoms in 3D space. Author: Wenzhe Shan

15 Jul 2011 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin

The original code could not get the correct Pareto-front because the crossover and mutation strategies I used do not fit for the ZDT problem. In original code, all variables of an individual would mutate if it was selected to be mutated. In the version 1.3 code, I change the strategies to mutate several variables instead, and the correct solution could be get now.

Comments and Ratings on Song Lin's Files View all
Updated File Comment by Comments Rating
11 Sep 2014 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Hsinting

I tried. Maximize one of the objective by adding a minus sign onto the objective function. Also need to change the plot instruction. Is there any better way to deal with it?

09 Sep 2014 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Melissa

Has anyone tried the maximize?

03 Sep 2014 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Hsinting

Sorry, I found my mistake already. The summation is operated in the following lines of the program.

03 Sep 2014 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Hsinting

Thank you very much for your sharing.
Cinna think
In function f = non_domination_sort_mod(x, M, V) line 182
y(index_of_objectives(j),M + V + 1 + i) = ...
+ (next_obj - previous_obj)/(f_max - f_min);
Should be
y(index_of_objectives(j),M + V + 1 + i) = ...
y(index_of_objectives(j),M + V + 1 + i) ...
+ (next_obj - previous_obj)/(f_max - f_min);
Please correct me if I am wrong.
Thank you

08 Jul 2014 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Mahesh

Thanks for the great work!!!

You have explained about constraints (Your manual Page 1)
g1(x)=x2+9x1>=6

But if constraints are like say,
g1(x)=x2+9x1<=6
Then how to modify the code in objective function (Page 3)

Thanks and regards,
Mahesh.

Contact us