Can we have both the flavours applied together?
No, the system will be considering priority at any given time. So, if you select Optimize Time & Distance, first priority will be given to it while planning and second priority to resources and vice-versa.