Feature for testing the presence of csdp

class sage.features.csdp.CSDP(*args, **kwds)[source]

Bases: Executable

A 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)
>>> from sage.all import *
>>> from sage.features.csdp import CSDP
>>> CSDP().is_present()  # optional - csdp
FeatureTestResult('csdp', True)
is_functional()[source]

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)
>>> from sage.all import *
>>> from sage.features.csdp import CSDP
>>> CSDP().is_functional()  # optional - csdp
FeatureTestResult('csdp', True)
sage.features.csdp.all_features()[source]