Multi-Criteria-SP codes in Python