Skip to main content

Hi,

 

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?

Thanks,

Zulfan

Hi @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. 


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);


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator