Commit ea618d84 authored by Daniel Le Berre's avatar Daniel Le Berre
Browse files

Do the loop on each enclosed constraint.

parent ac1ce775
......@@ -182,7 +182,7 @@ public class OPBReader2005 extends Reader implements Serializable {
constr = this.solver.addExactly(this.lits, this.coeffs, this.d);
ConstrGroup cg = ((ConstrGroup) constr);
for (int i = 0; i < cg.size(); i++) {
} else if ("<=".equals(this.operator)) {
constr = this.solver.addAtMost(this.lits, this.coeffs, this.d);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment