Hello Andrew >> Probably it would be reasonable to add two functions atoi and atod to >> convert symbolic values to numeric ones.
GLPK executes automatic conversion to symbol in: param i := 2008; param s symbolic := i; display i; What I missed is that GLPK has no automatic conversion to numeric. The following code fails: param y := '2008'; display y; The error given is: "cannot convert '2008' to floating-point number" A function atoi/atof is not necessary. Automatic conversion to numeric could be an alternative. Best regards Xypron -- View this message in context: http://www.nabble.com/Time-conversion-functions-tp20549985p20617915.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
