Optimised routing in hybrid active networks