当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)Rounding Linear Program

资源类别:文库,文档格式:PDF,文档页数:60,文件大小:2.31MB,团购合买
Vertex Cover MAX-SAT Polyhedron for LP
点击下载完整版文档(PDF)

Advanced Algorithms Rounding Linear Program 尹一通Nanjing University,2022Fall

尹⼀通 Nanjing University, 2022 Fall Advanced Algorithms Rounding Linear Program

Vertex Cover

Vertex Cover

Vertex Cover Instance:An undirected graph G(V,E). Find the smallest C V that intersects all edges. e2 e es e6 incidence graph V4 V4 set cover instance with frequency =2

Vertex Cover Instance: An undirected graph . Find the smallest that intersects all edges. G(V, E) C ⊆ V v1 v2 v3 v4 e1 e3 e2 e4 e1 e2 e3 e4 v1 v2 v3 e5 v4 e6 incidence graph set cover instance with frequency =2 e5 e6

Vertex Cover Instance:An undirected graph G(V,E). Find the smallest C V that intersects all edges. ·NP-hard In(n)-approximation by greedy set cover 2-approximation algorithm: Find a maximal matching; return the matched vertices; .[Khot,Regev 2008]Assuming the unique games conjecture, there is no poly-time(2-e)-approximation algorithm

• NP-hard • -approximation by greedy set cover • 2-approximation algorithm: • [Khot, Regev 2008] Assuming the unique games conjecture, there is no poly-time -approximation algorithm. ln(n) (2 − ϵ) Vertex Cover Instance: An undirected graph . Find the smallest that intersects all edges. G(V, E) C ⊆ V Find a maximal matching; return the matched vertices;

Vertex Cover Instance:An undirected graph G(V,E). Find the smallest CC Vthat intersects all edges. Integer Linear Program(ILP)for vertex cover: minimize ∑x linear objective function v∈V subject to ∑x≥1, Linear e∈E constraints v∈e x,∈{0,1},v∈V integer domains Solving integer linear program is NP-hard

• Integer Linear Program (ILP) for vertex cover: Vertex Cover Instance: An undirected graph . Find the smallest that intersects all edges. G(V, E) C ⊆ V minimize subject to ∑ v∈V xv ∑ v∈e xv ≥ 1, xv ∈ {0,1}, e ∈ E v ∈ V linear objective function linear constraints integer domains • Solving integer linear program is NP-hard

Vertex Cover Instance:An undirected graph G(V,E). Find the smallest C Vthat intersects all edges. Linear Program(LP)relaxation: minimize ∑x v∈V subject to ∑x≥1, e∈E v∈e x∈[0,1], v∈V fractional domains linear programs are solvable in polynomial time!

• Linear Program (LP) relaxation: Vertex Cover Instance: An undirected graph . Find the smallest that intersects all edges. G(V, E) C ⊆ V minimize subject to ∑ v∈V xv ∑ v∈e xv ≥ 1, xv ∈ {0,1}, e ∈ E v ∈ V • linear programs are solvable in polynomial time! [ ] fractional domains

Linear Programming (LP) ·General form: matrix A={dijmxin],sets M [ml and NS [n] minimize cTx subject to afx =bi i∈M a,x≥b i∈M 光≥0 j∈N x;unconstrained j∈N

• General form: • matrix A = {a , sets and ij }[m]×[n] M ⊆ [m] N ⊆ [n] Linear Programming (LP) minimize subject to cTx aT i x = bi aT i x ≥ bi xj ≥ 0 xj unconstrained i ∈ M i ∈ M j ∈ N j ∈ N

Linear Programming (LP) General form: Canonical form: min cTx s.t. ajx=b i∈M min cTx ax≥b, i∈M → s.t.Ax≥b 为≥0 j∈N x≥0 x;unconstrained j∈N -6-{的0 x;unconstrained→ 5咖e0 (七≥0

Linear Programming (LP) min s.t. cTx aT i x = bi aT i x ≥ bi xj ≥ 0 xj unconstrained i ∈ M i ∈ M j ∈ N j ∈ N General form: Canonical form: aT i x = bi ⟹ { aT i x ≥ bi −aT i x ≥ − bi x where j unconstrained ⟹ xj = x+ j − x− j { x+ j ≥ 0 x− j ≥ 0 ⟹ min s.t. cTx Ax ≥ b x ≥ 0

Convex Polytopes 。hyperplane: subspace of dimension n-1 ∑a45=b j=1 (closed,affine)halfspace: ∑a4y≥b j=1 。convex polyhedron: intersection of finitely many halfspaces convex polytope:bounded convex polyhedron

• hyperplane: subspace of dimension • (closed, affine) halfspace: • convex polyhedron: intersection of finitely many halfspaces • convex polytope: bounded convex polyhedron n − 1 n ∑ j=1 ajxj = b n ∑ j=1 ajxj ≥ b Convex Polytopes

Integrality min cTx s.t.Ax≥b Z LP-relaxation

x ∈ ℤn Integrality min s.t. cTx Ax ≥ b LP-relaxation

点击下载完整版文档(PDF)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共60页,可试读20页,点击继续阅读 ↓↓
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有