Awesome
NeurIPS_Two_Stage_Predict-Optimize
This repository is the official implementation of the paper: Two-Stage Predict+Optimize for Mixed Integer Linear Programs with Unknown Parameters in Constraints.
Download and extract the datasets.
To run the three benchmarks: the alloy production problem, the 0-1 knapsack problem, and the nurse scheduling problem:
- Enter the corresponding folder
- Move the dataset into the “data” folder and unzip all the data files
- Run “python3 train.py” For example, to run the brass experiment in the alloy production problem:
- Enter “./code/Alloy production” folder
- Move all the files in the“./data/Alloy production/brass” folder into the “./code/Alloy production/data” folder and unzip all the data files
- Run “python3 train.py”