I have the following problem:
Consider the set of integers $\{1,2,3,4,5,6\}$ and $$\sum_{i=1}^6 s_i i,$$ where $s_1, s_2, \dots, s_6 \in \{1,-1\}$ are the signs that appear in front of each of these numbers. Present an integer programming model that minimizes $$\left| \,\sum_{i=1}^6 s_i i \,\right|$$
I created binary variables $b_1, b_2, \dots, b_6 \in \{0,1\}$ for this linear modeling.
$$\min U$$ subject t $$U \geq \sum_{i=1}^6 s_i i$$ $$U \geq -\sum_{i=1}^6 s_i i$$
$$s_i + 1 \leq M_1(1-b_i)$$ $$s_i - 1 \leq - M_1 + b_i$$
$$s_i = \{-1,+1\}$$ $$b_i = \{0,1\}$$ $M_1$ is big constant
My model is incorrect and I do not know how to solve