This repository contains an interface for solving linear optimization problems using the Simplex Method. The interface takes a linear optimization problem as input, calls an external executable file that solves the problem, and displays the solutions obtained.
The Simplex Method is a widely used algorithm for solving linear programming problems. This interface provides an easy-to-use tool for solving such problems without the need for understanding the intricacies of the underlying algorithm.
To use the interface, follow these steps:
-
Clone this repository: git clone https://github.com/Rawdyon/Optimization-simplex-method-interface.git
-
Install any necessary dependencies specified in the
requirements.txt
file. -
Place your linear optimization problem in a format compatible with the external executable file. This could be a text file or any other format accepted by the executable.
-
Run the script "SimplexMethod.py",
First the interface will request the number of your problem variables and constraints, and the type of optimization problem (could be for maximization or minimization) as input:
then will let you set the coeficients and constraints of your variables, this is an example for a Maximization problem with 3 variables 4 restrictions.
- The interface will call the external executable, solve the problem, and display the solutions obtained.
Contributions to improve the interface are welcome! If you encounter any bugs, have suggestions for improvements, or want to add new features, please let me know: