Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- tsp
|
| 9 |
+
- traveling-salesman
|
| 10 |
+
- np-hard
|
| 11 |
+
- blockchain
|
| 12 |
+
- proof-of-work
|
| 13 |
+
size_categories:
|
| 14 |
+
- n<1K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# COINjecture/TSP_Solutions
|
| 18 |
+
|
| 19 |
+
## Dataset Description
|
| 20 |
+
|
| 21 |
+
**Traveling Salesman Problem** solutions from the COINjecture Network B blockchain.
|
| 22 |
+
|
| 23 |
+
TSP problem instances and solutions from COINjecture Network B blockchain mining
|
| 24 |
+
|
| 25 |
+
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).
|
| 26 |
+
|
| 27 |
+
## Dataset Structure
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
### Schema
|
| 31 |
+
|
| 32 |
+
Each record contains:
|
| 33 |
+
- `problem_id`: Unique identifier for the problem instance
|
| 34 |
+
- `problem_type`: "TSP"
|
| 35 |
+
- `problem_data`: TSP problem specification
|
| 36 |
+
- `cities`: Number of cities
|
| 37 |
+
- `distances`: Distance matrix between cities
|
| 38 |
+
- `solution_data`: TSP solution (tour)
|
| 39 |
+
- `tour`: Ordered list of city indices representing the tour
|
| 40 |
+
- `problem_complexity`: Difficulty weight of the problem
|
| 41 |
+
- `bounty`: Token reward for solving (in smallest unit)
|
| 42 |
+
- `time_asymmetry`: Ratio of solve time to verify time
|
| 43 |
+
- `space_asymmetry`: Ratio of solve memory to verify memory
|
| 44 |
+
- `solve_energy_joules`: Energy consumed during solution
|
| 45 |
+
- `verify_energy_joules`: Energy consumed during verification
|
| 46 |
+
- `total_energy_joules`: Total energy consumed
|
| 47 |
+
- `energy_asymmetry`: Ratio of solve energy to verify energy
|
| 48 |
+
- `work_score`: Computed work score based on asymmetries
|
| 49 |
+
- `block_height`: Blockchain height where solution was accepted
|
| 50 |
+
- `timestamp`: Unix timestamp of solution
|
| 51 |
+
- `status`: Problem status (Mined, Validated, etc.)
|
| 52 |
+
- `energy_measurement_method`: Method used for energy measurement
|
| 53 |
+
- `submission_mode`: How problem was submitted (mining, public, private)
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
### Data Fields
|
| 57 |
+
|
| 58 |
+
All records include comprehensive metrics:
|
| 59 |
+
- **Asymmetry Metrics**: Time, space, and energy asymmetries between solving and verification
|
| 60 |
+
- **Energy Measurements**: Detailed energy consumption during computation
|
| 61 |
+
- **Work Scores**: Blockchain consensus work scores based on computational asymmetries
|
| 62 |
+
- **Blockchain Metadata**: Block height, timestamps, miner addresses
|
| 63 |
+
|
| 64 |
+
### Data Splits
|
| 65 |
+
|
| 66 |
+
This is a continuously growing dataset with new solutions added as they are mined on the blockchain.
|
| 67 |
+
|
| 68 |
+
## Dataset Creation
|
| 69 |
+
|
| 70 |
+
### Source Data
|
| 71 |
+
|
| 72 |
+
Solutions are generated through the COINjecture Network B blockchain's mining process, where miners solve NP-hard problems to mine blocks.
|
| 73 |
+
|
| 74 |
+
### Energy Measurement
|
| 75 |
+
|
| 76 |
+
Energy measurements use platform-specific methods:
|
| 77 |
+
- **Linux**: RAPL (Running Average Power Limit) interface
|
| 78 |
+
- **macOS**: powermetrics
|
| 79 |
+
- **Fallback**: CPU TDP-based estimation
|
| 80 |
+
|
| 81 |
+
## Considerations for Using the Data
|
| 82 |
+
|
| 83 |
+
### Bias and Limitations
|
| 84 |
+
|
| 85 |
+
- Problem difficulty varies based on blockchain difficulty adjustment
|
| 86 |
+
- Energy measurements may use estimation on platforms without hardware monitoring
|
| 87 |
+
- Solutions represent successfully mined blocks only (failed attempts not recorded)
|
| 88 |
+
|
| 89 |
+
## Additional Information
|
| 90 |
+
|
| 91 |
+
### Dataset Curators
|
| 92 |
+
|
| 93 |
+
COINjecture Network B - Autonomous blockchain dataset generation
|
| 94 |
+
|
| 95 |
+
### Licensing
|
| 96 |
+
|
| 97 |
+
MIT License
|
| 98 |
+
|
| 99 |
+
### Citation
|
| 100 |
+
|
| 101 |
+
```bibtex
|
| 102 |
+
@misc{coinjecture_netb_tsp,
|
| 103 |
+
author = {COINjecture Network B},
|
| 104 |
+
title = {Traveling Salesman Problem Solutions from Proof-of-Useful-Work Blockchain},
|
| 105 |
+
year = {2025},
|
| 106 |
+
publisher = {Hugging Face},
|
| 107 |
+
url = {https://huggingface.co/datasets/COINjecture/TSP_Solutions}
|
| 108 |
+
}
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
### Contact
|
| 112 |
+
|
| 113 |
+
For issues or questions, please open an issue on the [COINjecture GitHub repository](https://github.com/Quigles1337/COINjecture1337-REFACTOR).
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
**Generated automatically by COINjecture Network B blockchain nodes**
|