THE CLASSICAL AND GENERALIZED MOMENT PROBLEM IN THE THEORY OF RELAXATION