Skip to main content
Solved

How to write Floor or ceiling Function?

  • January 20, 2021
  • 1 reply
  • 109 views

Forum|alt.badge.img
  • AIMMS Partner
  • 9 replies

Hi,

I want to write a floor function in my model.

Or how to get floor value of a fractional number?

how can i write that in AIMMS?

Best answer by deannezhang

Do you want to apply the function on the variable? If so, this is the way - https://how-to.aimms.com/Articles/199/199-model-rounded-variable.html#example

 

1 reply

deannezhang
AIMMS Champ
Forum|alt.badge.img+3
  • AIMMS Champ
  • 61 replies
  • Answer
  • January 20, 2021

Do you want to apply the function on the variable? If so, this is the way - https://how-to.aimms.com/Articles/199/199-model-rounded-variable.html#example

 



Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator