Published May 25, 2022 | Version 1.1

Nesting Tasks Dataset for 2D-Nesting Efficiency Estimation

  • 1. University of Bordeaux/Lectra
  • 2. Lectra
  • 3. University of Bordeaux

Description

Nesting efficiency dataset

This is the raw dataset associated with the paper “Graph Neural Networks Comparison for 2D-Nesting Efficiency Estimation”, by C.Lallier, L. Vézard, B. Pinaud and G. Blin, 2022. Consisting of 100,000 nesting tasks.

Usage:

The files are: tasks.gz, parts.gz, constraints.gz, and shapes.gz. They are in PICKLE file format version 5 with a gzip compression. Example to load a file :

import pandas as pd
tasks = pd.read_pickle('tasks.gz')

 

Description:

Tasks.gz file contains nestings high-level descriptors. It is composed of the following columns:

Column Type Description
efficiency float The variable to predict (label). Given in % 
duration integer input data. The nesting algorithm convergence time. Given in s.
sheet_width integer input data. The width of the nesting area. Given in m-4
sheet_length integer input data. Facultative. The height of the nesting area. Given in m-4
sheet_type integer input data. Kind of the nesting.
tasks_index integer Generated data. Join key between tables.
is_train, is_val, is_test boolean Generated data. Can be used as mask for the train, val and test subsets.

Parts.gz contains description of the parts to be nested : 

Column Type Description
tasks_index integer Reference to the join key from the Task table. 
parts_id integer Generated part id.
shape_hash integer Reference to the hash of the part's shape, join key from the Shape table.

Shapes.gz is the description of the shapes of the parts to be nested : 

Column Type Description
shape_hash integer Generated data. Join key between tables.
raw list of integers List of x, y tuples for each point. Unit is m-4
sizes list of integers List of sub-shapes sizes. 

Constraints.gz describes constraints and their parameters:

Column Type Description
type string Generated constraint type.
tasks_index integer Reference to the join key from the Task table.
parts_1, parts_2 list of integers References to the parts_id from the Parts table.  
p1_x, p1_y and p2_x, p2_y list of floats Input data. Origin position (x, y) of the constraint on parts. For each part of the constraint.
r1_start, r1_end, r1_flip_x list of floats Input data. Rotation (start, end, and flip_x) parameters of the constraint. Multiple ranges accepted.
y_min, y_max list of floats Input data. Range from (y_min, y_max). Multiple ranges accepted.

x_offset, y_offset, motif_order, x_alignment_type, y_alignment_type, proximity_type, max_distance, groups_relative_orientation, is_frozen

float Input data. Other constraint parameters.

Notes

Fix an error in 'constraints.gz', swap 'c8' and 'g4' values in column 'type'

Files

Files (187.8 MB)

Name Size Download all
md5:e12581851bd2a357145a9dfccdad5363
16.3 MB Download
md5:d8b51403f0cab79ec990b95a40911c1c
22.5 MB Download
md5:ff1623f24adf031710450a30e72984f2
147.8 MB Download
md5:ac18fc58408a3fc832cfd6757b4b16ca
1.2 MB Download