我对纸浆有疑问,我正在尝试转换此约束
∑_iϵN Xijkz+Vjkz+Ujkz = nsjk*sjz ∀ j ϵ J , ∀ z ϵ S , ∀ k ϵ K .
for i in N:
prob += lpSum(X[(i,j,k,z) ]+V[(j,k,z)]+U[(j,k,z)]
for j in J
for k in K
for z in S2)==(ns[k][j]*s1[k][j])
但我不确定这是否公平,我没有任何错误,但是,目标函数为 0