In this article we include discrete dividends in the stock price model and solve a generalized portfolio optimization problem. For this, we develop a new discrete dividend model that allows for the possibility of early announcement and ensures that the drop of the stock price at the ex-dividend...