Comparison of vector and parallel implementations of the simulated annealing algorithm