counting / maths /operations_research /operations_research_tab.py
spagestic's picture
Refactor Operations Research Interfaces and Add Utility Functions
79bc79a
raw
history blame contribute delete
625 Bytes
import gradio as gr
from maths.operations_research.BranchAndBoundSolver import branch_and_bound_interface
from maths.operations_research.DualSimplexSolver import dual_simplex_interface
from maths.operations_research.simplex_solver_with_steps import simplex_solver_interface
operations_research_interfaces_list = [
branch_and_bound_interface, dual_simplex_interface, simplex_solver_interface
]
operations_research_tab_names = ["Branch & Bound", "Dual Simplex", "Simplex Steps"]
operations_research_tab = gr.TabbedInterface(operations_research_interfaces_list, operations_research_tab_names, title="Operations Research")