~ubuntu-branches/debian/stretch/gecode/stretch

« back to all changes in this revision

Viewing changes to examples/warehouses.cpp

  • Committer: Package Import Robot
  • Author(s): Kari Pahula
  • Date: 2013-05-25 15:57:32 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20130525155732-bltd8lu9my9borhk
Tags: 4.0.0-2
Give make check LD_LIBRARY_PATH=. to make test work without gecode
already installed, to fix FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *     Christian Schulte, 2005
8
8
 *
9
9
 *  Last modified:
10
 
 *     $Date: 2010-10-07 20:52:01 +1100 (Thu, 07 Oct 2010) $ by $Author: schulte $
11
 
 *     $Revision: 11473 $
 
10
 *     $Date: 2012-09-07 11:29:57 +0200 (Fri, 07 Sep 2012) $ by $Author: schulte $
 
11
 *     $Revision: 13061 $
12
12
 *
13
13
 *  This file is part of Gecode, the generic constraint
14
14
 *  development environment:
135
135
    c_total = expr(*this, c_fixed*sum(open) + sum(c_store));
136
136
 
137
137
    // Branch with largest minimum regret on store cost
138
 
    branch(*this, c_store, INT_VAR_REGRET_MIN_MAX, INT_VAL_MIN);
 
138
    branch(*this, c_store, INT_VAR_REGRET_MIN_MAX(), INT_VAL_MIN());
139
139
 
140
140
    // Branch by assigning a supplier to each store
141
 
    branch(*this, supplier, INT_VAR_NONE, INT_VAL_MIN);
 
141
    branch(*this, supplier, INT_VAR_NONE(), INT_VAL_MIN());
142
142
  }
143
143
  /// Return solution cost
144
144
  virtual IntVar cost(void) const {