-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpr10.dzn
6 lines (6 loc) · 5.07 KB
/
pr10.dzn
1
2
3
4
5
6
Name = "pr10.txt";
locX = [12.805,18.213,57.947,-52.429,60.797,23.151,25.385,25.513,-49.261,-37.561,-14.520,41.229,-21.863,-48.181,-7.776,20.801,-29.712,-20.203,-87.079,3.046,11.865,-24.072,-22.803,-51.904,12.732,-30.988,37.512,2.954,0.549,-52.484,33.936,-13.129,-99.591,6.439,-14.032,-24.677,-10.260,35.858,-11.603,-34.662,66.852,6.866,1.660,37.561,51.672,19.025,-37.982,-56.537,1.099,-56.238,-23.669,-34.277,-64.178,-47.083,-33.710,34.290,-38.861,-92.731,23.633,-67.139,25.726,-40.985,77.008,-54.810,-53.943,16.089,-59.436,34.473,-9.283,-85.559,29.523,27.814,42.151,82.202,-47.766,22.015,-55.756,62.006,25.549,-43.372,60.297,-96.155,-32.806,-47.827,-31.128,-17.010,-8.386,35.834,29.315,48.352,-2.930,-16.620,-40.851,-12.878,-51.776,-32.922,13.983,-35.834,91.858,-28.442,33.844,98.431,-57.751,-43.890,37.585,-3.687,-98.242,-23.560,22.980,43.915,71.509,-43.011,-83.954,11.090,27.173,-86.102,-22.345,-38.727,-1.227,81.329,51.904,-34.973,-51.483,-0.647,68.219,-15.149,22.412,36.176,-23.639,-14.722,16.821,93.378,40.344,5.530,-78.015,51.569,49.249,-62.195,-5.048,1.727,1.361,-15.521,-31.604,-46.997,2.301,-30.328,-16.821,52.655,-11.993,41.632,8.508,31.512,-3.339,-26.379,28.430,5.975,-32.135,31.097,28.198,-39.612,-19.220,-10.114,22.894,-34.741,-44.952,-23.749,69.073,12.170,47.339,-4.706,-52.374,39.215,-42.316,19.135,-54.706,11.737,-40.582,-6.421,-31.268,-3.668,13.409,-95.892,88.983,-55.048,27.850,40.918,-58.350,-52.161,-66.772,-33.374,-8.649,-26.166,-39.874,71.643,-96.924,-2.911,-53.253,67.316,-6.525,16.425,-19.061,25.189,37.854,-16.479,2.344,-48.621,-42.621,16.016,-80.408,-95.068,-6.885,-4.803,7.037,31.293,14.984,33.203,-59.277,30.054,9.351,-10.651,20.856,19.617,-36.981,-3.760,11.682,4.468,47.040,29.938,-70.569,56.262,46.210,6.366,-34.540,-50.537,-61.444,-30.823,49.658,-69.775,-18.939,-22.449,-7.599,27.435,45.526,-33.551,-4.645,-41.119,23.010,17.230,-6.818,52.966,-28.662,69.684,36.884,-19.659,72.125,-71.368,18.317,18.121,-1.105,-44.574,-28.058,-7.953,-37.366,4.388,-44.592,-56.714,13.452,-20.343,3.436,40.576,31.952,-57.434,47.510,-28.143,-2.258,-27.167,-24.048,-77.521,-62.036,-71.936,-66.504,14.587,31.366,6.512,9.650,16.040,7.745,-14.367];
locY = [1.886,1.373,-48.779,-84.088,-32.593,4.205,22.986,-52.985,-41.718,-41.730,48.962,-24.500,0.916,-16.284,44.348,10.760,-46.326,-59.564,-52.899,-6.305,5.261,-55.927,5.658,9.412,-40.967,7.654,0.458,-8.563,3.644,9.711,-48.718,-53.601,23.303,-3.516,-19.818,16.608,-81.769,5.597,42.908,-15.466,1.135,-1.416,-2.234,11.450,-26.343,-10.889,-6.360,-42.334,-14.624,-3.076,-15.289,-1.410,63.812,-20.386,8.380,26.031,42.114,44.885,27.643,-67.078,-25.836,-16.895,-6.097,-1.935,-29.663,-27.887,36.487,25.391,-6.689,-20.477,18.347,6.512,-25.580,85.828,-35.590,-20.349,-33.490,-1.453,-3.796,-7.379,52.637,34.100,-3.845,-45.203,-93.848,-21.857,-2.264,13.147,54.468,-8.783,27.039,-55.389,-47.742,-2.039,7.281,23.828,-34.521,-23.834,5.542,-34.180,27.875,31.348,-27.753,13.007,49.768,7.373,61.658,-32.520,-18.109,-2.985,11.652,-38.702,2.179,-40.942,-13.330,-59.808,-78.278,-33.588,-28.668,-44.244,19.891,-27.856,-23.248,-46.057,-66.986,-25.482,-34.375,-10.431,-47.681,32.684,-12.720,23.004,-24.176,-4.901,1.270,-45.673,-30.896,-21.399,7.306,-70.221,-3.564,16.425,-60.938,-55.560,5.536,-0.580,17.664,29.034,-83.771,43.048,-2.539,-8.978,-36.243,13.776,10.571,27.289,-45.068,-7.916,-29.755,-33.594,-5.133,69.977,-44.348,0.580,-77.734,-56.012,-97.125,-59.869,17.365,14.056,-50.244,-29.773,-60.602,41.150,-17.596,-83.173,-53.247,21.967,-34.613,-26.868,-22.302,-86.322,-53.387,-32.538,-10.028,-36.090,15.814,-74.725,-34.943,-62.024,31.708,-56.152,-53.375,-36.981,8.411,36.200,14.099,-39.734,11.975,33.221,-56.921,-21.045,-5.524,48.657,-16.516,-12.390,-50.006,11.169,-60.583,44.293,24.884,21.674,-45.337,-39.905,26.172,-52.289,39.667,-36.823,-39.044,54.431,-26.465,17.865,-92.950,59.875,-63.336,-36.133,-41.254,-58.710,-7.037,1.819,-53.522,-14.264,-39.502,28.357,-10.901,17.902,24.469,-41.406,57.690,15.771,37.030,17.554,-5.127,-25.586,53.754,-13.361,-45.703,5.096,-19.873,51.410,-50.940,-51.520,-17.371,42.035,65.405,59.863,-37.750,0.482,-30.676,-44.055,-59.436,4.639,-28.528,-38.489,-35.333,-39.252,-32.159,-11.182,-52.734,-54.492,-25.421,38.525,-42.035,-41.614,-5.078,-27.936,-47.192,-55.084,-43.439,-20.160,-39.789,48.444,-29.462,-46.124,39.508,16.681,-75.378,-20.340];
Demand = [10,21,8,23,10,9,21,16,21,3,24,2,4,18,5,13,13,14,10,3,1,11,16,6,18,11,15,17,17,1,1,18,3,21,22,14,4,17,16,8,14,23,1,21,10,19,6,4,18,23,25,17,11,20,9,23,14,7,15,22,4,14,24,13,9,3,23,2,23,8,23,13,25,25,20,9,15,4,1,7,12,5,8,1,24,23,12,2,22,3,12,16,8,25,6,24,16,7,9,23,24,19,9,10,23,2,5,25,17,23,23,13,2,24,22,20,15,12,17,21,10,4,21,3,17,19,10,21,21,6,8,8,13,7,11,18,10,25,7,17,20,18,21,14,2,18,10,5,15,17,12,14,3,7,21,7,5,24,13,18,19,22,13,10,4,17,2,18,2,18,13,24,25,2,2,7,23,21,18,21,23,16,22,11,22,10,15,23,7,1,21,11,2,24,25,17,10,18,2,12,4,1,1,6,22,25,21,18,14,21,4,1,18,4,4,5,15,5,22,21,17,8,4,4,16,5,15,25,15,7,19,11,13,24,4,13,6,4,12,4,4,25,25,14,25,13,13,11,24,5,12,4,5,24,17,4,1,19,7,24,10,13,24,3,14,2,24,11,5,14,21,14,15,3,15,15,21,17,18,15,19,9,10,13,25,1,11];
NumVehicles = 20;
Capacity = [195,180,190,210,195,180,190,210,200,195,180,210,200,195,180,210,195,195,180,210];