Feature for testing the presence of csdp¶
- class sage.features.csdp.CSDP(*args, **kwds)[source]¶
Bases:
ExecutableA
Featurewhich checks for thethetabinary of CSDP.EXAMPLES:
sage: from sage.features.csdp import CSDP sage: CSDP().is_present() # optional - csdp FeatureTestResult('csdp', True)
>>> from sage.all import * >>> from sage.features.csdp import CSDP >>> CSDP().is_present() # optional - csdp FeatureTestResult('csdp', True)
- is_functional()[source]¶
Check whether
thetaworks on a trivial example.EXAMPLES:
sage: from sage.features.csdp import CSDP sage: CSDP().is_functional() # optional - csdp FeatureTestResult('csdp', True)
>>> from sage.all import * >>> from sage.features.csdp import CSDP >>> CSDP().is_functional() # optional - csdp FeatureTestResult('csdp', True)