Parallel genetic algorithms for optimization and application to NP-complete proble