题目
The head of a Mathematics department needs to order three types of paper. The three types of paper are plain, lined and graph.
All three types of paper are sold in reams. (A ream is 500 sheets of paper.)
Based on the last academic year the head of department formed the following constraints.
- At least half the paper must be lined
- No more than 15% of the paper must be graph paper
- The ratio of plain paper to graph paper must be
The cost of each ream of plain, lined and graph paper is £5, £12 and £15 respectively.
The head of department has at most £834 to spend on paper.
The head of department wants to maximise the total number of reams of paper ordered.
Let , and represent the number of reams of plain paper, lined paper and graph paper ordered respectively.
(a) Formulate this information as a linear programming problem in and only, stating the objective and listing the constraints as simplified inequalities with integer coefficients.
The head of department decides to order exactly 42 reams of lined paper and still wishes to maximise the total number of reams of paper ordered.
(b) Determine
(i) the total number of reams of paper to be ordered,
(ii) the number of reams of graph paper to be ordered.
题目中文翻译
数学系主任需要订购三种纸张,分别是白纸、横线纸和方格纸。
三种纸张均以“令”为单位出售。(一令纸包含 500 张。)
根据上一学年的情况,系主任列出了以下约束:
- 至少一半的纸张必须是横线纸;
- 方格纸不得超过纸张总量的 ;
- 白纸与方格纸的数量比必须为 。
每令白纸、横线纸和方格纸的价格分别为 £5、£12 和 £15。
系主任最多可花费 £834 购买纸张,并希望订购的纸张总令数最大。
设订购的白纸、横线纸和方格纸令数分别为 、 和 。
(a) 将这些信息表示为只含 和 的线性规划问题,写出目标函数,并把各项约束列为具有整数系数的最简不等式。
系主任决定恰好订购 42 令横线纸,同时仍希望订购的纸张总令数最大。
(b) 求:
(i) 订购纸张的总令数;
(ii) 订购方格纸的令数。
解答
(a)
解法一
思路
展开
先用 的实际含义把三项比例限制、预算限制和目标函数写成含 的式子。由白纸与方格纸之比为 得到 ,再把它代入其余各式,消去 。
答题过程
展开
The initial objective is to maximise
Since at least half of all the paper must be lined,
so
Since no more than of the paper may be graph paper,
so
The ratio condition and the budget constraint give
and
From ,
Substituting this into the objective gives
Substituting it into the three constraints and simplifying gives
Therefore the required linear programming problem is
subject to
(b)
解法一
思路
展开
把 代入上一问的三个约束,分别求出 的上界。由于目标函数 随 增大而增大,应取所有上界中最小的一个。最后利用 求方格纸数量。
答题过程
展开
Substituting into the constraints gives
Hence the largest possible value of is 30.
(i) The total number of reams is
(ii) Since ,
Therefore 12 reams of graph paper should be ordered.