Given two graphs $G$ and $F$ on the same vertex set $V$. Compute a sub set $\tilde{V}\subset V$ which' sub graph of $G$ is of maximum density and does not have any pair that is connected in $F$.
Formally, find
$$ arg\max_{\tilde{V}\subset V}\Bigg\{\frac{\big\vert {E(G)}_{\vert\tilde{V}}\big\vert}{\vert \tilde{V}\vert} \,\,\Bigg\vert\,\, (v, v^{\prime})\notin E(F)\forall v, v^{\prime}\in\tilde{V} \Bigg\} $$.
So, we could compute maximum independent sets of $F$ and compute for each its densest sub graph. This may not yield a desired node set. Looks like we want 'high overlaps' between $G$-density and $F$-independency.
Is there a method to solve this or some ideas on how to combine densest-sub-graph-algorithm and maximum-independence-set-algorithm?