Slides 40, 41: corrected typo in the variables of both optimization problems (K replaced by T)