Theory Of Mathematical Optimization For Delegated Portfolio Management