Text this: Optimization of Active Distribution Network Operation with SOP Considering Reverse Power Flow