Creating a GUI Solver for Linear Programming Models in MATLAB

Lee Siaw Chong, Chin Jia Xin


The concept of linear programming (LP) was developed to find out the best solution among all feasible solutions in an optimization problem. This technique becomes much popular and attains great attention from researchers due to its wide application in engineering, computer science, marketing, military and industries. Nowadays, there are many commercial software that apply this technique to solve optimization problems, e.g. Excel Solver, TORA, AMPL, LINGO and MATLAB. In this paper, we aim to use MATLAB to develop a Graphical User Interface (GUI) solver for LPs, namely LpSolver. The LP methods that will be included in our solver are the simplex method, the Big-M method, the Two-Phase method and the Dual-Simplex method. We try to make our solver perform calculations in symbolic form so that the result will be free from rounding errors. Besides that, we added a few features such as creating animated 2-D graphs and generating a detailed tableau showing all intermediate iterative results; in which the user can use it to trace the convergence path that leads to the optimal solution. In the later part of this paper we test our solver with a simple classroom sized problem.


Linear Programming; Simplex method; MATLAB

Full Text:


Copyright (c) 2018 Journal of Science and Technology

ISSN : 2229-8460

e-ISSN : 2600-7924

Creative Commons License
This OJS site and its metadata are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.