OPTIMAL CONTROL OF AN INHOMOGENEOUS HEAT PROBLEM BY USING MEASURE THEORY