We construct a dynamic decision model where foreign borrowing figures as one of the instruments to maximize welfare over a planning horizon. We hypothesize a relation, a rather reasonable one, between the repayment schedule and the debt ceiling. For every