Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-26 21:07:53 UTC · snapshot created 2026-11-26 21:08:36 UTC · last check 2026-11-29 22:55:15 UTC

B.5:5.4 - A relaxed problem supports a different use

A planner must choose whole jobs for one worker’s four-hour window. At most one A-job is available; it takes three hours and has stipulated value 5. At most two B-jobs are available; each takes two hours and has stipulated value 3. For this constructed problem the values and durations add, and the question is which choice satisfying the stated availability and time limits has greatest value. The reader needs elementary algebra and can enumerate the few integer choices.

Let x and y count A- and B-jobs. The intended constraints are x in {0,1}, y in {0,1,2}, and 3x + 2y <= 4; maximize V = 5x + 3y. An AI-assisted calculation instead allows real x and y with 0 <= x <= 1 and 0 <= y <= 2. It returns x = 1, y = 0.5, V = 6.5.

Recover what that calculation establishes. From the relaxed time constraint, y <= (4 - 3x)/2, so V <= 6 + 0.5x <= 6.5. The returned real-valued pair attains this bound. This is an optimum of the relaxation. The proposed half B-job is excluded by the intended whole-job condition.

For the whole-job question, x = 0 permits at most y = 2 and value 6. With x = 1, the remaining hour permits y = 0 and value 5. Two B-jobs therefore attain the integer optimum 6. Check that the selected jobs fit the constraints and compare the best value for x = 0 with the best value for x = 1.

The relaxation also answers a threshold question. Every allowed whole-job choice is feasible for the relaxation, so none can reach 7. For this problem the whole-job values are integers. The upper bound of 6.5 therefore bounds their values by 6. Two B-jobs fit and attain 6. Taken together, that feasible assignment and the bound prove optimality for the original question, even without the preceding enumeration. The relaxed allocation itself contains a half job and cannot be scheduled as a whole-job assignment.

With five hours instead, the same argument gives V <= 7.5 + 0.5x <= 8. The choice x = 1, y = 1 attains value 8 in both formulations. The planner can use that relaxed optimum as the whole-job answer because this returned choice satisfies the integer conditions.

Allocate the work according to the contribution sought. A planner can use assisted optimization while being able to state what counts as a whole job, recover the constraints solved, and distinguish an attainable choice from an upper bound. If the required work is to develop the optimization Method, its construction and proof become additional capability targets. To assess a learner’s own capability, change the time window or the divisibility condition. With the assistance allowed in the exercise, the learner chooses the formulation and explains which result answers the question.