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
|
3
(1) |
4
|
|
5
|
6
|
7
|
8
(1) |
9
|
10
|
11
|
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
|
26
|
27
(1) |
28
|
|
|
|
|
|
From: Sylvain B. <syl...@ce...> - 2006-02-27 10:41:02
|
Hello all, I am trying to set the time and node limits of the solver by using the setTimeLimit(int) and setNodeLimit(int) methods of class Solver. Unfortunately these methods don't seem to work well (at least in my program). I am using this instruction (s is an instance of class Solver): s.setTimeLimit(1000); Replacing this by : s.getSearchSolver().limits.add(new TimeLimit(s.getSearchSolver(), 1000)); seems to work. Did I misuse or misunderstand the methods setTimeLimit(int) and setNodeLimit(int) ? [I am using the CVS version of Choco.] Thank you in advance ! Regards, Sylvain Bouveret. |
|
From: <fra...@ya...> - 2006-02-08 10:20:39
|
Dear Michel,
indeed, something was wrong in the construction of the
CSP in case of Cardinality constraints (and we should
hve noticed it, had we made a test on this constraint
class).
To repair it, one simply needs to modify the following
two methods in AbstractLargeCompositeConstraint.
As I don't have access to the CVS server from work, I
am sending the patch by email.
The package will be updated tonight on the site.
(and sorry for the late answer !)
François
------------------
public void setConstraintIndex(int i, int idx) {
int constIdx = getSubConstraintIdx(i);
if ((constIdx == -1)) {
int varIdx = i - offsets[offsets.length - 1];
additionalIndices[varIdx] = idx;
} else {
int varIdx = (constIdx == 0) ? i : i -
offsets[constIdx - 1];
constraints[constIdx].setConstraintIndex(varIdx,
idx);
}
}
public int getConstraintIdx(int i) {
int constIdx = getSubConstraintIdx(i);
if ((constIdx == -1)) {
int varIdx = i - offsets[offsets.length - 1];
return additionalIndices[varIdx];
} else {
int varIdx = (constIdx == 0) ? i : i -
offsets[constIdx - 1];
return
constraints[constIdx].getConstraintIdx(varIdx);
}
}
---------------
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
|
|
From: coletta <co...@li...> - 2006-02-03 10:22:30
|
Dear All,
The CVS version of the method choco.integer.IntDomainVar
getConstraint(int i) seems to be bugged:
Bellows is Junit Test to show it.
Shall we now use the getConstraintVector() method ? or will
the getConstraint(int i) be fixed ?
Best regards,
--
Remi
-------------------------------------------------------------
package choco.test.integer;
import java.util.logging.Logger;
import choco.Constraint;
import choco.Problem;
import junit.framework.TestCase;
public class IntDomainVarTest extends TestCase {
private Logger logger =
Logger.getLogger("choco.test.integer.IntDomainVarTest");
private Problem pb;
private choco.integer.IntDomainVar x;
private choco.integer.IntDomainVar y;
private Constraint c1;
private Constraint c2;
protected void setUp() {
logger.fine("EqualXC Testing...");
pb = new Problem();
x = pb.makeBoundIntVar("X", 1, 5);
y = pb.makeBoundIntVar("Y", 1, 5);
c1 = pb.eq(x, 1);
c2 = pb.eq(x, y);
pb.post(c1);
pb.post(c2);
}
public void test1() {
logger.finer("test1");
assertEquals(x.getNbConstraints(), 2);
assertEquals(y.getNbConstraints(), 1);
assertNotNull(x.getConstraint(0));
assertNotNull(x.getConstraint(1));
assertNotNull(y.getConstraint(0));
}
}
-------------------------------------------------------------
|