So the system would look something like this.
74" < 12.5x + 7.75y < 84"
60" < 12.5w + 7.75z < 74"
y + z = x + w
where x, y, w, z are natural numbers
Is this right? So i made a computer program and was able to solve the question by iterating through all the numbers. There are three answers. I am wondering if there is a mathematical way of solving this without using a computer program? And how would you do this. Is there a way like with pivoting or Gaussian reduction? I'm looking for the most efficient way of cutting, so i need to compare answers. Thank you
Well we could work in units of one quarter of an inch. The pieces we have are then $336$ units and $296$ units long respectively, a total of $632$ units.
The pieces we want to cut are $50$ units and $31$ units.
Now, we want equal numbers of the two sizes - so each pair comes to $81$ units.
$632=7\times 81 +65$. If we can, therefore, we want seven pieces of each length.
To get a solution, note that $336=6\times 50 + 31 +5$ gives seven pieces with little waste. We then have $296=50+6\times 31 +60$.
I did this by trying to cut as many long pieces as possible from the longest piece of wood. But there is enough spare here to allow for lots of other possibilities. There is room for seven short pieces from the second piece. Then try five $50$s from the first piece etc.