############################## COPYRIGHT ##############################

All rights reserved. The authorized use of this data is limited to informational and educational purposes only, and NOT for operational or commercial purposes. No part of this zip file including all the data generation files and example data output files may be reproduced, distributed, or transmitted in any form or by any means, without the prior written permission of Prof. Siqian Shen (siqian@umich.edu). For permission requests, write to Siqian Shen (siqian@umich.edu), with a subject “Attention: Permissions for Using Benders_LearnBD Ins Data and Code.”

############################## LIST OF FILES ############################## 
Benders_SVM_LearnBD_Data_Code
|
|
+---src   # contains sample source code for solving Capacitated Facility Location Problem (CFLP)
|   |    reading_data.py   # source code to read determinstic source data file
|   |    scenario_generation.py   # source code to generate random scenarios of factory demand realizations
|   |    learnBD.py   # sample source code of LearnBD to solve CFLP, where SVM is trained with default hyper-parameters  
|   |    BD.py   # sample source code of BD to solve CFLP, generating same output as learnBD to compare these two appraoches 
|
\---data_cap41   # sample data of Capacitated Facility Location Problem (CFLP)
    |    cap41.txt   # sample source data of Instance cap41, from Instance 1 in Problem Sets IV in Beasley (1988), which is originally from Akinc and Khumawala (1977) and Christofides and Beasley (1983). 
    |    model_input.txt   # an example of model input data (10 scenarios), read from cap41.txt by reading_data.py and the demand randomness are generated by scenario_generation.py
    |    train_data.xls   # training data (100 scenarios, K=2, N=2*nscenario=200), i.e., cut information, generated in Phase 1 of LearnBD
    |    phase1_time.xls   # time for solving master and sub problems in Phase 1 of LearnBD
    \    plot_data_result.xls   # a sample result over iterations by traditioanl BD and LearnBD (of Phase 3), results are from learnBD.py and BD.py (the first few iterations with no added cuts of LearnBD have been eliminated)
 


Descriptions of models and parameter settings see Jia, H. and Shen, S., “Benders cut classification via Support Vector Machines for solving two-stage stochastic programs”, INFORMS Journal on Optimization, 2020