Learn Branch and Merge