Linear Programming Flashcards

1
Q

Decision variables

A

The letters that represent the thing that varies in the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Objective function

A

How you get to what you are trying to minimise and maximise and whether it is a minimise or maximise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Constraints

A

The things that present you using an infinite amount of each variable. Each will give rise to one inequality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Feasible solution

A

Values for the decision variables that satisfy each constraint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Feasible region

A

The region that contains all the feasible solutions in a graphical problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Optimal solution

A

The feasible solution that meets the objective - there may be multiple optimal solutions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Formulating a problem as a linear programming problem

A

1) Define the decision variables (e.g. x = …)
2) State the objective (minimise/maximise variable = ax + by …)
3) Write the constraints as inequalities (x, y >= 0, must be written in terms of integers and simplified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What part of the graph do you shade?

A

The areas that fail to satisfy the inequality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Feasible region

A

The region of the graph that satisfies all the constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Objective line method

A

Choose a value for the objective function and plot that
Draw the line parallel to it which is highest/lowest in the feasible region
Substitute the values
If it is not easy to draw the line solve as simultaneous equations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Rules of constraints

A

x,y >= 0
Must be in terms of integers
Must be simplified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Vertex Testing Method

A

1) Find the coordinates of the vertices of the feasible region, including (0,0) and vertices made with the axes
2) Evaluate the objective function at each of these points in a table
3) Select the vertex that gives an optimal value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Vertex testing method table

A

(x,y) | max/min nx + my
——–|————————–
(x1,y1)| n(x1) + m(y1) = …

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Integer solutions method

A

1) Find the optimal vertex
2) Find all the combinations of x and y rounded up/down to the next integer
3) Using the inequalities that make the vertex, substitute the points into each and see if it works in a table, if it doesn’t don’t check again
4) See which one makes the best solution if multiple points remain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly