Optimizer scaffold