Summary.We investigate the following problem: To influence a heat conduction process in such a way that the conductor melts in a prescribed manner. Since we treat a linear auxiliary problem, it suffices to deal with a linear-quadratic defect minimization problem with linear restrictions, where we use splines or polynomials as approximation spaces. In case of exact controllability we derive various order of convergence estimates, which we discuss for some numerical examples.