Ensuring connectedness for the maximum quasi‐clique and densest k ‐subgraph problems | Synapse