Lets say I have a set:
{int} A ={1,2,3,4};
How can I get the number of elements in this set in CPLEX?
Thanks in advance!
{int} A ={1,2,3,4}; int n=card(A); execute { writeln(n); }
gives
4