Allow Constraint list to be accessed
This commit is contained in:
parent
c3541de871
commit
1cbaea53d2
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue