Dear Christian,
> ...But still, the calendar seems to have
> the property to consist of a collection of picewise affine functions
> (actually just translations by some constant). You really should try to
> express it by simple linear equations...
you are right, and you suggest to me an idea.
FD.element is a propagator for unrelated quantities but "calendar" is not unrelated simply because there is a periodical (multiperiodical) function which describes the relation for the cumulated timeunits of availability (continuous) and the absolute timeunits (discontinuos).
So we can have a daily period, a weekly period, a monthly period and multiple yearly periods added to form a linear function which express the "calendar" relation.
I'll try and report the results.
Thanks,
Adriano
-----
Adriano Volpones
Ars Computandi s.c.r.l.
via G.Donizetti, 20
24040 Canonica D'Adda - BERGAMO - ITALY
phone +39 035 501410 cell. +39 347 8344988
adriano.volpones@arscomputandi.com http://www.arscomputandi.com
-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.