That was exactly the problem. It works perfectly! Thank you very much for your response.
Now my biggest issue is concerning the saving of the results. Indeed, I need to save the results from this notebook in order to be able to use them later on in another notebook. I write the code for that. Basically I get a file which is suppose to contain my result (Fansatest). But when I try to call the results back, the code takes a while despite the fact that I set the number of replications Rep=0.
For example, for rep=9, the results should be
. But now when I run all the notebook till the last cell with contain the code to save the result. I get the file (Fansatest), the name I give to it.
Now to call the result, (please uncomment << "Fansa_test"; at this stage) in case you are testing the code), set init="old" instead of init="new" (to call the stored solution) and set the number of replications Rep=0. The aim is to have the same results (just to load them).
But the results don't show up. I get a long list of values. here is the code
Attachments: