Testing for CSDP at runtime

class sage.features.csdp.CSDP

Bases: sage.features.Executable

A sage.features.Feature which checks for the theta binary of CSDP.

EXAMPLES:

sage: from sage.features.csdp import CSDP
sage: CSDP().is_present()  # optional: csdp
FeatureTestResult('CSDP', True)
is_functional()

Check whether theta works on a trivial example.

EXAMPLES:

sage: from sage.features.csdp import CSDP
sage: CSDP().is_functional()  # optional: csdp
FeatureTestResult('CSDP', True)