You are Here: Home >< Maths

# D1 - linear programming problem?

Announcements Posted on
Why bother with a post grad? Are they even worth it? Have your say! 26-10-2016

Question 8 - I don't even know where to begin

Help would be greatly appreciated, P.S. I have looked at the mark scheme and I still fail to understand!
2. What don't you understand?
3. (Original post by NotNotBatman)
What don't you understand?
How to formulate the problem
4. (Original post by iMacJack)
How to formulate the problem
When formulating a linear programming program, you need to first write the objective function, which is usually minimise (total) cost or maximise (total) profits, then list the constraints, by writing "subject to..."

All of the information is given in the question; work out the cost of Pack A and Pack B and multiply each by their quantities x and y; this gives the total cost.

For the constraints.

There must be at least 15000 flyers, the number of flyers in pack A is 20 and is 50 in pack B, so the number of flyers in total is 20x + 50y,(this is 20 times the number of Pack A's sold + 50 times the number of pack B's sold); this must be greater than 15000, so 20x +50y > 15000. Do the same with the other constraints.
5. (Original post by NotNotBatman)
When formulating a linear programming program, you need to first write the objective function, which is usually minimise (total) cost or maximise (total) profits, then list the constraints, by writing "subject to..."

All of the information is given in the question; work out the cost of Pack A and Pack B and multiply each by their quantities x and y; this gives the total cost.

For the constraints.

There must be at least 15000 flyers, the number of flyers in pack A is 20 and is 50 in pack B, so the number of flyers in total is 20x + 50y,(this is 20 times the number of Pack A's sold + 50 times the number of pack B's sold); this must be greater than 15000, so 20x +50y > 15000. Do the same with the other constraints.
I get the easy bits but I don't understand how they got the objective function as minimise c = 660x + 600y, and also I don't get how you do the between 40 and 60 percent bit?

Sorry to be a pain, you're being really helpful!
6. (Original post by iMacJack)
I get the easy bits but I don't understand how they got the objective function as minimise c = 660x + 600y, and also I don't get how you do the between 40 and 60 percent bit?

Sorry to be a pain, you're being really helpful!
15p per poster and 3p per flyer. If there is 40 posters and 20 flyers in Pack A, then the cost of producing 1 of pack A is , do the same with Pack B and you'll get 600.

The total number of packs is the number of A + the number of B, so (x+y).
You want x, the number of pack A's to be between 40% and 60% of (x+y), so form an inequality using fractions for the percentages.
7. (Original post by NotNotBatman)
15p per poster and 3p per flyer. If there is 40 posters and 20 flyers in Pack A, then the cost of producing 1 of pack A is , do the same with Pack B and you'll get 600.

The total number of packs is the number of A + the number of B, so (x+y).
You want x, the number of pack A's to be between 40% and 60% of (x+y), so form an inequality using fractions for the percentages.
Ahhhhhhhhhhhhhhh!!! You make it so much easier! Much appreciated!

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: June 4, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

### University open days

Is it worth going? Find out here

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read here first

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams