Adding optimization model wrapper.