Let $c,d\in\mathbb R$ and $f:[c,d]\rightarrow\mathbb R$ such that
$$ f(x)=\sum^N_{i=1}\max(a_i+b_ix,0),\text{for}\ a_i,b_i\in\mathbb R, i=1,...,N $$
How to find $x$ on a closed subset of $\mathbb R$ (i.e. $x\in[c,d]$) such that $f$ is minimized ?
i.e. How to determine $$ \min_{x\in[c,d]} f(x)=\min_{x\in[c,d]}\left (\sum^N_{i=1}\max(a_i+b_ix,0)\right ),\text{for}\ a_i,b_i\in\mathbb R, i=1,...,N $$ ?
Is there a general way to do it ? or is it on a case-by-case ?
In this case : Does $x$ need (at most) to belong to the frontier of $[c,d]$ i.e. $x\in\{c,d\}$ since they are monomials ?
Your function is convex. A simple method is bisection search. Start with the interval $[c,d]$, consider the midpoint $m=(c+d)/2)$ and compute the subdifferential at $m$. The subdifferential is an interval $[l,u]$ where $$ l = \sum_{i : a_i+b_ix > 0 } b_i \\ u = \sum_{i : a_i+b_ix \geq 0} b_i $$ if 0 is in the subdifferential, you have found the optimum. If $u < 0$, the optimum is to the right of $m$, so you continue on the interval $[m,d]$. Otherwise, you continue on $[c,m]$. Repeat the procedure until the interval is sufficiently small.