|
|
|
@ -1748,6 +1748,7 @@ class Solver
|
|
|
|
|
|
|
|
|
|
while (true) {
|
|
|
|
|
|
|
|
|
|
if (1 === $level) {
|
|
|
|
|
$conflictRule = $this->propagate($level);
|
|
|
|
|
if ($conflictRule !== null) {
|
|
|
|
|
if ($this->analyzeUnsolvable($conflictRule, $disableRules)) {
|
|
|
|
@ -1756,6 +1757,7 @@ class Solver
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// handle job rules
|
|
|
|
|
if ($level < $systemLevel) {
|
|
|
|
@ -1989,7 +1991,11 @@ class Solver
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($level < $systemLevel || $level == 1) {
|
|
|
|
|
// open suse sat-solver uses this, but why is $level == 1 trouble?
|
|
|
|
|
// SYSTEMSOLVABLE related? we don't have that, so should work
|
|
|
|
|
//if ($level < $systemLevel || $level == 1) {
|
|
|
|
|
|
|
|
|
|
if ($level < $systemLevel) {
|
|
|
|
|
break; // trouble
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1997,9 +2003,6 @@ class Solver
|
|
|
|
|
$n = -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// $this->printDecisionMap();
|
|
|
|
|
// $this->printDecisionQueue();
|
|
|
|
|
|
|
|
|
|
// minimization step
|
|
|
|
|
if (count($this->branches)) {
|
|
|
|
|
|
|
|
|
|