first not-working version of the Explicit Temperature MPC (Worst Case)