Community Building Day optimization problem for CS473 Advanced Algorithms