I'm having trouble understanding the second constraint.
"A theater is presenting a program on drinking and driving for students and their parents[...] admission is $2.00 for parents and $1.00 for students. However, the situation has two constraints: 1) The theater can hold no more than 150 people and 2) every two parents must bring at least one student. How many parents and students should attend to raise the maximum amount of money?"
Let x = number of students
y = number of parents
Since the question prompt wants the maximum amount of revenue, then the objective function is z = x + 2y
The theater can hold no more than 150 people so the first constraint is simply: x + y <= 150
The second constraint is, "every two parents must bring at least one student," but I don't understand how to model this.
I've looked up a solution and it said y <= 2x is how to model this constraint, but I don't understand why. If there must be at least one student for every two parents then why wouldn't the inequality be 2y >= x?
"A theater is presenting a program on drinking and driving for students and their parents[...] admission is $2.00 for parents and $1.00 for students. However, the situation has two constraints: 1) The theater can hold no more than 150 people and 2) every two parents must bring at least one student. How many parents and students should attend to raise the maximum amount of money?"
Let x = number of students
y = number of parents
Since the question prompt wants the maximum amount of revenue, then the objective function is z = x + 2y
The theater can hold no more than 150 people so the first constraint is simply: x + y <= 150
The second constraint is, "every two parents must bring at least one student," but I don't understand how to model this.
I've looked up a solution and it said y <= 2x is how to model this constraint, but I don't understand why. If there must be at least one student for every two parents then why wouldn't the inequality be 2y >= x?
Last edited: