A solar cover will certainly help keep the heat in the pool instead of losing it over the cool nights, but pairing it with a solar heater is a better bet.