LightMySky
به انگلیسی

Approximation Ratios and How One Is Proved

An approximation algorithm comes with a proved bound on how far its answer can sit from the best one, and the proof almost never mentions the optimum directly. It bounds the optimum from one side with something computable, then bounds the algorithm against that.

شروع یادگیری این موضوعبه حساب کاربری نیازی نیست. پیشرفت در همین مرورگر ذخیره می‌شود.

کارهایی که یادگیرنده بعد از این درس می‌تواند انجام دهد

  • State what a ratio guarantees and what it says nothing about
  • Prove a ratio by comparing both the algorithm and the optimum to a computable bound
  • Give an instance where the bound is tight and say what that tightness means

۱ · بخوان

An approximation ratio is a proved worst-case promise, not a report on one run. For a minimization problem, factor 2 means the answer never exceeds twice the best possible. It says nothing about the typical gap, and nothing about what the optimum actually is.

Try it together

The proof never touches the optimum directly. Find a computable middle bound B with the optimum on one side and your algorithm on the other: show the optimum is at least B, and your algorithm returns at most 2B. Chain them and your answer is at most twice optimal. Say B is 10 and you return 18: 18 sits below 20, so the ratio holds whatever the optimum is.

A tight instance is one where the algorithm truly hits the bound, returning exactly twice the optimum. Tightness blesses the analysis, not the algorithm: it proves no smaller factor can be claimed for this method. It never means the method is bad, only that the proof is exact.

Good to know

To prove your own ratio, exhibit the middle bound first, then bound each side against it. Never try to compute the optimum, and never estimate the ratio from test data: one measured gap is an anecdote, not a proof.

Sandwich a computable bound between the optimum and your answer to certify the factor.

۲ · ببین

به انگلیسی

دور از صفحه‌نمایش

چاپ کاربرگکاغذ A4، با یک صفحهٔ جواب‌ها برای بزرگ‌ترها. بدون صفحه‌نمایش، بدون اینترنت.

جایگاه این موضوع

اول این‌ها را یاد بگیر

چیزی لازم نیست. این یک نقطهٔ شروع است.

پیوندهای اختیاری

این موضوع راه این‌ها را باز می‌کند

سپس تمرین

۸ سؤال پشت این درس منتظرند، هر کدام با پاسخ توضیح‌داده‌شده. هر پاسخ آسمان را پر می‌کند: ستاره‌ها هنگام یادگیری روشن می‌شوند و وقتی زمان برگشتن است کمرنگ می‌شوند.

شروع یادگیری این موضوع