An optimal asset allocation in a portfolio