The Smart Market Optimization Model