Skip to content

Commit 72b6f5c

Browse files
committed
add activation literals note to README
1 parent 605ce96 commit 72b6f5c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,17 @@ With Cardinality constraints, optimisation is easy
193193

194194
// use the model, if one was found, from s to propose a build
195195

196+
# Activation Literals
197+
Gini supports recycling activation literals with the
198+
[Activatable interface](http://godoc.org/github.com/irifrance/gini/inter#Activatable)
199+
200+
Even without recycling, activation literals provide an easy way to solve MAXSAT problems:
201+
just activate each clause, use a cardinality constraint on the activation literals,
202+
and then optimize the output.
203+
204+
With recycling, one can do much more, such as activating and deactivating sets of clauses,
205+
and constructing the clauses on the fly. Activations work underneath test scopes and
206+
assumptions, making the interface for Gini perhaps the most flexible available.
196207

197208

198209
# Performance

0 commit comments

Comments
 (0)