Rank: 650 based on 121 downloads (last 30 days) and 1 file submitted
photo

Song Lin

E-mail
Company/University
NWPU

Personal Profile:
Professional Interests:
Finite element method, multi-objective optimization

 

Watch this Author's files

 

Files Posted by Song
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 multiobjective, genetic algorithm, nsgaii, optimization, reference point 121 38
  • 4.4
4.4 | 8 ratings
Comments and Ratings by Song 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's Files View all
Updated File Comment by Comments Rating
09 Apr 2013 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Remsus

Hi, thanks for the code i like it a lot. I had to take a deeper look at the code, because in the populations.txt file the constraints are always zero. even for the TP_CONSTR example when the c in the function evaluation is not zero.

i think there should be another line on the bottom in the evaluation.m file.

% Save the objective values and constraint violations
indi.obj = y;
if( ~isempty(indi.cons) )
idx = find( cons );
if( ~isempty(idx) )
indi.nViol = length(idx);
indi.violSum = sum( abs(cons) );
indi.cons =cons; %added line!
else
indi.nViol = 0;
indi.violSum = 0;
end
end

Could you or some body else please also check if that is right? and that i am not messing up something else by doing this?
Cheers

06 Apr 2013 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Liu, Li

11 Mar 2013 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Iman

Dear all,
anyone has used this optimization in power system?

20 Nov 2012 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin imfactory

it can work if change "1-sum(x)=0" into " 1-sum(x)>0 and sum(x)-1>0 " , and it can't get your result if just express one of the variables as one minus the sum of the rest. I have varified the two above methods. in addition, I have tried to turn the constraints to one of the objection, such as y=1/(abs(1-sum(x))+eps), also failed.

20 Nov 2012 NGPM -- A NSGA-II Program in Matlab v1.4 NSGA-II and R-NSGA-II in Matlab Author: Song Lin Ivan

imfactory, would you mind sharing how did you achieve it? I guess it is not just by expressing one of the variables as one minus the sum of the rest?

Top Tags Applied by Song
genetic algorithm, multiobjective, nsgaii, optimization, reference point
Files Tagged by Song
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 multiobjective, genetic algorithm, nsgaii, optimization, reference point 121 38
  • 4.4
4.4 | 8 ratings

Contact us