Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Linear Programming- Manufacturing with Molds
1395-2
1 / 36
Linear Programming- Manufacturing with Computational Geometry - - PowerPoint PPT Presentation
Yazd Univ. Linear Programming- Manufacturing with Computational Geometry Molds Manufacturing with Molds Half-plane intersection problem Computing 1395-2 intersection of two convex polygons Linear Programming Randomized Linear
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
1 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
2 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
top facet
3 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
4 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
5 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
6 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
7 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
8 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
9 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
10 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
(i) (ii) (iii) (iv) (v)
11 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
h∈H h.
12 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
h∈H h.
12 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
13 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
13 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
14 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
C2 C1 left edge C1 right edge C1 = nil left edge C2 right edge C2
15 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
16 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
right edge C2 (i) (ii) e e right edge C2 p p
17 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
18 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
19 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
19 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
19 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
19 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
20 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
21 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
22 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
c(p): Objective function = cxpx + cypy,
c(p) is maximized.
23 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
24 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
25 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
25 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
vi vi−1 q Ci−1
26 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
vi vi−1 q Ci−1
26 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
27 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
c(p), subject to
c(x)
ℓi h x ≤ σ(h,ℓi) σ(h,ℓi)
28 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
c(x)
h∈Hi−1{σ(h, ℓi) : ℓi ∩ h is bounded to the left}
h∈Hi−1{σ(h, ℓi) :
29 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
1. Let v0 be the corner of C0. 2. Let h1,...,hn be the half-planes of H. 3. for i ← 1 to n 4. do if vi−1 ∈ hi 5. then vi ← vi−1 6. else vi ←the point p on ℓi that maximizes f
c(p), subject to the
constraints in Hi−1. 7. if p does not exist 8. then Report that the linear program is infeasible and quit. 9. return vn
30 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
1. Let v0 be the corner of C0. 2. Let h1,...,hn be the half-planes of H. 3. for i ← 1 to n 4. do if vi−1 ∈ hi 5. then vi ← vi−1 6. else vi ←the point p on ℓi that maximizes f
c(p), subject to the
constraints in Hi−1. 7. if p does not exist 8. then Report that the linear program is infeasible and quit. 9. return vn
30 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
incremental algorithm
31 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
Algorithm 2DRANDOMIZEDBOUNDEDLP(H, c,m1,m2)
c), where H is a set of n half-planes,
c) is infeasible, then this fact is reported. Otherwise, the lexicographically smallest point p that maximizes f
c(p) is reported.
1. Let v0 be the corner of C0. 2. Compute a random permutation h1,...,hn of the half-planes by calling RANDOMPERMUTATION(H[1···n]). 3. for i ← 1 to n 4. do if vi−1 ∈ hi 5. then vi ← vi−1 6. else vi ←the point p on ℓi that maximizes f
c(p), subject to the
constraints in Hi−1. 7. if p does not exist 8. then Report that the linear program is infeasible and quit. 9. return vn
32 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
n
n
33 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
n
n
33 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
n
n
34 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
n
n
34 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
n
n
34 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
i ?
35 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
Randomized Linear Programming
i ?
35 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
36 / 36
Yazd Univ. Computational Geometry Manufacturing with Molds Half-plane intersection problem Computing intersection of two convex polygons Linear Programming
Randomized Linear Programming
36 / 36