solve NetworkAssignment