A genetic relation algorithm for portfolio selection