Regression-based Inverter Control for Decentralized Optimal Power Flow and Voltage Regulation