Allow Constraint list to be accessed

This commit is contained in:
Shadowfacts 2019-08-08 16:42:45 -04:00
parent c3541de871
commit 1cbaea53d2
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ public class Solver {
private Row objective = new Row(); private Row objective = new Row();
private Row artificial; private Row artificial;
public Set<Constraint> getConstraints() {
return cns.keySet();
}
/** /**
* Add a constraint to the solver. * Add a constraint to the solver.