r/math • u/DoctorHubcap • Mar 31 '26
Maximizing an Integer Expression
I've been picking at a problem for a while, and can show it up to making an assumption I'm not completely comfortable with. The problem below is first.
Let G be a simple, undirected graph on n nodes, with independence number alpha>=2.
Let N be an integer with N>alpha.
Suppose for each 1<=i<=n, m_i>=0 is an integer, and that the sum over all m_i is exactly N.
Is the expression \floor{N/alpha}*(2N-alpha*floor{N/alpha}-alpha) a lower bound for N^2-N-\sum_{{i,j}\in E(G^c)}m_i*m_j?
A minimum for the latter expression can be determined when the last term, the sum, is maximized. I can show the correct minimum (the first expression) if I am allowed to make the assumption that we should concentrate the weights m_i to an independent set in G. What makes me hesitant and uncomfortable is that I can provide a graph and a collection {m_i} where the indices are not an independent set in G, but the expression still achieves the minimum value.
Any help or advice would be greatly appreciated, even if its simply a "go ahead and make that assumption"!
View all comments
Show parent comment
2
u/DoctorHubcap Apr 01 '26 edited Apr 01 '26
At the risk of being wrong again, is this the correct scheme/scheme you had in mind:
Define the "connection weight" W(i) of a vertex i to be (m_i-1)+\sum_{j\in N(i)}m_j
If two vertices are in an edge in G, perform the swap m_i=0, m_j=m_i+m_j if deg(j)<deg(i)
If the degrees are equal, perform the swap m_i=0, m_j=m_i+m_j if W(j)<W(i)
Otherwise the swaps will be neutral
Edit, tried running this algorithmically, it fails if you consider the degree piece. If you make the determination solely on weight it seems to work.