Cooling of isolated neutron stars as a probe of superdense matter physics