HuaweiVRP — различия между версиями

Материал из DISCOPAL
Перейти к: навигация, поиск
(Новая страница: «== Input JSON format == ;estimateCode: String → Identification of the input file. ;algorithmBaseParamDto: Object → Basic data :;platformDtoList: Array → Pla…»)
 
(Input JSON format)
 
(не показаны 4 промежуточные версии этого же участника)
Строка 4: Строка 4:
 
:;platformDtoList: Array → Platform (i.e., pick-up point) info.
 
:;platformDtoList: Array → Platform (i.e., pick-up point) info.
 
::;platformCode: String → Identification of the platform.
 
::;platformCode: String → Identification of the platform.
::;isMustFirst: Boolean → Whether the platform should be first visited (bonded warehouse).
+
::;mustFirst: Boolean → Whether the platform should be first visited (bonded warehouse).
::;truckTypeDtoList: Array, Truck info.
+
:;truckTypeDtoList: Array Truck info.
|-
+
::;truckTypeIdString Identification of the truck.
| <br>
+
::;truckTypeCodeString Unique truck code.
| <br>
+
::;truckTypeNameString Unique truck name.
| truckTypeId
+
::;length: Float Truck length (mm).
| String
+
::;width: Float Truck width (mm).
| Identification of the truck.
+
::;height: Float Truck height (mm).
|-
+
::;maxLoad: Float Carrying capacity of the truck (kg)
| <br>
+
::;truckTypeMap: Object Map format of truckTypeDtoList, key is truckTypeId
| <br>
+
::;distanceMap: Object
| truckTypeCode
+
::* Key is two platform codes connected by “+”: e.g. “platform01+platform02”;  
| String
+
::* Value is the float value of the distance (m) between them.
| Unique truck code.
+
;boxes: Array Boxes (i.e., items) info.
|-
+
:;spuBoxId: String Identification of the box.
| <br>
+
:;platformCode: String Code of the platform the box is belonging to.
| <br>
+
:;length: Float → Box length (mm).
| truckTypeName
+
:;width: Float → Box width (mm).
| String
+
:;height: Float → Box height (mm).
| Unique truck name.
+
:;weight: Float → Box weight (kg).
|-
+
 
| <br>
+
== Output JSON format ==
| <br>
+
;estimateCode: String → Identification of the output file. Same as the input file.
| length
+
 
| Float
+
;solutionArray: ''2D-Array'' → Array of solutions. Each line is a solution, i.e. an array of trucks. Each element is a truck map.
| Truck length (mm).
+
:;truckTypeId: ''String'' → Identification of the truck. Same as the input file.
|-
+
:;truckTypeCode: ''String'' → Truck code. Same as the input file.
| <br>
+
:;piece: ''Integer'' → Number of boxes packed in this truck.
| <br>
+
:;volume: ''Float'' → Total volume (mm^3) of boxes packed in this truck.
| width
+
:;weight: ''Float'' → Total weight (kg) of the boxes packed in this truck.
| Float
+
:;innerLength: ''Float'' → Truck length (mm). Same as the input file.
| Truck width (mm).
+
:;innerWidth: ''Float'' → Truck width (mm). Same as the input file.
|-
+
:;innerHeight: ''Float'' → Truck height (mm). Same as the input file.
| <br>
+
:;maxLoad: ''Float'' → Carrying capacity of the truck (kg). Same as the input file.
| <br>
+
:;platformArray: ''Array'' → Route of the truck, a list of platform codes.
| height
+
:;spuArray: ''Array'' → Array of boxes packed in this truck.
| Float
+
::;spuId: ''String'' → Identification of the box. Same as the input file.
| Truck height (mm).
+
::;platformCode: ''String'' → Code of the platform the box is belonging to. Same as the input file.
|-
+
::;direction: ''Integer'' → Direction of the box (100: box length is parallel to the truck length; 200: box length is perpendicular to the truck length).
| <br>
+
::;x: ''Float'' → Coordinate of the center of the box (mm) in direction of the truck width, where the origin is the center of the truck.
| <br>
+
::;y: ''Float'' → Coordinate of the center of the box (mm) in direction of the truck height, where the origin is the center of the truck.
| maxLoad
+
::;z: ''Float'' → Coordinate of the center of the box (mm) in direction of the truck length, where the origin is the center of the truck.
| Float
+
::;order: ''Integer'' → Order of the box being packed.
| Carrying capacity of the truck (kg)
+
::;length: ''Float'' → Box length (mm). Same as the input file.
|-
+
::;width: ''Float'' → Box width (mm). Same as the input file.
| <br>
+
::;height: ''Float'' → Box height (mm). Same as the input file.
| truckTypeMap
+
::;weight: ''Float'' → Box weight (mm). Same as the input file.
| <br>
+
 
| Object
+
 
