I have to maximize this function
$max \sum_{i=0}^{n}x_{i}$ , $\bar{x}\in \mathbb{Z}, \bar{x}\geq 0$
is to possible to define this as a constraint ?
$\sum_{t=0}^{T_{i}}M_{i,x_{i+t}}= T_{i}$
(I'm using a variable as subscript,M is a matrix of variables, and Ti is given)