Microeconomic Portfolio Optimization