You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final a = Param();
final b = Param();
final c1 = a >= cm(10);
final c2 = b <= cm(5);
final c3 = b >= a;
final solver = Solver();
print('add c1 ${solver.addConstraint(c1).message}');
print('add c2 ${solver.addConstraint(c2).message}');
print('add c3 ${solver.addConstraint(c3).message}');
print('remove c3 ${solver.removeConstraint(c3).message}');
solver1.flushUpdates();
print('vars a=${a.value} b=${b.value}');
Reproducible example
Output
Solver says "Unknown constraint" on removing c3 constraint, but c3 constraint has an impact on the solution.
The text was updated successfully, but these errors were encountered: