Can rendering be temporarily stopped? (Simulation)

Can I stop rendering while the game is simulating normally using AI controlled characters. The thing is I’m trying to run a genetic algorithm experiment where i need to run a lot of generations and this could take forever if rendering is involved. I just want to use ue4 with its physics and AI functions to do my simulation and at some point display the results with rendering enabled. I hope i’m making sense and that anyone can help me with this.

Thanks!

You can use PhysX directly: https://wiki.unrealengine.com/PhysX,_Integrating_PhysX_Code_into_Your_Project