Changes between Version 31 and Version 32 of BluePrint/VehicleRouting
- Timestamp:
- 12/29/14 18:59:03 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/VehicleRouting
v31 v32 73 73 == Current Implementation == 74 74 75 This implementation is entirely based on the examples provided by !OptaPlanner: https://github.com/droolsjbpm/optaplanner/tree/master/optaplanner-examples/src/main/java/org/optaplanner/examples/vehiclerouting 75 This implementation is entirely based on the examples provided by !OptaPlanner: 76 * https://github.com/droolsjbpm/optaplanner/tree/master/optaplanner-examples/src/main/java/org/optaplanner/examples/vehiclerouting 76 77 77 The main method of this module is present at: https://github.com/wolfshadow18/Vehicle-Routing-Problem/blob/master/Sahana-Final/Sahana/examples/sources/src/main/java/org/optaplanner/examples/vehiclerouting/app/VehicleRoutingApp.java 78 The main method of this module is present at: 79 * https://github.com/wolfshadow18/Vehicle-Routing-Problem/blob/master/Sahana-Final/Sahana/examples/sources/src/main/java/org/optaplanner/examples/vehiclerouting/app/VehicleRoutingApp.java 78 80 79 81 This main method takes an argument, which is a path for an unsolved Capacitated Vehicle Routing Problem, which is in the form of an XML file. 80 82 81 Examples of unsolved XML files, can be seen here: https://github.com/wolfshadow18/Vehicle-Routing-Problem/tree/master/Sahana-Final/Sahana/examples/data/vehiclerouting[[BR]] 82 This unsolved XML file has the following main attributes: 83 - Location List (Longitude and Latitude) 84 - Warehouse List (With a reference to a Location in the Location List) 85 - Vehicle List (Stating the Capacity and the location of the Vehicle) 86 - Customer List (Stating the Demand of each of the locations) 83 Examples of unsolved XML files can be seen here: 84 * https://github.com/wolfshadow18/Vehicle-Routing-Problem/tree/master/Sahana-Final/Sahana/examples/data/vehiclerouting 85 An unsolved XML file has the following main attributes: 86 * Location List (Longitude and Latitude) 87 * Warehouse List (With a reference to a Location in the Location List) 88 * Vehicle List (Stating the Capacity and the location of the Vehicle) 89 * Customer List (Stating the Demand of each of the locations) 87 90 88 91 When such an XML file is passed to the module it returns back a Solved XML file, which is stored in the same directory as the unsolved file, which was passed earlier, with the prefix – “solved-”[[BR]] 89 This XML file, has to be parsed by the modules in Sahana , and should be utilised upon.[[BR]]92 This XML file, has to be parsed by the modules in Sahana (''tbc'').[[BR]] 90 93 The final Solved file, diagrammatically, looks similar to this. This Solved file, tells which Vehicle should go to which Location(s), in which order. Such an example, can be seen here: https://github.com/wolfshadow18/Vehicle-Routing-Problem/blob/master/Sahana-Final/Sahana/examples/data/vehiclerouting/solved-cvrp-72customers.xml 91 94