Skip to main content

Is it possible to define a inequality function

  • November 21, 2023
  • 1 reply
  • 30 views

Forum|alt.badge.img+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

gabiservidone
Administrator
Forum|alt.badge.img+6
  • AIMMSian
  • 256 replies
  • April 2, 2024

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



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

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