| Map format of truckTypeDtoList, key is truckTypeId
+
=== Coordinate System ===
|-
+
 
| <br>
+
The coordinates of the center of the boxes are represented in the output files, where the origin coordinate system is the center of the truck, shown in the following graph 1.
| distanceMap
+
 
| <br>
+
[[File:HuaweiVRP_2021-01-29_16-39-20_image0.png||400px]]
| Object
+
 
| Key is two platform codes connected by “+”: e.g. “platform01+platform02”; Value is the float value of the distance (m) between them.
+
The boxes can only be rotated horizontally, thus each of them only have 2 possible directions represented in the output files (100: box length is parallel to the truck length; 200: box length is perpendicular to the truck length), shown in the following graph 2.
|-
+
| boxes
+
| <br>
+
| <br>
+
| Array
+
| Boxes (i.e., items) info.
+
|-
+
| <br>
+
| spuBoxId
+
| <br>
+
| String
+
| Identification of the box.
+
|-
+
| <br>
+
| platformCode
+
| <br>
+
| String
+
| Code of the platform the box is belonging to.
+
|-
+
| <br>
+
| length
+
| <br>
+
| Float
+
| Box length (mm).
+
|-
+
| <br>
+
| width
+
| <br>
+
| Float
+
| Box width (mm).
+
|-
+
| <br>
+
| height
+
| <br>
+
| Float
+
| Box height (mm).
+
|-
+
| <br>
+
| weight
+
| <br>
+
| Float
+
| Box weight (kg).
+
|}
+
</center>
+

Текущая версия на 13:49, 29 января 2021

Input JSON format

estimateCode
String → Identification of the input file.
algorithmBaseParamDto
Object → Basic data
platformDtoList
Array → Platform (i.e., pick-up point) info.
platformCode
String → Identification of the platform.
mustFirst
Boolean → Whether the platform should be first visited (bonded warehouse).
truckTypeDtoList
Array → Truck info.
truckTypeId
String → Identification of the truck.
truckTypeCode
String → Unique truck code.
truckTypeName
String → Unique truck name.
length
Float → Truck length (mm).
width
Float → Truck width (mm).
height
Float → Truck height (mm).
maxLoad
Float → Carrying capacity of the truck (kg)
truckTypeMap
Object → Map format of truckTypeDtoList, key is truckTypeId
distanceMap
Object →
  • Key is two platform codes connected by “+”: e.g. “platform01+platform02”;
  • Value is the float value of the distance (m) between them.
boxes
Array → Boxes (i.e., items) info.
spuBoxId
String → Identification of the box.
platformCode
String → Code of the platform the box is belonging to.
length
Float → Box length (mm).
width
Float → Box width (mm).
height
Float → Box height (mm).
weight
Float → Box weight (kg).

Output JSON format

estimateCode
String → Identification of the output file. Same as the input file.
solutionArray
2D-Array → Array of solutions. Each line is a solution, i.e. an array of trucks. Each element is a truck map.
truckTypeId
String → Identification of the truck. Same as the input file.
truckTypeCode
String → Truck code. Same as the input file.
piece
Integer → Number of boxes packed in this truck.
volume
Float → Total volume (mm^3) of boxes packed in this truck.
weight
Float → Total weight (kg) of the boxes packed in this truck.
innerLength
Float → Truck length (mm). Same as the input file.
innerWidth
Float → Truck width (mm). Same as the input file.
innerHeight
Float → Truck height (mm). Same as the input file.
maxLoad
Float → Carrying capacity of the truck (kg). Same as the input file.
platformArray
Array → Route of the truck, a list of platform codes.
spuArray
Array → Array of boxes packed in this truck.
spuId
String → Identification of the box. Same as the input file.
platformCode
String → Code of the platform the box is belonging to. Same as the input file.
direction
Integer → Direction of the box (100: box length is parallel to the truck length; 200: box length is perpendicular to the truck length).
x
Float → Coordinate of the center of the box (mm) in direction of the truck width, where the origin is the center of the truck.
y
Float → Coordinate of the center of the box (mm) in direction of the truck height, where the origin is the center of the truck.
z
Float → Coordinate of the center of the box (mm) in direction of the truck length, where the origin is the center of the truck.
order
Integer → Order of the box being packed.
length
Float → Box length (mm). Same as the input file.
width
Float → Box width (mm). Same as the input file.
height
Float → Box height (mm). Same as the input file.
weight
Float → Box weight (mm). Same as the input file.


Coordinate System

The coordinates of the center of the boxes are represented in the output files, where the origin coordinate system is the center of the truck, shown in the following graph 1.

HuaweiVRP 2021-01-29 16-39-20 image0.png

The boxes can only be rotated horizontally, thus each of them only have 2 possible directions represented in the output files (100: box length is parallel to the truck length; 200: box length is perpendicular to the truck length), shown in the following graph 2.