Melbourne is forecast to swelter through a maximum 45 degrees on Tuesday, but a cool change at night will send temperatures plummeting.