390 likes | 460 Views
IV Latin-American Algorithms, Graphs and Optimization Symposium - 2007. Puerto Varas - Chile. The Generalized Max-Controlled Set Problem. Carlos A. Martinhon Fluminense Fed. University Ivairton M. Santos - UFMT Luiz S. Ochi – IC/UFF. Contents. 1. Basic definitions.
E N D
IV Latin-American Algorithms, Graphs and Optimization Symposium - 2007 Puerto Varas - Chile The Generalized Max-Controlled Set Problem Carlos A. Martinhon Fluminense Fed. University Ivairton M. Santos - UFMT Luiz S. Ochi – IC/UFF
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
Example v2 v5 M v3 v4 v1 Cont(G,M) v6 v7 Basic definitions • Consider G=(V,E) a non-oriented graph and MV. Definition:v is controlled by MV |NG[v]M||NG[v]|/2
M 0 1 2 3 4 5 Basic definitions • Cont(G,M) → set of vertices controlled by M. • M defines a monopoly in GCont(G,M) = V. Given G=(V,E) and MV:
0 1 2 0 1 2 3 4 5 3 4 5 G1=(V,E1) G2=(V,E2) Basic definitions • Sandwich Graph 0 1 2 3 4 5 G=(V,E) where E1E E2
Basic definitions • Monopoly Verification Problem – MVP • Given G1(V,E1), G2(V,E2) and MV, G=(V,E) s.t. E1 E E2 and M is monopoly in G ? • Solved in polynomial time (Makino, Yamashita, Kameda, Algorithmica [2002]).
Basic definitions - Max-Controlled Set Problem – MCSP • If the answer to the MVP is NO, we have the MCSP! • In the MCSP, we hope to maximize the number of vertices controlled by M. • The MCSP is NP-hard !! (Makino et al.[2002]).
Basic definitions • MCSP M 2 1 0 5 3 4 6 Not-controlled vertices Fixed Edges Optional Edges Controlled vertices
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
(1) (0) (4) M 0 1 2 Vertices not-controlled by M 3 4 5 (4) (3) (-2) -controlled vertices by M GMCSP • f-controlled vertices • A vertex iV is -controlled by MV iff, |NG[i]M|-|NG[i]U| i , withi Z and U=V \ M. f i fixed gaps (for i V)
GMCSP • We also add positive weights (0)[2] (0)[3] 1 0 M 3 5 2 4 (0)[1] (0)[5] (0)[7] (0)[10] Vertices not-controlled Fixed Edges -controlled vertices Optional Edges
GMCSP • Generalized Max-Controlled Set Problem • INPUT: Given G1(V,E1), G2(V,E2) and MV (with fixed gaps and positive weights). • OBJECTIVE: We want to find a sandwich graph G=(V,E), in order to maximize the sum of the weights of all vertices f-controlled by M.
GMCSP • Reduction Rules: U=V\M M We delete all optional edges We fix all optional edges
(0)[1] (0)[1] (0)[1] M 0 1 2 3 4 5 (0)[1] (0)[1] (0)[1] GMCSP • Reduction Rules E1D(M,M) E E1D(M,M)D(U,M) Vertices not-controlled Fixed Edges -controlled vertices Optional Edges
GMCSP • Reduction Rules • Consider the following partition of V: • MAC and UAC vertices always -controlled • MNC and UNC _ vertices never -controlled • MR and UR vertices -controlled or not.
UAC UR UNC MAC MR MNC M U GMCSP • Reduction Rules
UAC UR UNC MAC MR MNC M U GMCSP • Reduction Rules fixed edges optional edges
PMCCG • Reduction Rules (0)[1] (0)[1] (0)[1] M 0 1 2 MSC={1} UNC={5} 3 4 5 (0)[1] (0)[1] (0)[1] Vertices not-controlled by M Fixed Edges -controlled vertices by M Optional Edges
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
GMCSP • ½-Approximation algorithm - GMCSP • Algorithm 1 1: W1 Summation of all weights for E=E1 2: W2 Summation of all weights for E=E2 3: zH1 max{W1,W2}
(0)[5] (0)[1] (0)[3] M 0 1 2 3 4 5 (0)[2] (0)[1] (0)[3] GMCSP • ½-approximation for the GMCSP W1=9 W2=7 Not -controlled vertices Fixed Edges Optional Edges f-controlled vertices
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
GMCSP • LP formulation • Consider K=|V|+max{|i| s.t. iV} Subject to:
(2) M GMCSP • Consider M (1) bi=3 bi=3
PMCCG • Stronger LP Formulation Subject to:
GMCSP Theorem : Let and the optimum values of and respectively. Then: max Optimum objective value Z*=? What about the feasible solutions?
GMCSP Theorem: Consider a relaxed solution of with . and . If for some (i,j)E2, then there exists another relaxed solution with and
M 0 1 2 0,5 0,5 0,5 0,5 3 4 PMCCG • Feasible solution based in the Linear Relaxation M 0 1 2 1 0 1 0 3 4 Not-controlled vertices Fixed edges Optional edges Controlled vertices
GMCSP • Integer solution obtained from our stronger Linear Programming formulation. • Algorithm 2 • Given a relaxed solution for . • Define as -controlled all vertice iV with , and not -controlled if .
Quality of upper and lower bounds generated by our stronger formulation
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
MCSP • Combined Heuristic- CH • 1) z1 ½-approximation • 2) z2 Based LP Heuristic • 3) z max{z1 , z2} (Martinhon&Protti, LNCC[2002]) MCSP Similar combined heuristic with ratio:
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
Contents 1. Basic definitions 2. The Generalized Max-Controlled Set Problem a) A 1/2-Approximation procedure b) A Based LP Prog. Heuristic c) A combined heuristic 4. Tabu Search Procedure 5. Comp. results and final comments
Computational Results • Tabu Search solutions for instances with 50, 75 and 100 vertices.
UAC UR UNC MAC MR MNC M U GMCSP • Reduction Rules • Rule 3: Add to E1 all edges of D(MACMNC, UR). • Rule 4: Remove from E2 the edges D(MR,UACUNC). • Rule 5: Add or remove at random the edges D(MACMNC, UACUNC).
GMCSP • Reduction Rules • Given two graphs G1 e G2, and 2 subsets A,BV, we define: D(A,B)={(i,j)E2\E1 | iA, jB} • Rule 1: Add to E1 the edges D(M,M). • Rule 2: Remove from E2 the edges D(U,U).