Testing for CSDP at runtime¶
-
class
sage.features.csdp.CSDP¶ Bases:
sage.features.ExecutableA class:\(sage.features.Feature\) which checks for the
thetabinary 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)
-