Hello everyone I am new to programming in python and I have some problems using the Nsga2 multi-objective algorithm. At first, I thought I could prioritize objectives by varying the weight values like this: weights = ( 9.0, -1.0) . After reading a little I realized that it cannot be done in this way but the weight can be varied in the crowding distance sort.
I looked for the crowding distance sort code but I did not quite understand where it should be modified to give weights to the objectives, next I will show the code:
The question I would like to ask is whether it is possible to somehow change the weights to the targets in this algorithm. I would be very grateful if someone can solve this question for me.
Actually, NSGA-II rescale objectives to perform crowding distance. This means that the algorithm looks to spread the solutions equally in each dimension according to scale.
Hello everyone I am new to programming in python and I have some problems using the Nsga2 multi-objective algorithm. At first, I thought I could prioritize objectives by varying the weight values like this: weights = ( 9.0, -1.0) . After reading a little I realized that it cannot be done in this way but the weight can be varied in the crowding distance sort.
I looked for the crowding distance sort code but I did not quite understand where it should be modified to give weights to the objectives, next I will show the code:
The question I would like to ask is whether it is possible to somehow change the weights to the targets in this algorithm. I would be very grateful if someone can solve this question for me.