Main Article Content
A non-iterative basis selection algorithm for linear programming using directional cosines
Abstract
This paper presents a geometry-based non-iterative method for solving linear programming (LP) problems that have either three constraints or three decision variables. Instead of using iterative procedures like the simplex, Interior-point, and Criss-Cross methods, the method finds a basic feasible solution consistent with optimal results for the class of problems considered. The algorithm measures the directional cosines alignment between each constraint vector and the resource vector, picks the three most aligned constraints to form a 3×3 Dantzig matrix, and solves that small linear system for the decision variables and objective value. The algorithm was tested on standard textbook examples, and the results match conventional solvers exactly, but are obtained without pivoting or tableau updates, just one matrix inversion. The approach is fast and provides a very clear geometric visualization, making it useful as a pedagogical tool or as an initialization step in larger routines.


