Polynomial Time Algorithm and Its Heuristics to Find the Best Move of a Very Large-Scale Neighborhood Search Technique