Study on prescription combination and design method based on dichotomy and greedy algorithm