Separate limits and a shared allocation bound

An imaging device reserves two data buffers with adjustable allocations xx and yy, measured in megabytes (MB). Treat both allocations as continuous variables. Each buffer must receive at least 20 MB.


The device has 160 MB available for these buffers and their temporary copies. In operating mode 1, it stores two copies of the first buffer and one copy of the second. In operating mode 2, it stores one copy of the first buffer and two copies of the second. The modes run separately, but the same allocation must support both modes. All other memory use is already excluded from the available 160 MB.


The design requirements are therefore


x≥20,y≥20,2x+y≤160,x+2y≤160.x\geq20,\qquad y\geq20,\qquad 2x+y\leq160,\qquad x+2y\leq160.


Two sloping memory boundaries and two minimum-allocation boundaries are plotted against the buffer allocations.


Find the maximum possible xx, the maximum possible yy, and the maximum possible total allocation x+yx+y. Evaluate these three maxima separately. Give each answer in MB, to two decimal places.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Design Space Questions: