 neighbor improves upon the current solution. The search starts from a given initial solution S. A flag indicating whether or not an improving solution was found is set to.TRUE. in line 0. The loop in lines 0 to 00 is performed until it becomes impossible to replace the current solution 