linear programming Flashcards

1
Q

what is linear programming?

A

a technique of allocating resources in order to achieve the best results
- in profit maximising business - maximising contribution will maximise profit
- all business have some constraints (labour hrs/machine hrs)
- products have different profit margins
- products have different market demands

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

what do we use when we have one limiting factor?

A

(in relevant costing lectures)
we use ‘contribution per unit of scarce resource’ to allocate resources
- but what happens if there are more than one scarce resource/bottleneck activities?

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

what do we use when we have more than one limiting factor?

A

we use linear programming to solve problems where there is more than one limited resource!!
- we require an objective function

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

what is an objective function?

A

a statement of what is required e.g. maximise contribution, minimise costs

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

what are the 2 methods of solving a linear programming problem?

A
  • solving graphically by drawing the limiting resource equations and finding the edge of the feasible region
  • using software i.e. excel
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how do we solve a linear programming problem?

A
  • define the problem
  • formulate the problem
  • graph the model and find the optimum solution/use Excel Solver
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are the 2 major assumptions?

A

ADDITIVITY:
if one unit of A = 3hrs of labour, 15kg of material and if one unit of B = 2hrs, 5kgs
-> then one unit of A+B requires 5hrs of labour and 20kgs of material

DIVISIBILITY:
total resources required are directly proportional to the volume of output
- if 12 units of C requires 24 hrs of labour and 36 kgs of material
- then one unit of C requires 2 hrs and 3kgs

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

what are some other assumptions?

A
  • unit variable cost is constant i.e. no bulk buying discounts, efficiency and productivity constant
  • fixed costs remain the same regardless of the decision. therefore profit maximisation and contribution maximisation are the same thing
  • estimates of sales demand are certain
  • units of output are divisible and profit maximisation may include fractions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are constraints?

A

we cannot do everything that we want to because resources are scarce
- e.g. if our labour and machine time are restricted, our output will be limited because we cannot obtain enough labour and machine time

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

outline the method for formulating a linear programming model

A
  1. define terms (e.g. let P = number of product P)
  2. work out the contribution for each product
  3. state the objective function (e.g. need to maximise contribution maximise the sum of contributions for each product)
  4. state constraints: non-negativity is a constraint (we cannot produce less than 0 items and therefore need to state each product >= 0)
  5. if given information on expected hrs/materials (LIMITS) formulate that too (e.g. expects to have only 600 hrs of skilled labour and 2,000 hrs of unskilled labour: skilled labour limited to 30 + 4Q + T =< 600)
  6. state minimum requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

solving linear programming problems - graphical method

A

can solve problems using graphs but as a graph is 2-dimensional we can only use a graph if there are no more than 2 variables
- there can be a number of constraints but only 2 variables

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

what is the method when solving linear programming problems graphically?

A
  1. formulate linear programme model
  2. plot these on a graph (dont need to know how to): but an easy way is to find out H when S = 0 and find S when H = 0, don’t forget the limits too
  3. find the feasible area using the inequalities from constraints
  4. look at the vertices of the area - need to find out how much product will be produced at each point to see which produces the max contribution
  5. work out max contributions for each point of the feasible area
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is the easier way for solving linear programming problems graphically?

A

the iso-profit line !!

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

what is the iso-profit line?

A

the easiest way of working out max values. the FURTHEST away from the origin you can get within the feasible region (on the lines) the better

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

how do you find the optimum solution using the iso-profit line?

A
  • plot the objective function (iso-profit line)
  • see where it touches (leaves) the feasible region !
  • read off the graph or solve by simultaneous equation to find values of H and S
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is the method when using the iso-profit line?

A
  1. find the gradient of the objective function (this just gives the objective function a value!)
  2. choose a value that is a multiple og both the variables in the equation (e.g. 2S + 3H -> multiple of both is 6 but if area is bigger i.e. in the thousands make it 6000)
  3. find out where it crosses the axis by setting each variable to 0 and solving the equation (e.g. working with the equation 2S + 3H = 6,000, so when S = 0, H = 2000 and when H = 0, S = 3000)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

what is the optimal solution ?

A

the line at the point where contribution is maximised

18
Q

when is a constraint binding?

A

if changing the constraint alters the optimal solution !
- two constraints may be binding if max contribution is obtained where they both coincide

