Solver Iteration Macro