this is my very first post here. I think this might be a really stupid question (sorry), but I just need to guarantee it. I have the following equation:
$$F_i = \min_{i \ \leq \ j \ \leq \ q} \{\sum_{i \ < \ p \ \leq \ j} W_p \ + (\min\{l_j - B_j,\ L - P_j\})^+\} $$
Consider $i = 0$ and $q = 3$. Then $0 \leq j \leq 3$.
My doubt is: if $i < p \leq j$ ($p \in \mathbb{N})$ then in the first "iteration" the internal Sum is:
$$\sum_{0 \ < \ p \ \leq \ 0} W_p$$
I mean, this is clearly an invalid range. Mathematically, should this be considered equal to $0$ or equal to $W_0$? The reason I'm asking this is because I have been implementing an algorithm from the literature for my paper and this really makes all the difference to the problem. I get drastically different results depending in the chosen approach. Thanks in advance.