Membership overlay design optimization with resource constraints (accelerated on GPU)