File size: 3,594 Bytes
5bf6dee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
license: mit
task_categories:
- other
language:
- en
tags:
- tsp
- traveling-salesman
- np-hard
- blockchain
- proof-of-work
size_categories:
- n<1K
---

# COINjecture/TSP_Solutions

## Dataset Description

**Traveling Salesman Problem** solutions from the COINjecture Network B blockchain.

TSP problem instances and solutions from COINjecture Network B blockchain mining

This dataset contains real-world computational problem instances and their solutions that were generated and validated through blockchain consensus using Proof-of-Useful-Work (PoUW).

## Dataset Structure


### Schema

Each record contains:
- `problem_id`: Unique identifier for the problem instance
- `problem_type`: "TSP"
- `problem_data`: TSP problem specification
  - `cities`: Number of cities
  - `distances`: Distance matrix between cities
- `solution_data`: TSP solution (tour)
  - `tour`: Ordered list of city indices representing the tour
- `problem_complexity`: Difficulty weight of the problem
- `bounty`: Token reward for solving (in smallest unit)
- `time_asymmetry`: Ratio of solve time to verify time
- `space_asymmetry`: Ratio of solve memory to verify memory
- `solve_energy_joules`: Energy consumed during solution
- `verify_energy_joules`: Energy consumed during verification
- `total_energy_joules`: Total energy consumed
- `energy_asymmetry`: Ratio of solve energy to verify energy
- `work_score`: Computed work score based on asymmetries
- `block_height`: Blockchain height where solution was accepted
- `timestamp`: Unix timestamp of solution
- `status`: Problem status (Mined, Validated, etc.)
- `energy_measurement_method`: Method used for energy measurement
- `submission_mode`: How problem was submitted (mining, public, private)


### Data Fields

All records include comprehensive metrics:
- **Asymmetry Metrics**: Time, space, and energy asymmetries between solving and verification
- **Energy Measurements**: Detailed energy consumption during computation
- **Work Scores**: Blockchain consensus work scores based on computational asymmetries
- **Blockchain Metadata**: Block height, timestamps, miner addresses

### Data Splits

This is a continuously growing dataset with new solutions added as they are mined on the blockchain.

## Dataset Creation

### Source Data

Solutions are generated through the COINjecture Network B blockchain's mining process, where miners solve NP-hard problems to mine blocks.

### Energy Measurement

Energy measurements use platform-specific methods:
- **Linux**: RAPL (Running Average Power Limit) interface
- **macOS**: powermetrics
- **Fallback**: CPU TDP-based estimation

## Considerations for Using the Data

### Bias and Limitations

- Problem difficulty varies based on blockchain difficulty adjustment
- Energy measurements may use estimation on platforms without hardware monitoring
- Solutions represent successfully mined blocks only (failed attempts not recorded)

## Additional Information

### Dataset Curators

COINjecture Network B - Autonomous blockchain dataset generation

### Licensing

MIT License

### Citation

```bibtex
@misc{coinjecture_netb_tsp,
  author = {COINjecture Network B},
  title = {Traveling Salesman Problem Solutions from Proof-of-Useful-Work Blockchain},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/COINjecture/TSP_Solutions}
}
```

### Contact

For issues or questions, please open an issue on the [COINjecture GitHub repository](https://github.com/Quigles1337/COINjecture1337-REFACTOR).

---

**Generated automatically by COINjecture Network B blockchain nodes**