Deal Optimizer Callback drives the Deal Maximizer functionality on the Cart page. You cannot use this callback to implement customization on CPQ. You can only use this callback to enable or disable the Deal Maximizer functionality. Please refer to Initiate and Integrate Deal Guidance in Deal Maximizer Winter '20 Administrator Guide.