diff --git a/src/main/java/no/birkett/kiwi/Solver.java b/src/main/java/no/birkett/kiwi/Solver.java index c256834..72f5264 100644 --- a/src/main/java/no/birkett/kiwi/Solver.java +++ b/src/main/java/no/birkett/kiwi/Solver.java @@ -38,6 +38,9 @@ public class Solver { private Row objective = new Row(); private Row artificial; + public Set getConstraints() { + return cns.keySet(); + } /** * Add a constraint to the solver.