Cost-efficient Co-modal Ride-sharing Scheme Through Anticipatory Dynamic Optimisation