semidynamic traffic flow problem