expose the optimization to the user in CCBatch