The author uses relaxation theory to study a class of relaxed infinite dimensional uncertain systems, obtains the existence and some important properties of solutions of relaxed systems, proves the existence of optimal control of relaxed systems with a correspondingly relaxed cost functional, and shows that under some assumptions the set of original trajectories is dense in the set of relaxed trajectories and the relaxed control problem is equivalent to the original one.