In a recent paper by Mnif , a solution to the portfolio optimization with stochastic volatility and constraints problem has been proposed, in which most of the model parameters are time-homogeneous. However, there are cases where time-dependent parameters are needed, such as in the calibration of financial models. Therefore, the purpose of this paper is to generalize the work of Mnif  to the time-inhomogeneous case. We consider a time-dependent exponential utility function of which the objective is to maximize the expected utility from the investor’s terminal wealth. The derived Hamilton-Jacobi-Bellman(HJB) equation, is highly nonlinear and is reduced to a semilinear partial differential equation (PDE) by a suitable transformation. The existence of a smooth solution is proved and a verification theorem presented. A multi-asset stochastic volatility model with jumps and endowed with time-dependent parameters is illustrated.