Search found 2 matches
- 6 years ago
- Forum: Syntax
- Topic: index set control
- Replies: 3
- Views: 3437
Re: index set control
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. O...
- 6 years ago
- Forum: Syntax
- Topic: index set control
- Replies: 3
- Views: 3437
index set control
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. arrive(k).. ...