Hi
I write for my self a simple form of NSGA II to solve an optimization problem with integer constraints. I use the ordinary crossover and mutation to generate new solutions then I use the "round" function to convert the new children into integer form before calling them in the cost function of the problem. But unfortunately, I didn't get good results.
then I think I can call ordinary genetic algorithm special mutation and crossover functions specialized for solving integer constraint optimization problems. I mean to use Laplace crossover and power mutation functions. Unfortunately, these functions are Matlab P-files, so they aren't allowed to see the code inside the files.
As my question is there any way that I can call these three P-file functions, namely; "CreationFcn: @gaminlpcreationuniform" and "CrossoverFcn: @gaminlpcrossoverlaplace" and "MutationFcn: @gaminlpmutationpower" inside my NSGA II code. so that I will create new integer candidate solutions for my optimization problem. I would be so grateful if anyone could help me.
Thanks in advance.
Yousef Azimi
Best Answer