Optimal Control Of Non-Conventional Queueing Networks: A Simulation-Based Approximate Dynamic Programming Approach