Which specific functions does the GA use?( for Creation ,Crossover and Mutation functions?)
Show older comments
Hi, My program is integer linear program. I wrote custom creation, crossover and mutation functions. I tried it in command window and ga toolbox, but the outputs never changed and command window gave the following warnings ;
Warning: Problem has integer constraints. The following options will be ignored by GA: CreationFcn
CrossoverFcn
MutationFcn
SelectionFcn
> In gaminlpvalidateoptions In ga (line 295)
In callSolver (line 33)
In optimguirun (line 40)
In optimguiswitchyard (line 14)
So, I searched Mathworks documentation (https://www.mathworks.com/help/gads/mixed-integer-optimization.html#bs1clc2) and there are expressions " the Characteristics of the Integer ga Solver" under the title:
- No custom creation function (CreationFcn option), crossover function (CrossoverFcn option), mutation function (MutationFcn option), or initial scores (InitialScoreMatrix option). If you supply any of these, ga overrides their settings.
-To obtain integer variables, ga uses special creation, crossover, and mutation functions.
Which specific functions does the GA use for crossover, mutation, and creation? İt doesn't recognize that I choose options in the ga toolbox for creation, mutation and crossover and the results aren't improving.
Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!