Originally posted by: felycite28
Thank you Alex , you can not imagine how much you taught me from the beginning of the process.
I had did the same thing for getting the names of variables, to change the type I had applied the
c.variables.set_types() , too . I stucked on a stupid place. For you , it is "Gas " which is obviuos .
For my variables names ; I am getting like in this structure (because the variable itself is x[m][t])
'x(1)(1)', 'I(1)(1)', 'y(1)(1)'
I could not know , how can I express x variable in
c.variables.set_types("Gas","C")
I tried:c.variables.set_types("x()()","C") but the model could not find the variable
They are details which are special for my model and hard to find an example to see how to express this specific one , it is very easy and small detail but when you do not know it, the code does not work , you know, and it is easy to get crazy , thats why I make you busy , sorry , but I am a good learner..
Thanks in advance
Regards
#CPLEXOptimizers#DecisionOptimization