Download src/xp1/1_run.py from Albidar/combilatent: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/Albidar/combilatent/resolve/main/src/xp1/1_run.py
- Command line
-
hf download hf://Albidar/combilatent/src/xp1/1_run.py
-
curl -L -o 1_run.py https://huggingface.co/Albidar/combilatent/resolve/main/src/xp1/1_run.py
575 Bytes
| from src.create_dataset import create_dataset | |
| params = [ | |
| { | |
| "testing": False, | |
| "nb_jobs": nb_jobs, | |
| "nb_machines": nb_machines, | |
| "time_min": 0, | |
| "time_max": 1, | |
| "nb_samples": 0, | |
| "init_type": "exhaustive", | |
| "output_dir": f"outputs/exhaustive_{nb_jobs}_{nb_machines}", | |
| "seed": 97, | |
| "normalize_makespans": True, | |
| "pfsp_instance": "", | |
| "autoname_output_dir": False, | |
| } | |
| for nb_jobs in range(9, 10) | |
| for nb_machines in range(6, 7) | |
| ] | |
| for param in params: | |
| create_dataset(**param) |