We formulate the optimal balance sheet management problem as a linear program and study it using a duality approach. In addition to helping to determine the optimal balance sheet, the dual problem also provides us the market prices of interest rate risk and credit risk. Our methodology is used...