optimal subset project