Skip to content
Snippets Groups Projects
Commit 37df19ff authored by Goes,M. (Martijn)'s avatar Goes,M. (Martijn)
Browse files

updated README, added small user input UI

parent 6b86fb08
No related branches found
No related tags found
No related merge requests found
......@@ -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
No preview for this file type
......@@ -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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment