Agent-based simulation of pedestrian movement: a gradient method with an amplification parameter. (3rd November 2022)