Skip to content

Commit

Permalink
add support for CLINGO_OPTS envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Jun 14, 2024
1 parent 60ca6da commit cd2fc9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bonesis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

import copy

import os

from colomoto import minibn
import networkx as nx

Expand All @@ -47,7 +49,7 @@

settings = {
"parallel": 1,
"clingo_options": (),
"clingo_options": tuple(os.environ["CLINGO_OPTS"].split()) if "CLINGO_OPTS" in os.environ else (),
"clingo_opt_strategy": "bb",
"solutions": "all",
"quiet": False,
Expand Down

0 comments on commit cd2fc9e

Please sign in to comment.