- 22
- 0
- 约3.61万字
- 约 50页
- 2017-08-11 发布于浙江
- 举报
11approx-alg算法设计与分析 近似算法.pdf
/287
1
Chapter 11
Approximation
Algorithms
Slides by Kevin Wayne, modified by Rasmus Pagh
Copyright @ 2005 Pearson-Addison Wesley.
All rights reserved.
2
Approximation Algorithms
Q. Suppose I need to solve an NP-hard problem. What should I do?
A. Theory says youre unlikely to find a poly-time algorithm.
Must sacrifice one of three desired features.
Solve problem in poly-time.
Solve arbitrary instances of the problem.
Solve problem to optimality.
ρ-approximation algorithm.
Guaranteed to run in poly-time.
Guaranteed to solve arbitrary instance of the problem
Guaranteed to find solution within ratio ρ of true optimum.
Challenge. Need to prove a solutions value is close to optimum, without
even knowing what optimum value is!
3
11.1 Load Balancing
Load Balancing
Input. m identical machines; n jobs, job j has processing time t .
j
Job j must run contiguously on one machine.
A machine can process at most one job at a time.
Def. Let J(i) be the subset of jobs assigned to machine i. The
load of machine i is L = Σ t .
i j ∈ J(i) j
Def. The makespan is the maximum load on any machine L = max L .
i i
Load balancing. Assign each job to a machine to minimize makespan.
A B C D E
F
您可能关注的文档
- 10单招英语试卷.doc
- 10年12月份F6试题.pdf
- 10招教你成为学习天才.ppt
- 10月份三集.doc
- 10月份价.xls
- 10月份全国主要钢厂调查报告月月份全国主要钢厂调查报告 ….pdf
- 10月份发业务员 (申报).xls
- 10月份天数.xls
- 10月份月考.doc
- 10月份简报(改).doc
- 良肢位摆放在骨科康复中的应用.ppt
- 2026精选人教版一年级上册数学期末考试试卷(3套含答案解析).docx
- 2026新版人教版三年级上册语文期末考试试卷(3套含答案解析).pdf
- 2026精选人教版四年级上册英语期末考试试卷(3套含答案解析).pdf
- 2026新版人教版三年级上册数学期末考试试卷(3套含答案解析).pdf
- 2026新版人教版三年级下册数学期末考试试卷(3套含答案解析).docx
- 2026精选人教版四年级上册英语期末考试试卷(3套含答案解析).docx
- 2026新版人教版三年级上册语文期末考试试卷(3套含答案解析).docx
- 良肢位摆放与康复训练的结合.ppt
- 良肢位摆放在儿童康复中的应用.ppt
原创力文档

文档评论(0)