Le 20 nov. 08 à 19:07, Andrew Makhorin a écrit :
Hi Xypron,
I propose to add to MathProg the following built-in time functions:
...
Year(t)
Returns the year number, for example, 2008.
Month(t)
Returns the month number, from 1 to 12....
...
Nice,
but why these functions have to start with an upercase?
If you xxx a conflict problem with another command
("hour" is frequently used in optimisation problems ;-)
You could prefix all these functions with some commun "package" string
date_year(t)
date_month(t)
or
time_year(t)
time_month(t)
-- Maurice
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk