Use AI to compare combinations of work when resources are limited, rather than selecting the most attractive individual item first. Define the available capacity, the value criterion and the conditions every choice must satisfy. Inspect feasible combinations and check whether a quick ranking rule misses a better result. An optimum is only the best result for the stated model; it is not automatically the best decision for everyone affected.
This international guide follows Mei, a fictional coordinator choosing optional learning-resource improvements for a ten-hour work session. All tasks, durations, values and rules are invented. SuperIntelligence is the future-facing theme, not a claim of demonstrated general superintelligence. The exercise is a small discrete optimisation model, not a policy for allocating essential services, judging people or bypassing human responsibility.
- State the goal, decision variables and capacity units.
- Separate hard requirements from optional modelled value.
- Compare feasible combinations and test a simple ranking rule.
- Check dependencies, indivisibility and assumptions about added value.
- Verify the proposed solution independently and inspect alternatives.
- Record the model and responsible decision instead of treating a score as authority.
EDUKATE · VOCABULARY CODING AND ENGINEERING · PART 104 · TWENTY-SIXTH COLLECTION
Find your next useful step
Continue the series: Parts 101–104
- Part 101: Resolving ambiguous record identities
- Part 102: Modelling valid workflow transitions
- Part 103: Checking confounding and aggregate reversals
- Part 104: Optimising combinations under constraints — you are here
Parts 97–100: classification, retries, variation and the personal intelligence system · Part 100 capstone · Begin the complete series
Full chapter index
Define the optimisation problem
Compare feasible combinations
Explore realistic constraints and changes
Verify and interpret the model
Teach and transfer optimisation reasoning
1. Define a meaningful outcome
Mei has ten available working hours for optional improvements after mandatory service commitments are covered. She wants to maximise the sum of stipulated fictional value points for fully completed improvements.
The points are a modelled criterion, not a measured learning gain or judgement about a person’s worth. Real priorities must be established through an appropriate responsible process.
2. Define the unit of choice
Each proposed improvement is either completed in this work window or not selected. Partial completion produces no value points in this simplified model. The available ten hours are stipulated usable capacity.
This indivisibility assumption distinguishes the problem from a task that can be split and provide proportional benefit. If partial work is valuable, the model should be revised.
Contents · Previous chapter · Next chapter
3. Establish the four fictional items
A is revise a resource pack: six hours and thirteen points. B is prepare examples: five hours and ten points. C is improve instructions: five hours and ten points. D is organise templates: four hours and six points.
Assume all items are ready, independent, feasible and optional in the base model. Durations and values are exact stipulated inputs, not observed measurements.
Contents · Previous chapter · Next chapter
4. Write the model explicitly
Let xA, xB, xC and xD each be either zero or one. The total hours are 6xA + 5xB + 5xC + 4xD and must not exceed ten. The modelled total value is 13xA + 10xB + 10xC + 6xD.
Maximise that stated value subject to the capacity condition and binary choices. The mathematical expression is a compact representation of the fictional decision, not an approval to act.
Related guide: transparent resource allocation.
Contents · Previous chapter · Next chapter
5. Calculate value per hour
A offers 13/6, approximately 2.17 points per hour. B and C each offer 2, while D offers 1.5. A has the highest individual ratio and D the lowest.
Ratios are useful for inspecting efficiency, but they cannot generally solve an indivisible combination problem by themselves. The remaining capacity after a choice matters.
| Item | Duration (h) | Modelled points | Points per hour |
|---|---|---|---|
| A | 6 | 13 | 2.17 (approx.) |
| B | 5 | 10 | 2 |
| C | 5 | 10 | 2 |
| D | 4 | 6 | 1.5 |
Contents · Previous chapter · Next chapter
6. Apply a simple greedy rule
Choose the highest ratio first, A, using six hours and leaving four. B and C cannot fit, while D fits. Choosing D gives a total of ten hours and nineteen value points.
The ratio-first procedure produces a feasible result. It does not establish optimality because other combinations may use the capacity more productively.
Contents · Previous chapter · Next chapter
7. Inspect the alternative combination
B and C together require ten hours and produce twenty points. That is one point better than A plus D under the fictional objective.
Neither B nor C individually outranks A on the ratio criterion. Their combination nevertheless gives the better modelled result because of the discrete capacity limit.
Contents · Previous chapter · Next chapter
8. Enumerate the feasible pairs
A plus B and A plus C each require eleven hours and are infeasible. A plus D requires ten hours and gives nineteen points. B plus C requires ten and gives twenty.
B plus D and C plus D each require nine hours and give sixteen points. Any triple requires at least fourteen hours, so no triple fits.
| Pair | Hours | Points | Feasible within ten hours? |
|---|---|---|---|
| A + B | 11 | 23 | No |
| A + C | 11 | 23 | No |
| A + D | 10 | 19 | Yes |
| B + C | 10 | 20 | Yes |
| B + D | 9 | 16 | Yes |
| C + D | 9 | 16 | Yes |
Contents · Previous chapter · Next chapter
9. Establish the optimum for the small model
The empty choice gives zero points and every single item gives at most thirteen. The feasible pairs give nineteen, twenty, sixteen and sixteen. Since no triple or four-item combination fits, B plus C is the unique maximum at twenty points.
This is a complete enumeration proof for the stipulated four-item case. A different input or constraint can change the answer; do not extrapolate the combination as a universal rule.
Contents · Previous chapter · Next chapter
10. Distinguish optimisation from ranking
Ranking asks which individual item is preferable under a criterion. Optimisation asks which entire set satisfies the constraints and maximises the chosen objective.
The highest-ranked item may not belong to the best set. Ask AI to compare the actual combinations instead of simply ordering the items.
Related guide: prioritising queues.
Contents · Previous chapter · Next chapter
11. Check how a capacity change affects the result
With only nine hours, B plus C and A plus D no longer fit. B plus D or C plus D gives sixteen points, and every single item gives at most thirteen. The best modelled value is sixteen.
With eleven hours, A plus B or A plus C fits and yields twenty-three points; no triple fits. The optimum changes in steps as capacity changes, not necessarily in direct proportion to extra time.
Contents · Previous chapter · Next chapter
12. Distinguish spare capacity from failure
At nine hours, a feasible best pair B plus D uses all nine hours. In other cases an optimal combination might leave time unused because no further indivisible item fits.
Unused capacity is not automatically wasted; reserve time can be valuable in real work. Do not add an unapproved task merely to make the utilisation number look better.
Contents · Previous chapter · Next chapter
13. Include a mandatory requirement separately
In a separate scenario, D is required before the session ends. Set xD = 1. That leaves six hours for optional tasks. A plus D yields nineteen, while B plus D or C plus D yields sixteen.
The best feasible result becomes A plus D under the stipulated objective. Mandatory requirements should not be traded away because another set has more optional points.
Contents · Previous chapter · Next chapter
14. Add a prerequisite relationship
Suppose instead C can be selected only if B is also selected. Express the requirement xC cannot exceed xB. B plus C remains feasible in the base ten-hour model.
Selecting C alone or C plus D would now violate the prerequisite. A dependency must be established by the actual work, not invented to justify an attractive option.
Contents · Previous chapter · Next chapter
15. Check whether values really add
The base example assumes B and C together produce exactly ten plus ten points. In practice their benefits might overlap or reinforce each other. If overlapping benefits make the pair worth eighteen, A plus D’s nineteen would be preferable among those two combinations.
A revised nonadditive objective requires explicit evidence or a labelled assumption. Do not silently double-count overlapping benefits.
Contents · Previous chapter · Next chapter
16. Distinguish estimated effort from guaranteed duration
If C takes six hours rather than five, B plus C requires eleven and no longer fits within the original ten-hour boundary. The recommendation depends on the duration estimate.
Inspect uncertainty and allow appropriate buffer or alternative plans. A mathematical optimum under exact fictional inputs is not a promise of actual completion.
Related guide: critical paths and resource constraints.
Contents · Previous chapter · Next chapter
17. Give AI a bounded optimisation brief
Try: Here are the optional items, values, durations and required constraints. Enumerate feasible subsets, compute total value, compare with a ratio-first rule and identify all best solutions. Show your assumptions and do not schedule real people.
For larger cases an appropriate solver may help, but require a reproducible model and independent verification of the returned solution. Do not assume a plausible answer is proven optimal.
Contents · Previous chapter · Next chapter
18. Verify the proposed combination independently
For B plus C, the total duration is 5 + 5 = 10 and the value is 10 + 10 = 20. Check that both are available and no other applicable constraint is violated.
Then inspect the complete feasible set or a suitable proof or bound from an appropriate method. Feasibility and optimality are distinct claims.
Contents · Previous chapter · Next chapter
19. Recognise the limits of the objective
A score may omit accessibility, maintenance burden, quality or long-term usefulness. Even a mathematically optimal result can be inappropriate if these important considerations are missing.
Establish hard constraints and the meaning of the value criterion with the responsible people. Do not let AI invent weights or assign worth to people.
Contents · Previous chapter · Next chapter
20. Consider competing objectives explicitly
Mei might care about modelled value and retaining two hours for unexpected support. Under an eight-hour usable limit in this small example, no pair fits, so A alone gives the maximum thirteen points.
This is a separate constraint scenario, not a conclusion that reserve time is always best. Discuss the trade-off rather than combining unrelated values into an unapproved score.
Contents · Previous chapter · Next chapter
21. Maintain a decision and model record
Record item IDs, durations, value definition, source or judgement owner, dependencies, capacity, constraints, method, feasible solution and approval. Keep rejected alternatives available for review.
When inputs change, recompute the relevant model. An earlier optimum may be invalid under revised capacity or obligations.
Related guide: sensitive assumptions.
Contents · Previous chapter · Next chapter
22. Practise on a changed set
A fictional study project has eight available hours. P takes five hours and gives nine points; Q and R each take four and give seven points. The highest ratio is P at 1.8, compared with 1.75 for Q and R.
Ratio-first chooses P and leaves three hours. Q plus R uses eight hours and gives fourteen points, the best feasible combination under the stipulated model. Verify every alternative yourself.
Contents · Previous chapter · Next chapter
23. Connect optimisation across zoom levels
A learner can choose optional practice projects, a teacher can compare resource-preparation combinations, and a team can model bounded capacity decisions. Larger systems require appropriate technical, ethical and operational review.
The transferable skill is making objectives and constraints explicit, then checking whole combinations. It is not the application of arbitrary points to essential human needs.
Contents · Previous chapter · Next chapter
24. Connect vocabulary, Ztime and EnDist
Vocabulary Coding and Engineering distinguishes item, choice variable, constraint, objective, feasible solution, optimum and actual benefit. Ztime preserves the model inputs and version that made a solution optimal.
EnDist is a conceptual lens for useful forward progress after misunderstanding and rework, not physical energy or a validated numerical metric. Better combinations may make limited capacity more useful, but modelled points do not measure EnDist.
Read more: shared vocabulary · EnDist in Civilisation OS.
Contents · Previous chapter · Next chapter
25. Four weeks of practice
Week one: define a small fictional capacity problem with binary choices and meaningful units. Week two: enumerate feasible combinations and compare a greedy rule with the verified optimum.
Week three: add a mandatory item, dependency and uncertain duration, recalculating each scenario separately. Week four: write a model record, justify its limits and practise on a changed problem independently.
Contents · Previous chapter · Next chapter
26. Questions beginners ask and the next useful step
Is the highest value-per-hour item always in the optimum? No. Does feasibility establish optimality? No. Can changed constraints alter the result? Yes. Does mathematical optimality establish a good real decision? Not by itself.
Choose a modest set of optional tasks and a clear capacity boundary. Ask which combinations are feasible and what your chosen value criterion really means before asking AI to optimise it.
Google’s OR-Tools documentation on the knapsack problem describes choosing a subset of valued items within a capacity limit. The following original fictional exercise illustrates the simple discrete model without requiring software or recommending any particular solver.
Contents · Previous chapter · Revisit the start of this collection