Parallel genetic algorithm for N-Queens problem based on message passing interface-compute unified device architecture