Simply change default value of fnm in function read_A to the file directory you want to split.
Modify nCol to specify how many columns to include in each instance.
Then run the program.
We also include script to perturb a given instance following a specific distribution.