title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | short_description |
---|---|---|---|---|---|---|---|---|
Linear Programming Solver |
📈 |
yellow |
pink |
gradio |
5.25.0 |
app.py |
false |
lpsolve |
A simple Gradio app for linear programming. This app solves linear programming problems using the Google OR-Tools library.
To use this app, please follow these steps.
- Enter the variables in the first input field, separated by commas (e.g.,
$x1,x2$ ). - Enter the constraints in the second input field, separated by commas (e.g., x1+2x2<=14, 3x1-x2>=0).
- Enter the objective function in the third input field (e.g., 3x1+4x2)
- Choose the optimization method (Min or Max) using the radio button.
- Click the 'Submit' button to solve the linear programming problem.
The app will display the optimization results, including the objective value, solution, number of variables, and number of constraints.