Let us consider the following problem:
Let $T$ be a set of tasks. Each task $t \in T$ has a duration $d_t$ and a target start time $s_t$. No two tasks can be executed in parallel. The objective is to minimize the sum of the absolute deviation between the start time of a task and the target start time.
A possible way to model this problem would be the following:
$\forall t \in T$ let $e_t$ be a linear variable representing the absolute deviation between a task start time and its target start time.
$\forall t \in T$ let $a_t$ be a linear variable representing the actual start time of a task.
$\forall (t_1, t_2) \in T^2$ let $x_{t_1,t_2}$ be a binary variable representing if $t_1$ starts before $t_2$.
Let $M$ be a sufficiently large coefficient.
A possible model is then the following
\begin{align}\min\qquad &\sum_{t \in T}e_t\\\text{s.t.}\qquad&e_t \geq s_t - a_t, \forall t \in T\\&e_t \geq a_t - s_t, \forall t \in T\\&x_{t_1,t_2} + x_{t_2,t_1} = 1, \forall (t_1, t_2) \in T^2\\&a_{t_2} + d_{t_2} \leq a_{t_1} + M \cdot x_{t_1,t_2}, \forall (t_1, t_2)\in T^2\end{align}
Is there a way to deal with the non-overlapping constraints without adding a binary variable for each pair of task?