AnsweredAssumed Answered

Sets in Xpress

Question asked by Jeet Turakhia on May 11, 2013
Latest reply on Aug 6, 2014 by Susanne.Heip

Hi all,

 

I am currently working on my thesis and was needing to know how to separate elements of a set. 

 

eg.

forall(j in 1..n) do
         ab(1,j):= EBOM(3) - EBOM(1)
end-do

 

ab(1,j) = {"K2","K5"}

 

In this example, how would I "CALL" K2 from ab(1,j)? 
I want to use it for further processing

eg.

I want

A(1,1) = K2 

 

Any help will really be appreciated. I am still a beginner with Xpress. 

Thanks. 

Outcomes