Linear Programming (LP)#
The main feature of a linear programming problem (LPP) is that all functions involved, the objective function and those expressing the constraints, must be linear. The appereance of a single nonlinear function anywhere, suffices to reject the problem as an LPP.
Tip
For problems starting from medium size, it is suggested to use the
solve_standard_form
to solve linear problems.
The definition of an LPP is expected in General Form:
where \(c_i, b_i\), and \(a_{j,i}\) are the data of the problem. It can be shown, that all problems that admit the general form can be simplified to a Standard Form:
where \(\mathbf{b} \in \mathbf{R}^m, \mathbf{c} \in \mathbf{R}^n\) and \(\mathbf{A}\) is an \(m \times n\) matrix with \(n>m\) and typically \(n\) much greater than \(m\).