4 RELATED WORK
A vast amount of effort for the establishment of the-
ory and practice is observed today. Certain spe-
cial cases of linear programming, such as network
flow problems and multi-commodity flow problems
are considered important enough to have generated
much research on specialized algorithms for their so-
lution (Winston, 1994; Thomas H. Cormen and Stein,
2001; Hillier and Lieberman, 2001). A number of
algorithms for other types of optimization problems
work by solving linear programming problems as sub-
problems. Historically, ideas from linear program-
ming have inspired many of the central concepts of
optimization theory, such as duality, decomposition,
and the importance of convexity and its generaliza-
tions (Hillier and Lieberman, 2001).
There are approaches considered to fit a linear pro-
gramming model, such as integer programming and
nonlinear programming (Alexander, 1998; Richard,
1991; Hillier and Lieberman, 2001). But, our re-
search focuses on the area of iterative methods for
solving linear systems. Some of the most significant
contributions and the chain of contributions building
on each other are summarized in (Saad and van der
Vorst, 2000), especially a survey of the transition
from simplex methods to interior-point methods is
presented in (Wang, 99). In terms of implementa-
tion techniques, the work of (Morgan, 1976; Shamir,
1987) provided us with introductory sources for ref-
erence. There are online materials such as (Optimiza-
tion Technology Center and Laboratory, 2007; Orga-
nization, 2007) to help us understand the details and
plan for experimental design.
5 CONCLUSION
The subject of this research is to respond a lack of
database tools for solving a linear programming prob-
lem defined within a database.
We described the aim and approach for integrat-
ing a linear programing method into today’s database
system, with our goal in mind to establish a seamless
and transparent interface between them. As demon-
strated, this is feasible by the use of stored procedures,
the emerging database programming standard that al-
lows for complex logic to be embedded as an API in
the database, thus simplifying data management and
enhancing overall performance.
We implemented a general linear programming
solver on top of the PHP and MySQL software layers.
The experiments with several benchmark problems
extracted from the Netlib library showed its correct
optimal solutions and basic performance measures.
The contents of this paper are the first dissemina-
tion of our upcoming series of publications—we plan
to extend this research into several directions. First,
the limiting factor of MySQL’s table column size for
the implementation needs to be addressed. Also, the
code must be optimized to reduce the overall execu-
tion time. Second, more experiments must be done
to collect additional performance measures. Further-
more, other commercial databases such as Oracle
should be included for comparative study, and non-
linear and other optimization methods should also be
explored.
REFERENCES
Alexander, S. (1998). Theory of Linear and Integer Pro-
gramming. John Wiley & Sons, New York, NY.
Dantzig, G. B. (1963). Linear Programming and Exten-
sions. Princeton University Press, Princeton, N.J.
Gulutzan, P. (2007). MySQL 5.0 New Features: Stored Pro-
cedures. MySQL AB, http://www.mysql.com.
Gulutzan, P. and Pelzer, T. (1999). SQL-99 Complete, Re-
ally. CMP Books.
Hillier, F. S. and Lieberman, G. J. (2001). Introduction to
Operations Research. McGraw-Hill, 8th edition.
Karmarkar, N. K. (1984). A new polynomial-time algorithm
for linear programming and extensions. Combinator-
ica, 4:373–395.
Morgan, S. S. (1976). A comparison of simplex method
algorithms. Master’s thesis, University of Florida.
Optimization Technology Center, N. U. and Laboratory,
A. N. (2007). The linear programming frequently
asked questions.
Organization, T. N. (2007). The netlib repository at utk and
ornl.
Richard, B. D. (1991). Introduction To Linear Program-
ming: Applications and Extensions. Marcel Dekker,
New York, NY.
Saad, Y. and van der Vorst, H. (2000). Iterative solution of
linear systems in the 20-th century. JCAM.
Shamir, R. (1987). The efficiency of the simplex method: a
survey. Manage. Sci., 33(3):301–334.
Thomas H. Cormen, Charles E. Leiserson, R. L. R. and
Stein, C. (2001). Introduction to Algorithms, Chap-
ter29: Linear Programming. MIT Press and McGraw-
Hill, 2nd edition.
Walsh, G. R. (1985). An Introduction to Linear Program-
ming. John Wiley & Sons, New York, NY.
Wang, X. (99). From simplex methods to interior-point
methods: A brief survey on linear programming al-
gorithms.
William H. Press, Saul A. Teukolsky, W. T. V. and Flannery,
B. P. (200 2). Numerical Recipes in C++: The Art of
Scientific Computing. Cambridge University.
Winston, W. L. (1994). Operations Research, Applications
and Algorithms. Duxbury Press.
LINEAR PROGRAMMING FOR DATABASE ENVIRONMENT
191