Abstract
We consider the problem of optimal investment in a market with random interest rate for borrowing. This represents an optimal stochastic control problem with a nonlinear system dynamics. We solve this problem under the assumption of coupled Hull-White type model for the interest rates. An explicit closed-form solution is derived for the power and logarithmic utility functions from terminal wealth.