Simulation and optimization using the engine.