Library / Computational Thinking DPF
Jump to passage
In this reading

Link to current text

Published source confirmed at last check

Source changed 2026-10-03 11:52:20 UTC · snapshot created 2026-10-03 11:53:41 UTC · last check 2026-10-03 13:00:08 UTC

CMP.8:8 - Common Anti-Patterns and How to Avoid Them

Tempting moveFailureUseful repair
Treat a good objective value as an admissible answerRounded constraints can admit an invalid object.Preserve constraints or construct and justify recovery.
Stop because adjacent refinements agreeBoth can omit the same contribution.Bound the unresolved tail or use a justified enclosure.
Increase precision for every failureInput uncertainty or subject-model error can dominate.Identify the limiting contribution first.
Use a relative error at a zero targetThe ratio is undefined or unstable.Select an absolute or otherwise meaningful comparison.
Transfer an approximation guarantee to a changed outputNear-optimal value need not identify all optima or preserve derivatives.Reconstruct the comparison for the new requested result.