The General Problem Solver (GPS) is a computer program developed in the 1950s that was designed to simulate human problem-solving processes. It aimed to find solutions to a variety of problems by using means-ends analysis, which involved breaking down problems into smaller, manageable parts and systematically exploring options. GPS played a crucial role in the transition from behaviorism to cognitive psychology by demonstrating how mental processes could be modeled computationally, reflecting the growing interest in understanding human cognition.