[Cmpl] Invalid variable name "dim"

Mike Steglich mike.steglich at stegger.net
Fri Feb 5 11:32:14 EST 2016


Hi Christopher,

You are right. The keyword dim is reserved for a deprecated and therefore not documented function dim(). This function was used in older versions and is still implemented for compatibility reasons. 

Cheers,

Mike



> Am 05.02.2016 um 17:10 schrieb Christopher Gross <christopher.gross at unikat.uni-augsburg.de>:
> 
> Hi,
> 
> when using the name "dim" as a sum variable, model generation fails with error message:
> 
> error (compiler): file test.cmpl line 8: syntax error, unexpected ASSIGN_ITER, expecting '('
> 
> Please find attached a small example where this problem occurs.
> 
> I could not find anything in the manual about "dim" being a keyword or reserved name. Could you please add it there or allow it as a variable name?
> 
> Thanks and best regards,
> 
> Christopher
> -- 
> Christopher Gross, M.Sc.
> 
> Lehrstuhl für Health Care Operations/Health Information Management
> 
> Universitäres Zentrum für Gesundheitswissenschaften am Klinikum Augsburg
> (UNIKA-T), Neusässer Straße 47, 86156 Augsburg;
> 
> Wirtschaftswissenschaftliche Fakultät, Universität Augsburg,
> Universitätsstraße 16, 86159 Augsburg
> 
> 
> Tel.: +49 821 598-6454
> 
> E-Mail:  christopher.gross at unikat.uni-augsburg.de
> Web:  http://www.wiwi.uni-augsburg.de/bwl/brunner/
> <test.cmpl>_______________________________________________
> Cmpl mailing list
> Cmpl at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cmpl




More information about the Cmpl mailing list