A network-based data mining approach to portfolio selection via weighted clique relaxations