Skip to main content

Hi everyone, is there a predefined function to get the absolute value of variables?

 

Hi @Chunyang. That is the abs() function. Note that abs(x) in a math program, with x a variable, can be reformulated using the trick described in section 6.1 of the AIMMS Modeling Guide.


Hi @Chunyang. That is the abs() function. Note that abs(x) in a math program, with x a variable, can be reformulated using the trick described in section 6.1 of the AIMMS Modeling Guide.

Thanks a lot!


Reply


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

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