- A linear function to be maximized
- e.g.

- Problem constraints of the following form
- e.g.
- Non-negative variables
- e.g.
Example
Suppose that a farmer has a piece of farm land, say L km2, to be planted with either wheat or barley or some combination of the two. The farmer has a limited amount of fertilizer, F kilograms, and insecticide, P kilograms. Every square kilometer of wheat requires F1 kilograms of fertilizer and P1 kilograms of insecticide, while every square kilometer of barley requires F2 kilograms of fertilizer and P2 kilograms of insecticide. Let S1 be the selling price of wheat per square kilometer, and S2 be the selling price of barley. If we denote the area of land planted with wheat and barley by x1 and x2 respectively, then profit can be maximized by choosing optimal values for x1 and x2. This problem can be expressed with the following linear programming problem in the standard form:Maximize: ![]() |
(maximize the revenue—revenue is the "objective function") | |
| Subject to: | ![]() |
(limit on total area) |
![]() |
(limit on fertilizer) | |
![]() |
(limit on insecticide) | |
![]() |
(cannot plant a negative area). | |
- maximize

- subject to

Augmented form (slack form)
Linear programming problems can be converted into an augmented form in order to apply the common form of the simplex algorithm. This form introduces non-negative slack variables to replace inequalities with equalities in the constraints. The problems can then be written in the following block matrix form:- Maximize
: 

are the newly introduced slack variables, and
is the variable to be maximized.Example
The example above is converted into the following augmented form:-
Maximize: 
(objective function) subject to: 
(augmented constraint) 
(augmented constraint) 
(augmented constraint)
.
are (non-negative) slack variables, representing in this example the
unused area, the amount of unused fertilizer, and the amount of unused
insecticide.In matrix form this becomes:
- Maximize
: 







No comments:
Post a Comment