Resource Allocation in Joint Innovation Projects