Why can't the target be added after adding variables and constraints, and the optimization ✔️ also disappears?