Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TelescopeScheduling
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ADS
TelescopeScheduling
Commits
37df19ff
Commit
37df19ff
authored
2 years ago
by
Goes,M. (Martijn)
Browse files
Options
Downloads
Patches
Plain Diff
updated README, added small user input UI
parent
6b86fb08
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+7
-1
7 additions, 1 deletion
README.md
__pycache__/offline.cpython-310.pyc
+0
-0
0 additions, 0 deletions
__pycache__/offline.cpython-310.pyc
main.py
+6
-1
6 additions, 1 deletion
main.py
with
13 additions
and
2 deletions
README.md
+
7
−
1
View file @
37df19ff
...
...
@@ -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
This diff is collapsed.
Click to expand it.
__pycache__/offline.cpython-310.pyc
+
0
−
0
View file @
37df19ff
No preview for this file type
This diff is collapsed.
Click to expand it.
main.py
+
6
−
1
View file @
37df19ff
...
...
@@ -54,7 +54,12 @@ def PrintOutput(filename : str, endTime : float, imageTimes : List[float]):
print
(
f
"
\n
Results 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
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment