268
268
// First enumerate cost values, prefer those that maximize cost reduction
269
branch(*this, costs, INT_VAR_REGRET_MAX_MAX, INT_VAL_SPLIT_MIN);
269
branch(*this, costs, INT_VAR_REGRET_MAX_MAX(), INT_VAL_SPLIT_MIN());
271
271
// Then fix the remaining successors
272
branch(*this, succ, INT_VAR_MIN_MIN, INT_VAL_MIN);
272
branch(*this, succ, INT_VAR_MIN_MIN(), INT_VAL_MIN());
275
275
virtual IntVar cost(void) const {