Portfolio Management with Heuristic Optimization