Skip to content

spectrum: allow to determine --threshold and other parameters automatically from SDPB solution #290

@vasdommes

Description

@vasdommes

Currently, user has to specify --threshold, and we recommend setting it to something larger than dualityGapThreshold.

In principle, we can read dualityGap from out.txt and choose some "reasonable" value for threshold, e.g. threshold = sqrt(dualityGap).
We can also use it to determine other parameters (not implemented yet):

Also we can set default --precision to the same value as SDPB output. We cannot read it from out.txt, but we can detect it by looking at the number of decimal digits.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions