All Questions
3 questions
0
votes
1
answer
155
views
CPLEX OPL ERROR RUNTIME : not to type lloType ,
It is confusing; I do not what the problem is. Does anyone know what the problem is?I get this error,"opl not to type runtime error", for some expression in my objective function when I am ...
-1
votes
1
answer
198
views
Transfer set in tuple to array in CPLEX?
{route} Routes ={
<1,{1,3},{8,5}>,
<2,{2,3},{7,9}>
};
Can I extrat the last set in the two tuple as 2D array with the first tuple as index from Routes? If the index doesn't show in the ...
0
votes
1
answer
105
views
How to add a constraint that choose one tuple from a set?
If I have a tuple like this
tuple index{
int i;
int j;
int k;
}
{index}indexs=
{
<1 1 1><1 1 2> <1 2 1> <1 2 3> <2 1 2> <2 1 4>
}
How can I add a constraint that ...