clingo_msl#
g2clingo_msl#
msl#
- gunfolds.solvers.clingo_msl.msl(g, capsize, exact=True, configuration='tweety', urate=2, timeout=0, pnum=None)[source]#
- Parameters:
g (dictionary (
gunfolds
graphs)) –gunfolds
graphcapsize (integer) – maximum number of candidates to return
exact (boolean) – If true, run clingo in exact mode. If false, run clingo in optimization mode
urate (integer) – maximum undersampling rate to consider
timeout (integer) – timeout in seconds after which to interrupt computation (0 - no limit)
configuration (string) –
Select configuration based on problem type
frumpy
: Use conservative defaultsjumpy
: Use aggressive defaultstweety
: Use defaults geared towards asp problemshandy
: Use defaults geared towards large problemscrafty
: Use defaults geared towards crafted problemstrendy
: Use defaults geared towards industrial problems
pnum (integer) – number of parallel threads to run
clingo
on
- Returns:
- Return type:
msl_command#
- gunfolds.solvers.clingo_msl.msl_command(g, urate=2, exact=True)[source]#
- Parameters:
g (dictionary (
gunfolds
graphs)) –gunfolds
graphurate (integer) – maximum undersampling rate to consider
exact (boolean) – If true, run clingo in exact mode. If false, run clingo in optimization mode
- Returns:
- Return type:
rasl_msl#
- gunfolds.solvers.clingo_msl.rasl_msl(g, capsize, urate=2, timeout=0, pnum=None)[source]#
- Parameters:
g (dictionary (
gunfolds
graphs)) –gunfolds
graphcapsize (integer) – maximum number of candidates to return
urate (integer) – maximum undersampling rate to consider
timeout (integer) – timeout in seconds after which to interrupt computation (0 - no limit)
pnum (integer) – number of parallel threads to run
clingo
on
- Returns:
- Return type: