Testing for CSDP at runtime¶
- class sage.features.csdp.CSDP¶
Bases:
sage.features.ExecutableA
sage.features.Featurewhich checks for thethetabinary of CSDP.EXAMPLES:
sage: from sage.features.csdp import CSDP sage: CSDP().is_present() # optional: csdp FeatureTestResult('CSDP', True)
- is_functional()¶
Check whether
thetaworks on a trivial example.EXAMPLES:
sage: from sage.features.csdp import CSDP sage: CSDP().is_functional() # optional: csdp FeatureTestResult('CSDP', True)