XMPOpt computation core