-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain_program.py
More file actions
27 lines (19 loc) · 1.99 KB
/
main_program.py
File metadata and controls
27 lines (19 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import run_functions
import tkinter
window = tkinter.Tk()
window.title("GUI")
window.geometry('650x400')
label = tkinter.Label(window, text = "Which algorithm do you want?",font=("Arial Bold", 15)).pack()
tkinter.Button(window, text = "Kruskal MST and Algorithm MWM with User Input", command = run_functions.userTSP_Kruskal_MST_Algorithm_MWM).pack()
tkinter.Button(window, text = "Kruskal MST and Formulation MWM with User Input", command = run_functions.userTSP_Kruskal_MST_Formulation_MWM).pack()
tkinter.Button(window, text = "Prim MST and Algorithm MWM with User Input", command = run_functions.userTSP_Prim_MST_Algorithm_MWM).pack()
tkinter.Button(window, text = "Prim MST and Formulation MWM with User Input", command = run_functions.userTSP_Prim_MST_Formulation_MWM).pack()
tkinter.Button(window, text = "Formulation MST and Algorithm MWM with User Input", command = run_functions.userTSP_Formulation_MST_Algorithm_MWM).pack()
tkinter.Button(window, text = "Formulation MST and Formulation MWM with User Input", command = run_functions.userTSP_Formulation_MST_Formulation_MWM).pack()
tkinter.Button(window, text = "Kruskal MST and Algorithm MWM with TSPLIB Input", command = run_functions.TSPlib_Kruskal_MST_Algorithm_MWM).pack()
tkinter.Button(window, text = "Kruskal MST and Formulation MWM with TSPLIB Input ", command = run_functions.TSPlib_Kruskal_MST_Formulation_MWM).pack()
tkinter.Button(window, text = "Prim MST and Algorithm MWM with TSPLIB Input", command = run_functions.TSPlib_Prim_MST_Algorithm_MWM).pack()
tkinter.Button(window, text = "Prim MST and Formulation MWM with TSPLIB Input", command = run_functions.TSPlib_Prim_MST_Formulation_MWM).pack()
tkinter.Button(window, text = "Formulation MST and Algorithm MWM with TSPLIB Input", command = run_functions.TSPlib_Formulation_MST_Algorithm_MWM).pack()
tkinter.Button(window, text = "Formulation MST and Formulation MWM with TSPLIB Input", command = run_functions.TSPlib_Formulation_MST_Formulation_MWM).pack()
window.mainloop()