Solution of P-CMax problem using genetic algorythm
- clone the repository
- run
main.py
with 2 parameters- first
genetic
if you want to use genetic algorythmgreedy
if you want to use greedy algorythm
- second - file path
- first
- example
python main.py genetic ./data./m50n1000.txt
You can choose ready data from data
folder or use the data generator
In the P || Cmax problem, the task is to arrange 𝑛 tasks on 𝑚 processors in such a way that the completion time of all tasks on all processors is as short as possible.
In computer science and operations research, a genetic algorithm is a metaheuristic inspired by the process of natural selection that belongs to the larger class of evolutionary algorithms. Genetic algorithms are commonly used to generate high-quality solutions to optimization and search problems by relying on biologically inspired operators such as mutation, crossover and selection.