(Investment problem) An individual wishes to invest £5000 over the next yearin two types of investments: Investment A yields 5% and investment B yields 8%. Market research recommends an allocation of at least 25% in A and at most 50% in B.Moreover, investment in A should be at least half the investment in B. How should the fund be allocated to the two investments? Model this problem as a linear programming problem.
My linear program is:
Let $x_1$ and $x_2$ be the amounts invested in $A$ and $B$ respectively.
$maximise$ $0.05x_1+0.08x_2$
$s.t.$
$x_1+x_2 \le 5000$
$0.25x_1-0.75x_2 \ge 0$
$0.5x_1-0.5x_2 \ge 0$
$2x_1-x_2 \ge 0$
$x_1, x_2 \ge 0$
However the solution given has:
$0.75x_1−0.25x_2≥0$ instead of $0.25x_1-0.75x_2 \ge 0$
What am I not seeing here? I can't seem to wrap my head around this.
An allocation of at least $25\%$ of $\$5000$ in $A$ gives
$x_1 \ge 0.25 \times 5000$
$\Rightarrow x_1 \ge 0.25(x_1+x_2)$
$\Rightarrow 0.75x_1 \ge 0.25x_2$
$\Rightarrow 0.75x_1 - 0.25x_2 \ge 0$