You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Artyem edited this page May 18, 2023
·
8 revisions
Base config
problem constants:
HARD_CONSTRAINT_PENALTY: 10 - the penalty factor for a hard-constraint violation
Genetic Algorithm constants:
POPULATION_SIZE: 100
P_CROSSOVER: 0.9 - probability for crossover
P_MUTATION: 0.1 - probability for mutating an individual
MAX_GENERATIONS: 100
HALL_OF_FAME_SIZE: 5
MAX_COLORS: 36
set the random seed:
RANDOM_SEED: 42
Base result
Genetic algorithm is completed: 1.326 s
Windows in shedule: 83