for my bachelor thesis I am currently creating a mathematical model.
The model itself is already finished, but uses a lot of binary variables and auxiliary variables. This results in a very large computing time.
To reduce the computing time a little it was an idea to replace some binary variables with SOS1 variables with an upper bound of 1.
However said variable has 3 indexes:
Code: Select all
s(i,l,w)
I have already tried to merge the sets l and w in a new set b with the help of:
Code: Select all
Set
l Explanation Text /1*3/
w Explanation Text /1*3/
b(l,w) Explanation Text /#l.#w/;
SOS1 Variable
s(i,b) Explanation Text;
Code: Select all
*** Error 122
One dimensional Set expected
Thank you very much.
Best Regards,
Pinguin_Fan