Investment and Discount Rates Under Capital Rationing--A Programming Approach