Continuing with rant above: The problem of optimization is given some polyhedron $P$, let's say in standard form because why not, minimize some linear function $\mathbf{c}^T \mathbf{x}$ over it. The well-known algorithm for this is the simplex method, which based on the following idea: if a finite optimum is achieved, it's achieved at one of the vertices
This requires a proof but let's trust this for now. The idea is if it's not a vertex then the polyhedron contains some line (NOT ray) passing through that point and you can go towards one direction of the line, and do better. This can be made into a purely algorithmic way to achieve an optimum vertex.
The simplex method then starts at some vertex, and walks along "edges" of the polyhedron, to get to the optimal vertex.
This requires some setup to say purely algebraically. Here's a theorem: if $\mathbf{x}$ is a vertex of $P = \{A\mathbf{x} = \mathbf{b}, \mathbf{x} \geq 0\}$, then there exists an $m \times m$ nonsingular submatrix $B$ of $A$ obtained from choosing out some indices $B(1), \cdots, B(m)$, called the basic indices, and looking at the corresponding columns $B = [A_{B(1)}, \cdots, A_{B(m)}]$, such that $x_i = 0$ whenever $i \notin \{B(1), \cdots, B(m)\}$
$B$ is called the basis matrix of $\mathbf{x}$ (there may be multiple basis matrices for one vertex) and $x_{B(i)}$ the basic variables
This is a very geometrically unclear idea to me, to be honest. Being a vertex is a natural condition on the rows of $A$, not columns. The picture is as follows; consider the previous example with the triangle on the plane $x_1 + x_2 + x_3 = 1$, with $x_1 = 0$, $x_2 = 0$ and $x_3 = 0$ corresponding to the edges of the triangle. Take $x^* = (1, 0, 0)$ as a vertex. Then $x_1$ is a basic variable
This is the variable corresponding to the edge which is not active at $x^*$
Two vertices $x^*, y^*$ are adjacent in $P$ if they each have some basis which have all but one index in common
I mean, I guess alternatively you can say they are adjacent if there are $n-1$ linearly independent constraints active at either