This service is to get the optimization results of the given algorithm.
Data: The optimum routes and the summary of the solution found by the algorihtm
Message: Output message
ReturnCode: Return code of the output. If "Success" is true, then check this value.
Success: If unpected errors, or exceptions occur, this will be false.
success: Same as Success
Data: object returned by this service contains the following:
VRPResultSummary object returned by this service contains the following:
VRPSolution: object returned by this service contains the following:
{ "apiKey" : "your API key here" ,
"computationTicketID" : "your computation ticket ID here" ,
"algorithmID" : 1
} |
Content-Type: application/json |
{ "Data" : {
"AlgorithmID" : 1,
"VRPResultSummary" : {
"AlgorithmID" : 1,
"ApplicationUsed" : "logvrp" ,
"AvarageCapacityUsage" : 35,
"ComputationDate" : "2012-09-17 22:34:11" ,
"ComputationID" : 44946,
"ComputationTicketID" : "RjhDMkI5NEVBODVDM0RCMzJGM0JDQTQxM0Q1RTEyMjY=" ,
"ComputationTime" : 18,
"CostUnit" : 1,
"DistanceUnit" : 1,
"ID" : 44947,
"Invalidities" : [
],
"IsValidResult" : true ,
"LoadUnit" : 0,
"OrderCount" : 4,
"OrderSetID" : 0,
"OrganizationID" : 0,
"RouteCount" : 2,
"StationCount" : 5,
"StationSetID" : 0,
"TotalCost" : 19.1,
"TotalDistance" : 18.2,
"TotalLoad" : 10,
"TotalTravelTime" : 92,
"UnservedOrderCount" : 0,
"UserID" : 0,
"VehicleCount" : 2,
"VehicleSetID" : 0
},
"VRPSolution" : {
"Cost" : 19.1,
"Distance" : 18.2,
"IsValid" : true ,
"MaxArrival" : "\/Date(1282986840000)\/" ,
"MinDeparture" : "\/Date(1282983498000)\/" ,
"UnServedOrders" : [
],
"VRPRoutes" : [
{
"Cost" : 9.25,
"Distance" : 8.5,
"Jobs" : [
{
"Arrival" : "\/Date(1282970640000)\/" ,
"Deliveries" : [
],
"Duration" : "PT2M" ,
"Leaving" : "\/Date(1282983660000)\/" ,
"Load" : 5,
"LoadAfter" : 5,
"LoadBefore" : 0,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
-3,
-4
],
"StationID" : -1,
"UnLoad" : 0,
"VehicleID" : -1
},
{
"Arrival" : "\/Date(1282984200000)\/" ,
"Deliveries" : [
-4
],
"Duration" : "PT2M" ,
"Leaving" : "\/Date(1282984776000)\/" ,
"Load" : 0,
"LoadAfter" : 1,
"LoadBefore" : 5,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
],
"StationID" : -5,
"UnLoad" : 4,
"VehicleID" : -1
},
{
"Arrival" : "\/Date(1282985100000)\/" ,
"Deliveries" : [
-3
],
"Duration" : "PT2M" ,
"Leaving" : "\/Date(1282985220000)\/" ,
"Load" : 0,
"LoadAfter" : 0,
"LoadBefore" : 1,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
],
"StationID" : -4,
"UnLoad" : 1,
"VehicleID" : -1
},
{
"Arrival" : "\/Date(1282985886000)\/" ,
"Deliveries" : [
],
"Duration" : "PT0S" ,
"Leaving" : "\/Date(1282985886000)\/" ,
"Load" : 0,
"LoadAfter" : 0,
"LoadBefore" : 0,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
],
"StationID" : -1,
"UnLoad" : 0,
"VehicleID" : -1
}
],
"Orders" : [
-3,
-4
],
"Time" : "PT31M30S" ,
"VehicleID" : -1
},
{
"Cost" : 9.85,
"Distance" : 9.7,
"Jobs" : [
{
"Arrival" : "\/Date(1282970640000)\/" ,
"Deliveries" : [
],
"Duration" : "PT2M" ,
"Leaving" : "\/Date(1282983498000)\/" ,
"Load" : 5,
"LoadAfter" : 5,
"LoadBefore" : 0,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
-1,
-2
],
"StationID" : -1,
"UnLoad" : 0,
"VehicleID" : -2
},
{
"Arrival" : "\/Date(1282984200000)\/" ,
"Deliveries" : [
-1
],
"Duration" : "PT2M" ,
"Leaving" : "\/Date(1282985676000)\/" ,
"Load" : 0,
"LoadAfter" : 3,
"LoadBefore" : 5,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
],
"StationID" : -2,
"UnLoad" : 2,
"VehicleID" : -2
},
{
"Arrival" : "\/Date(1282986000000)\/" ,
"Deliveries" : [
-2
],
"Duration" : "PT2M" ,
"Leaving" : "\/Date(1282986120000)\/" ,
"Load" : 0,
"LoadAfter" : 0,
"LoadBefore" : 3,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
],
"StationID" : -3,
"UnLoad" : 3,
"VehicleID" : -2
},
{
"Arrival" : "\/Date(1282986840000)\/" ,
"Deliveries" : [
],
"Duration" : "PT0S" ,
"Leaving" : "\/Date(1282986840000)\/" ,
"Load" : 0,
"LoadAfter" : 0,
"LoadBefore" : 0,
"LoadWeight" : 0, "LoadWeightAfter" : 0, "LoadWeightBefore" : 0, "LoadVolume" : 0, "LoadVolumeAfter" : 0, "LoadVolumeBefore" : 0, "Pickups" : [
],
"StationID" : -1,
"UnLoad" : 0,
"VehicleID" : -2
}
],
"Orders" : [
-1,
-2
],
"Time" : "PT35M6S" ,
"VehicleID" : -2
}
]
}
},
"Message" : null ,
"ReturnCode" : 0,
"Success" : true ,
"success" : true
} |