Professional Documents
Culture Documents
Vertex coloring
• Given an undirected graph G = (V,E) with n=|V|
vertices and m=|E| edges, the Vertex Coloring
Problem (VCP) calls for assigning colors to all the
vertices of G such that
• adjacent vertices (vertices connected by an edge
in E) receive different colors, and
• the number of used colors
is minimum (always ≤ n)
1
ILP model
2
ILP model
3
ILP Model
• A drawback of this model is its symmetry (all colors
are equivalent).
• Another drawback is that its continuous relaxation is
weak:
• Example: consider G to be a complete graph
• the optimal solution value of the ILP is n (a different color
for each vertex), while
• the optimal solution of the continuous relaxation is
y1 = y2 = 1; xi1 = xi2 = 1/2,∀i ∈ V, and has value 2
Therefore the solution of the continuous relaxation can be
“far” from the optimal ILP solution.
4
Improving an ILP Model
• Equivalent ILP formulations are often not equivalent
with respect to their continuous relaxations.
• Recall: If Q1 and Q2 are two formulations of a
minimization problem with Q1⊂Q2, then the solutions
of their continuous relaxations satisfy: zC(Q1) ≥ zC(Q2).
In this case, Q1 dominates (is better than) Q2.
• If we have a better formulation, then, in the Branch
and Bound algorithm, more nodes can be killed.
5
Improving an ILP Model
• How can a formulation be improved?
• By adding to the formulation additional “useful”
constraints that reduce the feasible region but do not
eliminate any integer (optimal) solution
• By expressing the existing constraints in a “better”
way to reduce the feasible region without eliminating
any integer (optimal) solution
6
Improving an ILP Model
• Example: recall the Uncapacitated Facility Location
Problem:
7
Improving the Vertex Coloring Model
• Consider this example:
9
Improved ILP for Vertex Coloring
𝑛
min 𝑦𝑗
𝑗=1
𝑛
𝑥𝑖𝑗 = 1 , 𝑖∈𝑉
𝑗=1
𝑥𝑖𝑗 ≤ 𝑦𝑗 , 𝐾 ∈ 𝒦, 𝑗 = 1, … , 𝑛
𝑖∈𝐾
𝑥𝑖𝑗 ∈ 0,1 , 𝑖 ∈ 𝑉, 𝑗 = 1, … , 𝑛
𝑦𝑗 ∈ 0,1 , 𝑗 = 1, … , 𝑛
12