general queing network solver