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
|
4
|
5
|
6
|
7
(1) |
8
|
9
|
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
|
17
|
18
|
19
|
20
(3) |
21
|
22
|
23
|
|
24
|
25
|
26
|
27
|
28
|
29
|
|
|
From: Michael P. <mpr...@ex...> - 2008-02-20 20:49:38
|
Ah, perhaps this relates to this note from the 1.2.04 release notes:
Our next step will be to :
* Ensure the compatibility of boolean connectors with real and set
_____
From: Michael Prescott
Sent: February 20, 2008 1:37 PM
To: 'cho...@li...'
Subject: RealVar & implies()
I'm having a problem with RealVar and the Problem.implies() - it doesn't
seem to get applied. Here's a test with integer bound variables:
public static void main(String[] args) {
Problem p = new Problem();
p.setPrecision(0.01);
IntDomainVar height = p.makeBoundIntVar("Height", 1, 100);
IntDomainVar weight = p.makeBoundIntVar("Weight", 1, 100);
Constraint weightIsDoubleHeight = p.geq(weight, p.mult(2, height));
Constraint tall = p.geq(height,44);
Constraint weightIsTripleHeight = p.geq(weight, p.mult(3, height));
Constraint tallImpliesHeavy = p.implies(tall,weightIsTripleHeight);
p.post(weightIsDoubleHeight);
p.post(tallImpliesHeavy);
System.out.println(p.pretty());
if (p.maximize(height, false)) {
System.out.println(height.pretty());
System.out.println(weight.pretty());
} else {
System.out.println("No solution.");
}
}
This works correctly, producing a solution of height=43 and weight=86.
When I switch over to RealVar, the implies constraint,
'tallImpliesHeavy', no longer works.
public static void main(String[] args) {
Problem p = new Problem();
p.setPrecision(0.01);
RealVar height = p.makeRealVar("Height", 1, 100);
RealVar weight = p.makeRealVar("Weight", 1, 100);
Constraint weightIsDoubleHeight = p.geq(weight, p.mult(p.cst(2),
height));
Constraint tall = p.geq(height,44);
Constraint weightIsTripleHeight = p.geq(weight, p.mult(p.cst(3),
height));
Constraint tallImpliesHeavy = p.implies(tall,weightIsTripleHeight);
p.post(weightIsDoubleHeight);
p.post(tallImpliesHeavy);
System.out.println(p.pretty());
if (p.maximize(height, false)) {
System.out.println(height.pretty());
System.out.println(weight.pretty());
} else {
System.out.println("No solution.");
}
}
This produces an answer of height= approx. 50, and weight=approx. 100.
Any insight would be helpful.
Michael
Michael Prescott
direct: 416.646.7062
main: 416.646.7000
fax: 416.646.7050
Exchange Solutions Inc.
250 Yonge Street, 18th Floor
Toronto, ON M5B 2L7
www.exchangesolutions.com
|
|
From: Michael P. <mpr...@ex...> - 2008-02-20 18:37:36
|
I'm having a problem with RealVar and the Problem.implies() - it doesn't
seem to get applied. Here's a test with integer bound variables:
public static void main(String[] args) {
Problem p = new Problem();
p.setPrecision(0.01);
IntDomainVar height = p.makeBoundIntVar("Height", 1, 100);
IntDomainVar weight = p.makeBoundIntVar("Weight", 1, 100);
Constraint weightIsDoubleHeight = p.geq(weight, p.mult(2, height));
Constraint tall = p.geq(height,44);
Constraint weightIsTripleHeight = p.geq(weight, p.mult(3, height));
Constraint tallImpliesHeavy = p.implies(tall,weightIsTripleHeight);
p.post(weightIsDoubleHeight);
p.post(tallImpliesHeavy);
System.out.println(p.pretty());
if (p.maximize(height, false)) {
System.out.println(height.pretty());
System.out.println(weight.pretty());
} else {
System.out.println("No solution.");
}
}
This works correctly, producing a solution of height=43 and weight=86.
When I switch over to RealVar, the implies constraint,
'tallImpliesHeavy', no longer works.
public static void main(String[] args) {
Problem p = new Problem();
p.setPrecision(0.01);
RealVar height = p.makeRealVar("Height", 1, 100);
RealVar weight = p.makeRealVar("Weight", 1, 100);
Constraint weightIsDoubleHeight = p.geq(weight, p.mult(p.cst(2),
height));
Constraint tall = p.geq(height,44);
Constraint weightIsTripleHeight = p.geq(weight, p.mult(p.cst(3),
height));
Constraint tallImpliesHeavy = p.implies(tall,weightIsTripleHeight);
p.post(weightIsDoubleHeight);
p.post(tallImpliesHeavy);
System.out.println(p.pretty());
if (p.maximize(height, false)) {
System.out.println(height.pretty());
System.out.println(weight.pretty());
} else {
System.out.println("No solution.");
}
}
This produces an answer of height= approx. 50, and weight=approx. 100.
Any insight would be helpful.
Michael
Michael Prescott
direct: 416.646.7062
main: 416.646.7000
fax: 416.646.7050
Exchange Solutions Inc.
250 Yonge Street, 18th Floor
Toronto, ON M5B 2L7
www.exchangesolutions.com
|
|
From: ivagra <_l...@ab...> - 2008-02-07 06:48:07
|
Best online drugstore since 1996. Your Coupon #sbrBH. Save 90% Visit us. claudio jean |