In the theory of linear programming, a basic feasible solution (BFS) is a solution with a minimal set of non-zero variables. Geometrically, each BFS corresponds to a vertex of the polyhedron of feasible solutions. If there exists an optimal solution, then there exists an optimal BFS. Hence, to find an optimal solution, it is sufficient to consider the BFS-s. This fact is used by the simplex algorithm, which essentially travels from one BFS to another until an optimal solution is found.
Definitions
Preliminaries: equational form with linearly-independent rows For the definitions below, we first present the linear program in the so-called equational form:
maximize 𝐜𝐓𝐱 subject to A𝐱=𝐛 and 𝐱≥0 where:
𝐜𝐓 and 𝐱 are vectors of size n (the number of variables); 𝐛 is a vector of size m (the number of constraints); A is an m-by-n matrix; 𝐱≥0 means that all variables are non-negative. Any linear program can be converted into an equational form by adding slack variables. As a preliminary clean-up step, we verify that:
The system A𝐱=𝐛 has at least one solution (otherwise the whole LP has no solution and there is nothing more to do); All m rows of the matrix A are linearly independent, i.e., its rank is m (otherwise we can just delete redundant rows without changing the LP).
Feasible solution A feasible solution of the LP is any vector 𝐱≥0 such that A𝐱=𝐛. We assume that there is at least one feasible solution. If m = n, then there is only one feasible solution. Typically m < n, so the system A𝐱=𝐛 has many solutions; each such solution is called a feasible solution of the LP.
Basis A basis of the LP is a nonsingular submatrix of A, with all m rows and only m<n columns. Sometimes, the term basis is used not for the submatrix itself, but for the set of indices of its columns. Let B be a subset of m indices from {1,...,n}. Denote by AB the square m-by-m matrix made of the m columns of A indexed by B. If AB is nonsingular, the columns indexed by B are a basis of the column space of A. In this case, we call B a basis of the LP. Since the rank of A is m, it has at least one basis; since A has n columns, it has at most (nm) bases.
Basic feasible solution Given a basis B, we say that a feasible solution 𝐱 is a basic feasible solution with basis B if all its non-zero variables are indexed by B, that is, for all j∉B: xj=0.
Properties 1. A BFS is determined only by the constraints of the LP (the matrix A and the vector 𝐛); it does not depend on the optimization objective. 2. By definition, a BFS has at most m non-zero variables and at least n-m zero variables. A BFS can have less than m non-zero variables; in that case, it can have many different bases, all of which contain the indices of its non-zero variables. 3. A feasible solution 𝐱 is basic if-and-only-if the columns of the matrix AK are linearly independent, where K is the set of indices of the non-zero elements of 𝐱.
4. Each basis determines a unique BFS: for each basis B of m indices, there is at most one BFS 𝐱𝐁 with basis B. This is because 𝐱𝐁 must satisfy the constraint AB𝐱𝐁=b, and by definition of basis the matrix AB is non-singular, so the constraint has a unique solution: 𝐱𝐁=AB−1⋅b The opposite is not true: each BFS can come from many different bases. If the unique solution of 𝐱𝐁=AB−1⋅b satisfies the non-negativity constraints 𝐱𝐁≥0, then B is called a feasible basis. 5. If a linear program has an optimal solution (i.e., it has a feasible solution, and the set of feasible solutions is bounded), then it has an optimal BFS. This is a consequence of the Bauer maximum principle: the objective of a linear program is convex; the set of feasible solutions is convex (it is an intersection of hyperspaces); therefore the objective attains its maximum in an extreme point of the set of feasible solutions. Since the number of BFS-s is finite and bounded by (nm), an optimal solution to any LP can be found in finite time by just evaluating the objective function in all (nm)BFS-s. This is not the most efficient way to solve an LP; the simplex algorithm examines the BFS-s in a much more efficient way.
Examples Consider a linear program with the following constraints: x1+5x2+3x3+4x4+6x5=14x2+3x3+5x4+6x5=7∀i∈{1,…,5}:xi≥0 The matrix A is: A=(1534601356) 𝐛=(14 7) Here, m=2 and there are 10 subsets of 2 indices, however, not all of them are bases: the set {3,5} is not a basis since columns 3 and 5 are linearly dependent. The set B={2,4} is a basis, since the matrix AB=(5415) is non-singular. The unique BFS corresponding to this basis is xB=(0 2 0 1 0).
Geometric interpretation
The set of all feasible solutions is an intersection of hyperspaces. Therefore, it is a convex polyhedron. If it is bounded, then it is a convex polytope. Each BFS corresponds to a vertex of this polytope.
Basic feasible solutions for the dual problem As mentioned above, every basis B defines a unique basic feasible solution 𝐱𝐁=AB−1⋅b . In a similar way, each basis defines a solution to the dual linear program:
minimize 𝐛𝐓𝐲 subject to AT𝐲≥𝐜. The solution is 𝐲𝐁=ABT−1⋅c.
Finding an optimal BFS There are several methods for finding a BFS that is also optimal.
… excerpt ends here. Continue reading the full article.
