You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(4) |
Dec
(7) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(2) |
Feb
(8) |
Mar
(13) |
Apr
(1) |
May
(2) |
Jun
(5) |
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
(9) |
Nov
(1) |
Dec
(15) |
| 2006 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(1) |
May
(10) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
|
| 2007 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(14) |
Jul
(3) |
Aug
|
Sep
(7) |
Oct
(13) |
Nov
(4) |
Dec
(7) |
| 2008 |
Jan
(1) |
Feb
(4) |
Mar
(2) |
Apr
(7) |
May
(4) |
Jun
(17) |
Jul
(20) |
Aug
(7) |
Sep
(23) |
Oct
(18) |
Nov
(47) |
Dec
(51) |
| 2009 |
Jan
(35) |
Feb
(20) |
Mar
(32) |
Apr
(38) |
May
(119) |
Jun
(99) |
Jul
(65) |
Aug
(22) |
Sep
(24) |
Oct
(39) |
Nov
(9) |
Dec
(10) |
| 2010 |
Jan
(8) |
Feb
(8) |
Mar
(76) |
Apr
(72) |
May
(80) |
Jun
(83) |
Jul
(28) |
Aug
(57) |
Sep
(25) |
Oct
(3) |
Nov
|
Dec
(1) |
| 2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
(1) |
3
|
4
|
5
|
6
|
7
|
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
|
22
|
23
|
24
(1) |
25
|
26
|
27
|
28
|
|
29
|
30
|
31
|
|
|
|
|
|
From: <Mic...@ce...> - 2006-01-24 18:51:08
|
I would very much appreciate some help to make this simple program workin=
g.
The program compiles normally but when executed I get :
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -2
at choco.bool.AbstractLargeCompositeConstraint.setConstraintIndex(Abstra=
ctLargeCompositeConstraint.java:119)
at choco.AbstractConstraint.connectVar(AbstractConstraint.java:336)
at=20
choco.bool.AbstractLargeBoolConstraintWithCounterOpposite.assignIndices(A=
bstractLargeBoolConstraintWithCounterOpposite.java:69)
at choco.bool.AbstractCompositeConstraint.addListener(AbstractCompositeC=
onstraint.java:47)
at choco.Problem.post(Problem.java:262)
at p1.main(p1.java:29)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Here is the code :
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
import choco.Problem;
import choco.Constraint;
import choco.integer.IntVar;
import java.util.*;
public class p1 {
public static void main(String[] args) throws Exception {
Problem pb =3D new Problem();
IntVar x =3D pb.makeBoundIntVar("x", 1, 3);
IntVar y =3D pb.makeBoundIntVar("y", 1, 3);
IntVar z =3D pb.makeBoundIntVar("z", 1, 3);
IntVar n =3D pb.makeBoundIntVar("n", 0, 4);
Constraint c1 =3D pb.neq(x, y);
Constraint c2 =3D pb.geq(y, z);
Constraint c3 =3D pb.lt(x,z);
Constraint[] cs =3D new Constraint[]{c1, c2, c3};
pb.post( pb.card(cs, n) );
}
}
Michel Lema=EEtre
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
ONERA/DCSD/CD Centre de Toulouse
2 avenue Edouard Belin - B.P. 4025 - 31055 Toulouse Cedex 4, FRANCE
Tel : +33 (0)5 62 25 26 60 Fax : +33 (0)5 62 25 25 64
Michel . Lemaitre @ cert . fr
|
|
From: coletta <co...@li...> - 2006-01-02 16:13:58
|
Dear All,
The "++" is probably too much, isn't it ?
/**
* retrieving the total number of constraints over integers
*
* @return the total number of constraints over integers in the
problem
*/
public final int getNbIntConstraints() {
return this.nbConstraint++; //constraints.size();
}
Happy new year 2006 and best wihes. May your dreams come true=20
(May Choco become the most popular solver in the world ;-)
--
R=C3=A9mi
|