Three kinds of part
Objective function Z = ax + by, decision variables x and y, and the constraints.
What the parts are called
The dealer’s problem: maximise Z = 250x + 75y, where x, y are the numbers of tables and chairs, subject to 5x + y ≤ 100, x + y ≤ 60, x ≥ 0, y ≥ 0.
What do you think x ≥ 0 and y ≥ 0 are?
What this lesson covers
The idea
The linear function Z = ax + by to be maximised or minimised is the objective function, x and y are decision variables, and the linear inequalities on them, including x ≥ 0, y ≥ 0, are the constraints.
What the parts are called
The dealer’s problem: maximise Z = 250x + 75y, where x, y are the numbers of tables and chairs, subject to 5x + y ≤ 100, x + y ≤ 60, x ≥ 0, y ≥ 0.
What do you think x ≥ 0 and y ≥ 0 are?
- constraints
- the objective function
- decision variables
Sort the parts
Sort each card: the function to optimise, a condition, or a variable the dealer chooses.
The parts of a linear programming problem
The linear function Z = ax + by (a, b constants) to be maximised or minimised is the objective function. x and y are the decision variables. The linear inequalities (or equations) on the variables are the constraints; x ≥ 0, y ≥ 0 are the non-negative restrictions.
A linear programming problem finds the optimal (maximum or minimum) value of a linear objective function of the variables, which are non-negative and satisfy linear constraints.
“Linear”: all the relations are linear. “Programming”: finding a programme, a plan of action.
Notes
Objective function: Z = ax + by, to maximise or minimise. Decision variables: x, y. Constraints: the linear inequalities, including x ≥ 0, y ≥ 0.
Check yourself
Example 2: minimise Z = 200x + 500y subject to x + 2y ≥ 10, 3x + 4y ≤ 24, x ≥ 0, y ≥ 0. The objective function is …
Which of these cannot be the objective function of a linear programming problem?
x ≥ 0, y ≥ 0 are called …
- x + 2y ≥ 10. That is a constraint.
- 200x + 500y — correct. Yes! It is the function to be minimised.
- the minimum value, 2300. That is the optimal value, not the function.
- Z = x² + y — correct. Right. x² is not linear.
- Z = −50x + 20y. Linear: Example 4 uses it.
- Z = 3x + 9y. Linear: Example 3 uses it.
- the decision variables of the problem. x and y are the decision variables; these inequalities restrict them.
- objective functions. Nothing is maximised here.
- non-negative restrictions — correct. Yes! You cannot buy a negative number of tables.