forked from prushh/cvrp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpr05.dzn
6 lines (6 loc) · 4.23 KB
/
pr05.dzn
1
2
3
4
5
6
Name = "pr05.txt";
locX = [65.991,-36.938,-2.734,31.116,2.789,31.152,-36.304,52.814,11.267,-0.623,43.091,6.854,-6.848,-27.930,33.240,63.885,-13.672,-0.647,59.406,27.167,70.001,35.327,-14.386,19.366,-39.789,-15.753,-28.418,27.081,22.205,-0.830,10.217,7.446,48.914,-18.958,16.815,2.509,15.424,60.315,40.405,-26.837,69.171,-22.815,-14.258,76.050,63.043,-20.239,-41.168,79.199,-20.728,-4.163,39.594,-47.125,-1.233,-0.372,31.537,-0.134,66.394,6.104,13.544,54.211,22.046,-9.723,-11.584,-2.905,13.837,17.480,2.972,-44.354,-59.399,-13.452,-5.518,-9.589,19.318,26.245,43.707,-52.026,-8.435,89.111,6.067,27.094,27.527,42.511,25.311,47.778,-3.143,12.482,-21.039,-3.149,53.009,35.638,43.427,6.598,87.952,39.105,-48.340,72.003,-37.732,-65.967,-16.669,10.742,15.594,21.606,9.784,94.147,10.382,-1.453,-6.219,-6.250,-17.444,-55.090,-9.442,8.978,-16.754,66.852,14.716,33.472,66.394,-5.664,-5.103,-8.826,5.847,-25.726,-15.363,43.793,17.664,-39.624,-24.554,-26.892,34.155,-47.314,49.365,3.705,22.430,-37.549,25.549,-15.216,-12.939,-22.107,-17.944,-21.234,3.503,32.599,-5.737,-6.128,-2.460,-6.470,-37.891,10.852,50.104,46.844,19.598,-38.947,-0.641,40.906,-0.574,-9.778,34.265,29.572,16.376,61.877,40.088,0.122,-8.929,-7.135,7.550,3.949,-15.118,84.821,-52.325,7.538,-21.484,36.047,12.781,-17.291,-10.541,-15.845,29.266,-12.598,-17.303,57.050,26.941,-6.195,16.980,83.710,12.451,15.057,25.818,13.666,48.322,13.489,-18.512,17.554,37.775,47.968,38.806,-16.089,28.656,-5.859,60.516,63.196,-15.308,-2.875,32.056,-18.634,-3.632,10.480,1.819,-25.275,56.927,13.885,32.520,4.803,11.365,17.126,-33.661,-32.391,23.041,-21.857,32.013,13.831,-8.051,25.391,49.536,63.416,2.301,52.423,9.296,34.845,-21.063,28.448,16.254,-36.639,-27.356,-53.705,26.276,-31.519,-14.612,-4.242,-18.524,8.681];
locY = [-49.829,-36.743,18.774,-35.907,8.008,43.665,-21.307,35.046,20.660,23.114,-12.360,19.073,25.317,-23.712,-30.487,-52.881,-43.945,-27.502,-49.261,-5.713,-20.844,-65.167,-42.236,30.273,10.101,-40.204,-40.503,9.735,-9.216,-6.525,75.531,18.500,-20.294,-29.675,-6.659,-30.420,4.913,89.801,-45.367,-54.272,72.577,46.173,-30.249,12.073,60.022,-81.970,-42.023,-29.016,-7.068,-53.497,-40.460,-77.850,49.182,-27.264,-8.722,-20.264,-26.691,-64.093,-20.874,-6.537,-34.137,4.706,-46.857,-0.305,-44.452,27.747,-43.689,-38.202,1.514,-75.531,-51.947,-26.880,29.498,36.743,-28.033,-35.339,-0.116,62.122,-16.132,-5.103,-15.344,32.056,12.689,-12.769,-13.837,-78.101,-3.430,-55.432,84.900,-47.552,-18.439,-54.578,94.012,-48.743,-26.477,-9.253,3.351,-36.749,-35.284,-4.669,-5.817,-18.109,49.280,-4.492,-16.302,-0.861,25.305,10.217,-70.795,-43.854,23.724,35.406,-0.812,-37.842,-23.724,20.026,-70.111,8.881,-46.729,55.743,-3.186,-37.695,-24.548,-11.102,-25.604,54.883,-43.225,-12.738,-38.458,-29.468,-25.592,-16.449,-23.273,-29.608,3.674,3.284,-7.495,26.434,7.733,14.490,-19.708,-14.935,-28.296,-39.624,12.817,8.466,-36.115,-18.750,8.636,4.712,-10.406,52.942,-21.289,-33.765,-62.299,26.794,-23.895,-24.561,-58.887,-15.167,-9.625,-4.645,-43.903,-57.434,-21.210,7.300,92.023,-24.518,30.682,13.818,30.359,29.883,-40.942,-10.254,12.402,-59.460,-2.222,-58.929,-35.297,-50.354,17.444,-8.881,-16.321,-32.520,34.589,67.004,-5.835,-14.832,-5.164,19.739,65.405,38.379,-16.003,-30.310,36.243,-42.841,-1.990,-1.862,63.416,-47.766,-23.285,0.787,-10.175,-25.665,25.433,22.888,-3.009,-12.183,-75.507,-36.230,-29.523,-7.288,-8.344,-24.646,-41.241,-50.885,-14.496,-39.502,77.332,-76.190,-21.179,46.613,-54.639,-8.636,-5.536,29.895,-16.254,-96.185,-41.498,10.242,-22.583,-34.033,-50.177,11.334,-5.994,34.589,-31.506,-30.865,-29.486,-10.439];
Demand = [10,25,18,16,14,7,9,16,24,6,22,11,19,20,20,16,5,21,19,18,22,19,15,24,20,17,20,12,23,15,19,23,9,21,17,6,10,9,19,17,22,8,25,13,1,15,16,20,14,2,5,16,12,1,15,5,9,8,2,10,25,24,7,14,3,23,21,13,15,14,7,20,6,24,17,3,15,6,21,25,18,1,19,17,20,1,13,25,16,5,18,17,15,13,15,2,1,9,16,6,18,24,24,9,19,12,22,13,20,25,1,24,10,22,14,12,23,14,23,25,5,7,25,11,18,18,1,7,22,7,3,18,8,6,7,20,10,2,3,10,5,25,23,21,13,1,11,6,9,17,13,23,19,11,12,18,25,13,24,5,14,18,25,11,18,23,22,20,11,11,19,13,24,6,5,24,7,13,25,15,15,16,5,15,24,15,9,19,15,2,3,18,20,14,10,6,17,20,3,14,12,2,11,16,18,14,6,12,21,1,18,17,15,4,18,22,16,14,25,15,6,7,21,3,15,24,2,17,2,25,15,3,1,1,20,19,2,9,4];
NumVehicles = 20;
Capacity = [200,180,160,185,180,180,200,160,180,185,200,160,175,180,160,200,180,175,160,200,];