I see. What if I wanted to maximise the expected profit, given that the chance of bankruptcy should not exceed 1%? Does that sort of problem become difficult to solve?
Sorry for the late reply (don't know if you'll see this!) but I happened to be thinking about this again and the question popped into my head: what if I wanted to maximise a specific percentile (e.g. the 5th percentile) of my total winnings?