For Ax=b, x≥0, a feasible vector x is basic when the columns Ai indexed by its positive coordinates are linearly independent. Equivalently, enlarge those columns to abasis, set every nonbasic coordinate to zero, and solve the resulting square system.