nsga2-matlab icon indicating copy to clipboard operation
nsga2-matlab copied to clipboard

what are the parameters in input_data?

Open ZhiliLin opened this issue 3 years ago • 1 comments

Hello, I don't know what parameter each number in the data file in the input_data folder represents. Could you please explain it to me? Thank you very much.

ZhiliLin avatar Mar 05 '21 09:03 ZhiliLin

Hi, sorry the code has no good readme to explain all that. But the sequence of reading the data from file is described in this code:

https://github.com/chudur-budur/nsga2-matlab/blob/master/load_input_data.m

So, it goes like this:

line 1: population size line 2: number of generations line 3: number of objectives line 4: number of constraints (if no constraints, it's 0) line 5: number of design variables line 6+n: lower and upper bound of n design variables, per line line 6+n+1: probability of crossover line 6+n+2: probability of mutation line 6+n+3: eta parameter for simulated binary crossover line 6+n+4: eta parameter for polynomial mutation

chudur-budur avatar Mar 05 '21 23:03 chudur-budur