Cache the solve function