I have a question that may be really stupid (but looking at the documentation and the forum I did not find anything useful) :
I would like to use assignment by value rather that the standard assignement by reference in OPL Script for arrays. Can it be done in OPL script?
To be even more specific : let's say I want to modify the LagrangianRelaxation example in such a way that I am reusing the solution of the m2 and m3 models in the next iteration as the initial solution. How can I do that correctly?
I can't store the solution in an array because with the default behaviour a reference is passed and not a value. By calling m2.end() and m3.end() I loose the solution. Not calling m2.end() and m3.end() has obvious consequences...
Thanks a lot!