Round down to the next integer

Problems with syntax of GAMS
Post Reply
Manassaldi
User
User
Posts: 118
Joined: 7 years ago
Location: Rosario - Argentina

Re: Round down to the next integer

Post by Manassaldi »

Hi,
you can use the same command, this function is valid only for DNLP models

floor(x) returns the greatest integer number less than or equal to x

best regards
Manassaldi
User
User
Posts: 118
Joined: 7 years ago
Location: Rosario - Argentina

Re: Round down to the next integer

Post by Manassaldi »

ceil(x) returns the smallest integer number greater than or equal to x.
Bye
Post Reply