I am learning convex optimization, and confused by the definition of polyhedron.
it's easy understanding the polyhedron is defined as the solution of a finite number of linear inequalities. But why there is also linear equalities in the definition of convex optimization, section 2.2.4,page 31:
polyhedron is defined as the solution set of a finite number of linear equalities and inequalities: $$ p=\{ x| a_j^T \leq b_j, j=1, ..., m, c_j^T x = d_j, j=1, ..., p\} $$
linear equalities define hyperplane, not polyhedron.
As my understing: linear equalities define hyperplane, inequalities define halfspaces, intersection of finite halfspaces (it's finite linear inequalities) define polyhedron. But why there is a linear equalities constraint in the definition of the convex optimization book. it seems unreasonable.
As illustrated in the book after definition, Affine sets (e.g., subspaces, hyperplanes, lines), rays, line segments, and halfspaces are all polyhedra. So, the equalities and inequalities can't be true same time?
anyone can help?