optimization assignment