Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Linear Programming

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Linear programming problems have the following characteristics:

  • Linear objective function
  • Solution set X with a polyhedron shape defined by linear inequality constraints
  • Continuous f(x)
  • Partially combinatorial structure

Solving linear programming problems involves finding the optimal value of f(x) where f(x) is a linear combination of variables, as shown in Equation A.

f(x) = a1x1 + … + anxn (A)

The value of f(x) in Equation A can have the following constraints:

  • Primary constraints of xi ≥ 0, …, xn ≥ 0
  • Additional constraints of M = m1 + m2 + m3
  • m1 of the following form
    ai1x1 + … + ainxnbi, (bi ≥ 0), i = 1, …, m1
  • m2 of the following form
    aj1x1 + … + ajnxnbj, (bj ≥ 0), j = m1 + 1, …, m1 + m2
  • m3 of the following form
    ak1x1 + … + aknxn = bk, (bk ≥ 0), k = m1 + m2 + 1, …, M

Any vector x that satisfies all the constraints on the value of f(x) constitutes a feasible answer to the linear programming problem. The vector yielding the best result for f(x) is the optimal solution.

The following relationship represents the standard form of the linear programming problem.

min{cTx:Ax = b, x ≥ 0} (B)

where is the vector of unknowns, is the cost vector, and is the constraint matrix. At least one member of solution set X is at a vertex of the polyhedron that describes X.

Linear Programming Simplex Method

A simplex describes the solution set X for a linear programming problem. The constraints on the value of f(x) define the polygonal surface hyperplanes of the simplex. The hyperplanes intersect at vertices along the surface of the simplex. The linear nature of f(x) means the optimal solution is at one of the vertices of the simplex. The linear programming simplex method iteratively moves from one vertex to the adjoining vertex until moving to an adjoining vertex no longer yields a more optimal solution.

Note  Although both the linear programming simplex method and the nonlinear downhill simplex method use the concept of a simplex, the methods have nothing else in common.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit