CPLEX:OPL 无法提取表达式

CPLEX : OPL cannot extract expression

我收到此错误,"opl cannot extract expression",因为我的 objective 函数中的表达式。

    +(cost_lateness*((sum(r in request)delay[r])
            +(sum (p in plant, r in request, m in deliveries : m > 1 , k in truck, 
                   k1 in truck : k != k1, j in jobs, j1 in jobs : j != j1)
    (x[p][r][m+1][k][j]*start_pour[k][j] - x[p][r][m][k1][j1]*end_pour[k1][j1]))));

谢谢。

改变什么

: m > 1

进入

: (m > 1) && (m!=last(deliveries))

为了确保m+1不会导致越界?