Skip to content

Commit e50cacd

Browse files
committed
Update to version 4.2.1
1 parent fa2246e commit e50cacd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2592
-1552
lines changed

Makefile.in

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Guido Tack, 2005
1010
#
1111
# Last modified:
12-
# $Date: 2013-07-09 12:19:11 +0200 (Tue, 09 Jul 2013) $ by $Author: schulte $
13-
# $Revision: 13831 $
12+
# $Date: 2013-08-22 20:49:24 +0200 (Thu, 22 Aug 2013) $ by $Author: schulte $
13+
# $Revision: 13986 $
1414
#
1515
# This file is part of Gecode, the generic constraint
1616
# development environment:
@@ -319,7 +319,6 @@ INTHDR0 = \
319319
arithmetic/abs.hpp arithmetic/max.hpp arithmetic/mult.hpp \
320320
arithmetic/divmod.hpp \
321321
arithmetic/pow-ops.hpp arithmetic/pow.hpp arithmetic/nroot.hpp \
322-
arithmetic/math.hpp \
323322
bool/or.hpp bool/eq.hpp bool/lq.hpp bool/eqv.hpp bool/base.hpp \
324323
bool/clause.hpp bool/ite.hpp \
325324
precede.hh precede/single.hpp \

changelog.in

+141-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Christian Schulte, 2005
77
#
88
# Last modified:
9-
# $Date: 2013-07-19 13:58:42 +0200 (Fri, 19 Jul 2013) $ by $Author: schulte $
10-
# $Revision: 13907 $
9+
# $Date: 2013-11-05 09:51:31 +0100 (Tue, 05 Nov 2013) $ by $Author: schulte $
10+
# $Revision: 14055 $
1111
#
1212
# This file is part of Gecode, the generic constraint
1313
# development environment:
@@ -66,6 +66,145 @@
6666
# optional section in the html page.
6767
#
6868

69+
[RELEASE]
70+
Version: 4.2.1
71+
Date: 2013-11-05
72+
[DESCRIPTION]
73+
This release fixes several major bugs and adds some minor
74+
improvements.
75+
76+
[ENTRY]
77+
Module: other
78+
What: change
79+
Rank: minor
80+
[DESCRIPTION]
81+
Compiles with MSVC 2013.
82+
83+
[ENTRY]
84+
Module: search
85+
What: bug
86+
Rank: major
87+
Thanks: Roberto Casta�eda Lozano
88+
[DESCRIPTION]
89+
Fix for restart-based search when the master does not have a branching.
90+
91+
[ENTRY]
92+
Module: search
93+
What: bug
94+
Rank: major
95+
Thanks: Roberto Casta�eda Lozano
96+
[DESCRIPTION]
97+
Restart-based search did not work when the cutoff limit did not
98+
strictly increase.
99+
100+
[ENTRY]
101+
Module: search
102+
What: new
103+
Rank: minor
104+
Thanks: Roberto Casta�eda Lozano
105+
[DESCRIPTION]
106+
Added support for a repeat cutoff generator.
107+
108+
[ENTRY]
109+
Module: int
110+
What: performance
111+
Rank: minor
112+
Thanks: Anne Meyer
113+
[DESCRIPTION]
114+
Fix performance of domain consistent element for the case that the result
115+
variable is assigned.
116+
117+
[ENTRY]
118+
Module: int
119+
What: bug
120+
Rank: major
121+
Thanks: Bauke Conijn
122+
[DESCRIPTION]
123+
Fixed incorrect propagation in sortedness with permutation variables.
124+
125+
[ENTRY]
126+
Module: int
127+
What: bug
128+
Rank: major
129+
Thanks: Duane Leslie
130+
[DESCRIPTION]
131+
Fixed cumulative constraint for 0-usage tasks.
132+
133+
[ENTRY]
134+
Module: int
135+
What: bug
136+
Rank: major
137+
Thanks: Duane Leslie
138+
[DESCRIPTION]
139+
Fixed special case check for cumulative that would wrongly classify
140+
some instances as disjunctive.
141+
142+
[ENTRY]
143+
Module: int
144+
What: bug
145+
Rank: major
146+
Thanks: Kish Shen
147+
[DESCRIPTION]
148+
The nroot constraint now propagates correctly for negative
149+
numbers when the exponent is odd.
150+
151+
[ENTRY]
152+
Module: other
153+
What: bug
154+
Rank: minor
155+
[DESCRIPTION]
156+
Fix CMake to also build FlatZinc and Driver correctly.
157+
158+
[ENTRY]
159+
Module: flatzinc
160+
What: bug
161+
Rank: minor
162+
[DESCRIPTION]
163+
Fixed bug in auxiliary variable branching.
164+
165+
[ENTRY]
166+
Module: minimodel
167+
What: new
168+
Rank: minor
169+
Thanks: Philippe Kezirian
170+
[DESCRIPTION]
171+
The sum of IntArgs can now be computed similarly to the sum of
172+
IntVarArgs.
173+
174+
[ENTRY]
175+
Module: kernel
176+
What: new
177+
Rank: minor
178+
Thanks: Kish Shen
179+
[DESCRIPTION]
180+
Activity information can now be initialized with a branch merit function.
181+
182+
[ENTRY]
183+
Module: int
184+
What: new
185+
Rank: minor
186+
Thanks: Kish Shen
187+
[DESCRIPTION]
188+
Activity information can now be initialized with a branch merit function.
189+
190+
[ENTRY]
191+
Module: set
192+
What: new
193+
Rank: minor
194+
Thanks: Kish Shen
195+
[DESCRIPTION]
196+
Activity information can now be initialized with a branch merit function.
197+
198+
[ENTRY]
199+
Module: float
200+
What: new
201+
Rank: minor
202+
Thanks: Kish Shen
203+
[DESCRIPTION]
204+
Activity information can now be initialized with a branch merit function.
205+
206+
207+
69208
[RELEASE]
70209
Version: 4.2.0
71210
Date: 2013-07-19

