Optimality conditions in portfolio analysis with general deviation measures · Study