diff --git a/README.md b/README.md index 8f79a3d6d174aca399755a4072e11f8331e75ea9..bc1459148e47c057b8dcb1809eac709ae2c022b0 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,10 @@ Sander Boot (1678973) Martijn Goes (6299474) Glenn Hamers (6431763) -Internally visible at https://git.science.uu.nl/ads/telescopescheduling for UU GitLab members. \ No newline at end of file +https://git.science.uu.nl/ads/telescopescheduling should be visible for all UU GitLab members. +Alternatively, visit https://git.science.uu.nl/users/m.goes/groups where the group "ADS" (ID 11496) is visible, which holds TelescopeScheduling. +Or search for "TelescopeScheduling" in the search bar "Seach GitLab". + +Please contact m.goes@students.uu.nl if anything is not accesible. + +If you want to run your own test case, change any of the input text files. \ No newline at end of file diff --git a/__pycache__/offline.cpython-310.pyc b/__pycache__/offline.cpython-310.pyc index a1d069d0953062f43e1776e852bfbea0694f6255..b37304d8046c7452719404e8f43c101b62ef62ab 100644 Binary files a/__pycache__/offline.cpython-310.pyc and b/__pycache__/offline.cpython-310.pyc differ diff --git a/main.py b/main.py index 44e840647db83636311f45f387012ff6ba4622f9..8f3df42c8783dedf858364d42c2afc4b6a2d35fd 100644 --- a/main.py +++ b/main.py @@ -54,7 +54,12 @@ def PrintOutput(filename : str, endTime : float, imageTimes : List[float]): print(f"\nResults written to {filename}, program finished.") if __name__ == "__main__": - testcase = 7 + askinput = "Enter the test case number (0,1,2,3,4,5,6,7,8 or 9): " + testcase = input(askinput) + while testcase not in ["0","1","2","3","4","5","6","7","8","9"]: + print("Incorrect, please only enter the number 0 through 9.") + testcase = input(askinput) + testcase = int(testcase) print(f"=====> START SOLVING TESTCASE {testcase}... <=====") parsedIn = ParseInput(f"t{testcase}_in.txt") res = LP.Solve(parsedIn[0], parsedIn[1])