pyepo.data.tsp
Synthetic data for traveling salesman problem
Functions
  | 
A function to generate synthetic data and features for travelling salesman  | 
Module Contents
- pyepo.data.tsp.genData(num_data, num_features, num_nodes, deg=1, noise_width=0, seed=135)
 A function to generate synthetic data and features for travelling salesman
- Parameters:
 num_data (int) – number of data points
num_features (int) – dimension of features
num_nodes (int) – number of nodes
deg (int) – data polynomial degree
noise_width (float) – half witdth of data random noise
seed (int) – random seed
- Returns:
 data features (np.ndarray), costs (np.ndarray)
- Return type:
 tuple