Portfolio Optimization Under Tracking Error and Weights Constraints