6. Linear Programming Flashcards
What are the 3 steps to formulating a linear programming problem?
- Define the decision variable
- State the objective
- Write the constraints as inequalities
What is the objective function?
The algebraic expression usually written in terms of the decision variables
Name 3 examples of constraints
- Time available
- Raw materials available
- Non-negativity
What is the feasible region?
Region of graph that satisfies all constraints of linear programming problem
By convention, should the feasible region be shaded or unshaded?
Unshaded - the rest of the graph is shaded
How do you solve a linear programming problem?
Find the point in the feasible region that maximises or minimises the objective function
Name 2 methods of finding an optimal solution
- Objective line / ruler method
2. Vertex testing method
Explain the objective line method
- Draw the objective line
- Use ruler to slide along the graph parallel to the objective line
- For a maximum point, look for the last point covered by the objective line as it leaves the feasible region
- For a minimum point, look for the first point covered by the objective line as it enters the feasible region
Explain the vertex testing method
- Find the co-ordinates of each vertex of the feasible region
- Evaluate the objective function at each of these points
- Select vertex that gives the optimal value of the objective function
What happens when a linear programming problem needs integer solutions?
Consider points with integer co-ordinates near the optimal vertex and evaluate the objective function to check they lie in the feasible region