Solved

Is there a function for absolute value?

  • 1 May 2023
  • 2 replies
  • 30 views

Badge +4

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

 

icon

Best answer by Marcel Hunting 2 May 2023, 09:49

View original

2 replies

Badge +4

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!

Userlevel 5
Badge +4

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.

Reply


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

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