Topic
6 replies Latest Post - ‏2012-11-13T08:41:34Z by SystemAdmin
SystemAdmin
SystemAdmin
623 Posts
ACCEPTED ANSWER

Pinned topic Find Errors

‏2012-11-08T11:23:14Z |
Hi,
cplex said:OPL cannot extract expression: sum(h in 1..2) (a(h)(k)(l)*p(h)(i) in my subject,I cannot find the errors and what I should modify.
Thank you very much.

subject to {
forall(i in Demands,k in Demandinstances,l in Supplyitems)
sum(h in Disastertypes) a[h][k][l]*p[h][i][l]*d1[h][i][k]==d2[i][k][l];
}
Updated on 2012-11-13T08:41:34Z at 2012-11-13T08:41:34Z by SystemAdmin