0
$\begingroup$

You are about to take a test that contains computation problems worth 6 points each and word problems worth 10 points each. You can do a computation problem in 2 minutes and a word problem in 4 minutes. You have 40 minutes to take the test and may answer no more than 12 problems. Let x represent the number of computation problems and y the number of word problems. Write the objective function to determine how many of each question type you should answer to maximize your score. Assume you answer all the problems attempted correctly.Which are constraints for this problem?

It's not system of equations, it's linear programming.

$\endgroup$
  • 2
    $\begingroup$ We know what kind of problem it is. But you haven't told us what you've tried and what you don't understand. $\endgroup$ – symplectomorphic Jul 6 '14 at 5:07
  • 2
    $\begingroup$ I don't get how to use it without using systems. $\endgroup$ – user156162 Jul 6 '14 at 7:21
  • $\begingroup$ You have to use the simplex-algorithm to solve this problem-after writing down the function (which has to be maximized) and the constraints. $\endgroup$ – callculus Jul 6 '14 at 19:31
1
$\begingroup$

Technically this is a poorly posed question. What the variables ought to represent are the number of computation and word problems you attempt, not, as it says, the number of problems, period.

In any case, every linear programming problem has the same structure: you specify the variables; then write down a function of the variables, called the objective function, which represents the quantity you are trying to optimize (maximize or minimize); then you write down your constraints, which are usually inequalities but can also include equations; then you solve the system of constraint inequalities, which gives the "feasible region"; and finally you find the optimum value of your objective function by looking at its values on the corners of the feasible region.

The first part of the problem is done for you: they told you (if imprecisely, as I said at the beginning) what the variables are.

So the next step is to write the objective function. In your problem, you're trying to maximize the score on your test. But you get 6 points for every computation problem you get right and 10 points for every word problem. So you'd like to maximize $$6x+10y$$

That is the objective function.

Next, you write your constraints. There are two constraints in your problem: a constraint on the time you can spend (no more than 40 minutes) and a constraint on how many problems you can attempt (no more than 12).

The first constraint can be written $$2x+4y\leq40$$ because it takes you 2 minutes to attempt a computation problem and 4 minutes to attempt a word problem.

The second constraint can be written $$x+y\leq12$$

$\endgroup$
-1
$\begingroup$

To get started I write down the first constrain, which is described in the sentence: "You have 40 minutes to take the test and may answer no more than 12 problems."

$2x+4y \leq 40$

Is this inequality understable for you ? If so, then try the next.

greetings,

calculus

$\endgroup$
  • 1
    $\begingroup$ Your constraint is incorrect. $\endgroup$ – symplectomorphic Jul 6 '14 at 19:12
  • $\begingroup$ Thanks for the hint. It will be corrected. $\endgroup$ – callculus Jul 6 '14 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.