Message Boards Message Boards

Why does the run time increase in higher crossovers? So that the code does not work

Posted 7 months ago

Greetings and don't be tired, to the members of the Wolfram community My problem in optimization is a problem in which there is a series of very simple calculations. My optimization is done by genetic algorithm for magnet arrangement in an undulator. The main problem is in the number of crossover. When I set the number of crossover to values of one, two, and three, the code runs without any problem within a few seconds, but when I set this value to four or high values, the code execution time It increases so that I waited a day for the crossover with a value of four, but the code did not respond and was still running. The written code is attached to the name of final5.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract