General infinite dimensional duality and applications to evolutionary network equilibrium problems