Definition of A Linear Program
Definition of A Linear Program
Definition of A Linear Program
Examples:
• x1
• 5x1 + 6x4 − 2x2 + 1
•3
Non-examples:
• x21
• x1 + 3x2 − 4x43
• x1 x2
Linear Inequalities
Definition: For any linear function f (x1, x2, . . . , xn) and any number b, the
inequalities
f (x1, x2, . . . , xn) ≤ b
and
f (x1, x2, . . . , xn) ≥ b
are linear inequalities.
Examples:
• x1 + x2 ≤ 4
• 5x1 − 4 ≥ 0
Definition: For any linear function f (x1, x2, . . . , xn) and any number b, the
equality
f (x1, x2, . . . , xn) = b
is a linear equality.
LPs
Definition: The feasible region in a linear program is the set of all possible
feasible solutions.
Comments:
• Whether these assumptions hold is a feature of the model, not of linear
programming itself.
• They often do not hold.
• They may be close to holding, or may hold in the region we are about:
e.g.
– proportionally and additivity may hold in the feasible region
– divisibility may not hold, but the conclusions of the model will be
approximately sound anyway
– certainty may not hold, but we may have good estimates
Whenever we solve a model using linear programming, we should be
aware of these assumptions, and ask ourselves whether they hold, and
whether the solution makes sense.
Geometry Definitions