7 lines
139 B
MiniZinc
7 lines
139 B
MiniZinc
predicate hill_climbing() =
|
|
if status() != START then
|
|
_objective < sol(_objective);
|
|
elseif status() = UNSAT then
|
|
complete();
|
|
endif;
|