Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what are the parameters in input_data? #4

Open
ZhiliLin opened this issue Mar 5, 2021 · 1 comment
Open

what are the parameters in input_data? #4

ZhiliLin opened this issue Mar 5, 2021 · 1 comment

Comments

@ZhiliLin
Copy link

ZhiliLin commented Mar 5, 2021

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.

@chudur-budur
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants