I’ve been trying to run some Monte Carlo simulations, but apparently if the number of runs is more than 500, the Histogram cannot be made. AIMMS returns some arithmetic error that I don’t understand. How can we increase the number of data that Histogram can make?
Best answer by RoelView original
The procedure HistogramCreate has an optional argument sample_buffer_size with a default value of 512.
You should override that value to allow more data points.
e.g. in your procedure CreateHistogramMonteCarlo use;
HistogramCreate(HistogramID, sample_buffer_size : NumberOfRun);
@Roel , thanks a lot for this. I saw and omitted this argument in the beginning as the name is not very clear to me.
Thanks a lot.