The Generalized Subgraph Problem : Valid inequalities and separation