Skip to main content

I have a Binary Variable X(C,V,T).

Suppose for   and  , X(c,v,t) is 1 for a c1  in C.

I have another element parameter/variable (Range in C) F(V,T).

now using this variable X how can i find 

F(v,t) = c1   

 

@roy

 

define F(v, t) as 

 

first(c|X(c, v, t) = 1)

 

Read about the first function here: https://documentation.aimms.com/functionreference/elementary-computational-operations/set-related-functions/first.html


Reply


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

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