I wrote a equation my model vrp. But it didn’t run. x is a binary variable, x(i,j,k) i source and j destination, k is a vehicle. p is an any arrival point, when k. vehicle arrive p.th point and then depart. p and pp is an alias i,j respectivelly. Could anyone solve this problem.
Thanks.

Hi, thank you for your response,
this constraint typicslly VRP arriving and depart constraint. if value of pp=1, value of p should be 1, shortly, when a vehicle arrive i.th point and then depart i.point. (i: source, j: destination), is syntax “$(p.val=pp.val)” assing pp value to p value. Or may be write this equation to RHS for assignning. Thanks.