Following 4 files can solve the Multiprocessor scheduling problem:
ga_msp.pyMachine.pyListShd_p.pyListShd.py
Best results were found with ListShd.py, to run these files use:
python3 Code/ga_msp.py < input > output
python Code/Machine.py < input > output
python3 Code/ListShd_p.py < input > output
python Code/ListShd.py < input > output
input should have format specified by input_format.md
output will have the time taken by best schedule found.
-
Running
./convert.shwill take test cases from folders50 and 100convert format and output them inInputsfolder. -
e1.sh,e2.sh,e3.sh,e4.shwill runga_msp.py,Machine.py,ListShd_p.py,ListShd.pyon testcases inInputsfolder and output results inResult_filesfolder. -
eold.shwill generate input file from one of file in Generators and run all 4 above files on the input file. -
a.shreads the files inResult_filesand optimal times fromOptimal_valuesand outputs the average percentage above optimal values inResult_files/RESULT.txt