Question

Is it possible to define a inequality function

  • 21 November 2023
  • 1 reply
  • 22 views

Badge +4

There is an original expression:

W = xy

W, x, y are all variables.

Now I want to define a function which relax the product of two variables into two inequations:

f(AB)={AB* >= A+cB; AB*<= dA+eB} (A,B are input variables and c,d,e are parameters)

After defining the function, I want to write the primal expression to:

W = f(xy).

So the W can be relaxed into two inequations by AIMMS automatically.

Is it possible to achive this purpose in AIMMS? Or I need to do the function manually and input the inequations on my own?


1 reply

Userlevel 5
Badge +6

@Chunyang can you give us more detail for us to better understand your question? 

Reply


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

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