Releases: bnediction/bonesis
Releases · bnediction/bonesis
0.6.9
v0.6.6
⚙️ Features:
- Add support for
CLINGO_OPTSenvironment variable to pass custom argument toclingosolver
🐛 Bugfixes:
- Fix compatibility issue with AEON
- Fix CEGAR-based reprogramming of ensembles of Boolean networks
- Improve support for non-string (int) node names
🗒️ Full Changelog: v0.6.5...v0.6.6
v0.6.5
- sanitize node names when converting to
mpbn - add support for observation on the left of non-reach operator:
obs / targetensures that no configuration matching withobscan reach the target on the right. - improvement of several ASP encodings
Full Changelog: v0.6.1...v0.6.5
0.6: CEGAR-based trapspace reprogramming
New features:
bonesis.reprogramming.marker_reprogramminguses new CEGAR-based implementation (http://arxiv.org/abs/2305.02442). The other implementation is still available using thealgorithm="complementary"option.
bonesis.reprogramming.trapspace_reprogrammingis an alias.InfluenceGraph: optionexact="unsigned"allows enforcing that the Boolean networks use all the interactions of the influence graph with unsigned edges c632b3a
Bug fixes:
non_reachconstraint inmutantcontexts
0.5.7: improve compatibility with mpbn
v0.5.7 improve compatibility with mpbn
0.5.6: non-monotone Boolean network support single-model domain
Non-monotone Boolean networks can now be used as (single-model) domain for performing model-checking or reprogramming.
v0.5.5
New features
Views:
- add support for
"somes"asextraparameter to extract assignments ofSomeobjects (e.g., examples/extra_somes.py)
Language:
- inequality (
!=) betweenSomeobjects (e.g., examples/extra_somes.py)
User interaction
TL;DR: support timeout and CTRL+C
- honor the
timeoutargument when solving (i.e., correctly interrupt clingo search) - add
settings["fail_if_timeout"]to either throw aTimeoutErrorexception (True, default) or silently stop the solution enumeration (False) - workaround the "GIL" to capture CTRL+C events during clingo search. This can be disabled with
settings["clingo_gil_workaround"]=0. - add
settings["soft_interrupt"]to either throwKeyboardInterruptexception (False, default), or silently stop the solution enumeration (True) when catching interruption signal
Bug fixes
- correct
action()encoding
Full Changelog: v0.5.0...v0.5.5
v0.5.0
New features
bo.hypercube: addmin_dimensionandmax_dimensionarguments to constrain dimension- new
bo.scope_reachabilitycontext to add constraints on admissible trajectories (monotony and maximum number of changes) InfluenceGraph: addruleslist attribute for custom rules injection
Changes
- change default optimization strategy of clingo to branch-and-bound. Can be overridden with
clingo_opt_strategysetting.
Bugfixes
- trapspace constraint with inline observations
- AEON import failed with non-monotone interactions
Full Changelog: v0.4.93...v0.5.0