This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations  /

  • LinearProgramming[ c , m , b ] finds the vector x which minimizes the quantity c . x subject to the constraints and .
  • All entries in the vectors c and b and the matrix m must be numbers.
  • LinearProgramming gives exact rational number results if its input is exact.
  • LinearProgramming accepts the same Tolerance option as ConstrainedMax.
  • See the Mathematica book: Section 3.9.9.
  • See also: ConstrainedMin.

    Further Examples

    This is a linear programming problem given in terms of a cost function and inequalities.



    This is the same problem given in matrix form.