Maybe a duplicate-- but I am not asking about least squares vs minimizing absolute deviations. Just simply, what if I chose to minimize the sum of residuals:
Min $\sum_i^n (Y_i-\beta_0 - \beta_1X_i)$ ?
If I try to minimize this, the second order conditions are all zero. Is there a solution to this? Would the strategy be to pick $\beta$'s so that they make the sum of residuals negative infinity?