configure

+33-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/sh
2-
# From configure.ac Id: configure.ac.in 13787 2013-07-03 14:57:45Z schulte .
2+
# From configure.ac Id: configure.ac.in 13938 2013-07-23 12:30:31Z schulte .
33
# Guess values for system-dependent variables and create Makefiles.
4-
# Generated by GNU Autoconf 2.68 for GECODE 4.2.0.
4+
# Generated by GNU Autoconf 2.68 for GECODE 4.2.1.
55
#
66
# Report bugs to <users@gecode.org>.
77
#
@@ -561,8 +561,8 @@ MAKEFLAGS=
561561
# Identity of this package.
562562
PACKAGE_NAME='GECODE'
563563
PACKAGE_TARNAME='gecode'
564-
PACKAGE_VERSION='4.2.0'
565-
PACKAGE_STRING='GECODE 4.2.0'
564+
PACKAGE_VERSION='4.2.1'
565+
PACKAGE_STRING='GECODE 4.2.1'
566566
PACKAGE_BUGREPORT='users@gecode.org'
567567
PACKAGE_URL=''
568568

@@ -781,6 +781,7 @@ enable_leak_debug
781781
enable_audit
782782
enable_profile
783783
enable_gcov
784+
enable_thread
784785
enable_gcc_visibility
785786
enable_doc_dot
786787
enable_doc_search
@@ -1358,7 +1359,7 @@ if test "$ac_init_help" = "long"; then
13581359
# Omit some internal or obsolete options to make the list less imposing.
13591360
# This message is too long to be a string in the A/UX 3.1 sh.
13601361
cat <<_ACEOF
1361-
\`configure' configures GECODE 4.2.0 to adapt to many kinds of systems.
1362+
\`configure' configures GECODE 4.2.1 to adapt to many kinds of systems.
13621363
13631364
Usage: $0 [OPTION]... [VAR=VALUE]...
13641365
@@ -1419,7 +1420,7 @@ fi
14191420

14201421
if test -n "$ac_init_help"; then
14211422
case $ac_init_help in
1422-
short | recursive ) echo "Configuration of GECODE 4.2.0:";;
1423+
short | recursive ) echo "Configuration of GECODE 4.2.1:";;
14231424
esac
14241425
cat <<\_ACEOF
14251426
@@ -1440,6 +1441,7 @@ Optional Features:
14401441
--enable-audit build with auditing code [default=no]
14411442
--enable-profile build with profiling information [default=no]
14421443
--enable-gcov build with gcov support [default=no]
1444+
--enable-thread build with multi-threading support [default=yes]
14431445
--enable-gcc-visibility use gcc visibility attributes [default=yes]
14441446
--enable-doc-dot enable graphs in documentation [default=yes]
14451447
--enable-doc-search enable documentation search engine [default=no]
@@ -1562,7 +1564,7 @@ fi
15621564
test -n "$ac_init_help" && exit $ac_status
15631565
if $ac_init_version; then
15641566
cat <<\_ACEOF
1565-
GECODE configure 4.2.0
1567+
GECODE configure 4.2.1
15661568
generated by GNU Autoconf 2.68
15671569
15681570
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2235,7 +2237,7 @@ cat >config.log <<_ACEOF
22352237
This file contains any messages produced by compilers while
22362238
running configure, to aid debugging if configure makes a mistake.
22372239
2238-
It was created by GECODE $as_me 4.2.0, which was
2240+
It was created by GECODE $as_me 4.2.1, which was
22392241
generated by GNU Autoconf 2.68. Invocation command line was
22402242
22412243
$ $0 $@
@@ -2590,7 +2592,7 @@ ac_config_headers="$ac_config_headers gecode/support/config.hpp"
25902592

25912593

25922594

2593-
ac_gecode_soversion=35
2595+
ac_gecode_soversion=36
25942596
GECODE_SOVERSION=${ac_gecode_soversion}
25952597

25962598
ac_gecode_flatzincversion=1.6
@@ -6408,7 +6410,17 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64086410

64096411

64106412

6411-
ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
6413+
# Check whether --enable-thread was given.
6414+
if test "${enable_thread+set}" = set; then :
6415+
enableval=$enable_thread;
6416+
fi
6417+
6418+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with multi-threading support" >&5
6419+
$as_echo_n "checking whether to build with multi-threading support... " >&6; }
6420+
if test "${enable_thread:-yes}" = "yes"; then
6421+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6422+
$as_echo "yes" >&6; }
6423+
ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
64126424
if test "x$ac_cv_header_unistd_h" = xyes; then :
64136425

64146426
$as_echo "#define GECODE_HAS_UNISTD_H 1" >>confdefs.h
@@ -6417,23 +6429,23 @@ $as_echo "#define GECODE_HAS_UNISTD_H 1" >>confdefs.h
64176429
fi
64186430

64196431

6420-
ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
6432+
ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
64216433
if test "x$ac_cv_header_pthread_h" = xyes; then :
64226434

64236435
$as_echo "#define GECODE_THREADS_PTHREADS 1" >>confdefs.h
64246436

6425-
CFLAGS="-pthread${CFLAGS:+ }${CFLAGS}"
6437+
CFLAGS="-pthread${CFLAGS:+ }${CFLAGS}"
64266438
CXXFLAGS="-pthread${CXXFLAGS:+ }${CXXFLAGS}"
6427-
DLLFLAGS="-pthread${DLLFLAGS:+ }${DLLFLAGS}"
6428-
ac_fn_cxx_check_header_mongrel "$LINENO" "libkern/OSAtomic.h" "ac_cv_header_libkern_OSAtomic_h" "$ac_includes_default"
6439+
DLLFLAGS="-pthread${DLLFLAGS:+ }${DLLFLAGS}"
6440+
ac_fn_cxx_check_header_mongrel "$LINENO" "libkern/OSAtomic.h" "ac_cv_header_libkern_OSAtomic_h" "$ac_includes_default"
64296441
if test "x$ac_cv_header_libkern_OSAtomic_h" = xyes; then :
64306442

64316443
$as_echo "#define GECODE_THREADS_OSX 1" >>confdefs.h
64326444

64336445
else
64346446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for spin locks" >&5
64356447
$as_echo_n "checking for spin locks... " >&6; }
6436-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64376449
/* end confdefs.h. */
64386450
#include <pthread.h>
64396451
int
@@ -6474,6 +6486,10 @@ fi
64746486
fi
64756487

64766488

6489+
else
6490+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491+
$as_echo "no" >&6; }
6492+
fi
64776493

64786494

64796495

@@ -13284,7 +13300,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1328413300
# report actual input values of CONFIG_FILES etc. instead of their
1328513301
# values after options handling.
1328613302
ac_log="
13287-
This file was extended by GECODE $as_me 4.2.0, which was
13303+
This file was extended by GECODE $as_me 4.2.1, which was
1328813304
generated by GNU Autoconf 2.68. Invocation command line was
1328913305
1329013306
CONFIG_FILES = $CONFIG_FILES
@@ -13346,7 +13362,7 @@ _ACEOF
1334613362
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1334713363
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1334813364
ac_cs_version="\\
13349-
GECODE config.status 4.2.0
13365+
GECODE config.status 4.2.1
1335013366
configured by $0, generated by GNU Autoconf 2.68,
1335113367
with options \\"\$ac_cs_config\\"
1335213368

configure.ac

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ dnl Copyright:
1010
dnl Guido Tack, 2004, 2005
1111
dnl
1212
dnl Last modified:
13-
dnl $Date: 2013-07-15 02:49:56 +0200 (Mon, 15 Jul 2013) $
14-
dnl by $Author: tack $
15-
dnl $Revision: 13879 $
13+
dnl $Date: 2013-07-23 14:30:31 +0200 (Tue, 23 Jul 2013) $
14+
dnl by $Author: schulte $
15+
dnl $Revision: 13938 $
1616
dnl
1717
dnl This file is part of Gecode, the generic constraint
1818
dnl development environment:
@@ -39,13 +39,13 @@ dnl WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3939
dnl
4040
dnl
4141

42-
AC_REVISION([$Id: configure.ac 13879 2013-07-15 00:49:56Z tack $])
42+
AC_REVISION([$Id: configure.ac 13938 2013-07-23 12:30:31Z schulte $])
4343
AC_PREREQ(2.53)
44-
AC_INIT(GECODE, 4.2.0, users@gecode.org)
44+
AC_INIT(GECODE, 4.2.1, users@gecode.org)
4545
AC_CONFIG_HEADERS([gecode/support/config.hpp])
4646
AC_CONFIG_SRCDIR(gecode/kernel.hh)
4747

48-
ac_gecode_soversion=35
48+
ac_gecode_soversion=36
4949
AC_SUBST(GECODE_SOVERSION, ${ac_gecode_soversion})
5050
ac_gecode_flatzincversion=1.6
5151
AC_SUBST(GECODE_FLATZINC_VERSION, ${ac_gecode_flatzincversion})

configure.ac.in

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ dnl Copyright:
66
dnl Guido Tack, 2004, 2005
77
dnl
88
dnl Last modified:
9-
dnl $Date: 2013-07-15 02:49:56 +0200 (Mon, 15 Jul 2013) $
10-
dnl by $Author: tack $
11-
dnl $Revision: 13879 $
9+
dnl $Date: 2013-07-23 14:30:31 +0200 (Tue, 23 Jul 2013) $
10+
dnl by $Author: schulte $
11+
dnl $Revision: 13938 $
1212
dnl
1313
dnl This file is part of Gecode, the generic constraint
1414
dnl development environment:
@@ -35,13 +35,13 @@ dnl WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3535
dnl
3636
dnl
3737

38-
AC_REVISION([$Id: configure.ac.in 13879 2013-07-15 00:49:56Z tack $])
38+
AC_REVISION([$Id: configure.ac.in 13938 2013-07-23 12:30:31Z schulte $])
3939
AC_PREREQ(2.53)
40-
AC_INIT(GECODE, 4.2.0, users@gecode.org)
40+
AC_INIT(GECODE, 4.2.1, users@gecode.org)
4141
AC_CONFIG_HEADERS([gecode/support/config.hpp])
4242
AC_CONFIG_SRCDIR(gecode/kernel.hh)
4343

44-
ac_gecode_soversion=35
44+
ac_gecode_soversion=36
4545
AC_SUBST(GECODE_SOVERSION, ${ac_gecode_soversion})
4646
ac_gecode_flatzincversion=1.6
4747
AC_SUBST(GECODE_FLATZINC_VERSION, ${ac_gecode_flatzincversion})

0 commit comments

Comments
 (0)