Necessary and sufficient conditions in the problem of optimal investment in incomplete markets | Synapse