diff options
author | 2019-07-29 15:36:28 +0200 | |
---|---|---|
committer | 2019-07-29 15:36:28 +0200 | |
commit | 83f8384f66ddb1d86567c928bdb102174c70cba0 (patch) | |
tree | cc65238c275b6ae1accc26de3a4e2fd1c973973d /Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend | |
parent | Make CbcPolyhedronSolver more robust (diff) | |
download | VIATRA-Generator-83f8384f66ddb1d86567c928bdb102174c70cba0.tar.gz VIATRA-Generator-83f8384f66ddb1d86567c928bdb102174c70cba0.tar.zst VIATRA-Generator-83f8384f66ddb1d86567c928bdb102174c70cba0.zip |
Fix CBC timeout
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend index 3fd50071..a3977653 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend | |||
@@ -63,6 +63,7 @@ class PolyhedronScopePropagator extends ScopePropagator { | |||
63 | populatePolyhedronFromScope() | 63 | populatePolyhedronFromScope() |
64 | // println(polyhedron) | 64 | // println(polyhedron) |
65 | val result = operator.saturate() | 65 | val result = operator.saturate() |
66 | // println(polyhedron) | ||
66 | if (result == PolyhedronSaturationResult.EMPTY) { | 67 | if (result == PolyhedronSaturationResult.EMPTY) { |
67 | throw new IllegalStateException("Scope bounds cannot be satisfied") | 68 | throw new IllegalStateException("Scope bounds cannot be satisfied") |
68 | } else { | 69 | } else { |
@@ -71,7 +72,6 @@ class PolyhedronScopePropagator extends ScopePropagator { | |||
71 | super.propagateAllScopeConstraints() | 72 | super.propagateAllScopeConstraints() |
72 | } | 73 | } |
73 | } | 74 | } |
74 | // println(polyhedron) | ||
75 | } | 75 | } |
76 | 76 | ||
77 | def resetBounds() { | 77 | def resetBounds() { |