19
Q

when is a constraint non-binding?

A

if they do not affect the optimal solution!
- if it is beyond the optimal solution then it will be non-binding

20
Q

explain how you can use Excel for linear programming

A
  • instead of preparing a graph we can use an add-in within excel to solve linear programming problems
  • still need to define and formulate the problem and then insert the equations into solver (will not be asked to create a problem solver, only interpret it !!)
21
Q

what 2 kinds of results do you get from Excel Solver?

A
  • an answer result (the table values including target cells, adjustable cells and constraints)
  • sensitivity result
22
Q

what does the target cell give you?

A

final value gives us the maximum contribution achievable with these constraints

23
Q

what do the adjustable cells (aka variable cells) tell us?

A

final values tell us how many units of S and H to produce to achieve this maximum contribution

24
Q

what does the cell value of the constraints tell us?

A

the quantities being used

25
what is the slack column?
where there is no slack these are binding constraints - all available units are being utilised!!
26
when is it not binding?
if the slack is not 0 then it is not binding !! - if the values in the cell value (quantity used) fulfil the inequalities in the formula column then it is non binding !
27
how is the slack calculated?
it is calculated by working out the difference between number in the formula equation and the cell value column
28
optimal solution - excel solver
- when we arrive at the optimal solution, it is on the understanding that the constraints, costs and prices are known with certainty and fixed in quantity - however, we can test how the solution would change if the quantity of scarce resources were to change
29
what is a sensitivity analysis?
this is testing how the optimal solution would change if there were MORE/LESS of a SCARCE resource therefore testing whether it would be worthwhile obtaining more of a resource by paying a premium for it (e.g. overtime) - i.e. testing to see what would happen if the product prices change - includes both adjustable/variable cells and constraints
30
what does the final value column show in the adjustable cells (sensitivity report)?
number of units that maximises contribution
31
what does the objective coefficient column show in the adjustable cells (sensitivity report)?
contribution earned from each unit
32
what does the allowable increase column show in the adjustable cells (sensitivity report)?
the amount by which contribution could increase or decrease before the optimum solution CHANGES - i.e. if we increase S by 0.23, and allowable increase is 0.25, it would still be best to produce 2400 S and 1200 H
33
what does the final value column show in the constraints (sensitivity report)?
these are the constraints for each activity (in example steel forming and plastic bonding)
34
what does the shadow price column show in the constraints (sensitivity report)?
(aka opportunity cost or dual price) shows how much contribution would increase if one more unit of a resource is available, or how much contribution would decrease if one less unit is available
35
what does the allowable increase column show in the constraints (sensitivity report)?
shows how much the constraint can be increased by before some other constraint replaces this as a binding constraint
36
what does the allowable decrease column show in the constraints (sensitivity report)?
this shows how much the constraint can decrease by before some other constraint replaces this as a binding constraint
37
what is a shadow price?
- aka dual price or opportunity cost - increase in contribution (and therefore profit) that would be created from having one extra unit of a limiting resource OR - the decrease in contribution (and therefore profit) that would be lost from losing a unit of a limiting resource - determines the maximum worth paying for additional scarce resources - important for cost control (can incorporate opportunity costs into variance analysis)
38
how do you calculate shadow price?
1. use the formulas from the constraints (e.g. plastic bonding: 0.4S +1.2H = 2,400; steel forming: 0.6S + 0.8H = 2,400) 2. what if we have one more hour of plastic bonding? add one to plastic bonding!! -> PB: 0.4S + 1.2H = 2,401 3. use simultaneous equations to get a value of either H or S 4. substitute this value back into equation to get the other value of H or S 5. compare the new values of H and S to old values - has there been an increase/decrease?
39
assumptions and limitations of linear programming
- FCs remain the same - the unit variable cost is constant - the estimates are known with certainty - units of output are divisible - in practice it may be difficult to determine which resources are likely to be in short supply, how much will be available, and whether all possible uses have been identified
40
what are the uses of linear programming?
- product mix - budgetary planning (both revenue and capital) - calculation of relevant costs (acquisition cost of resource and opportunity cost) - maximum payment for additional scarce resources - production scheduling - blending of materials - transportation / distribution - personnel planning/scheduling