Skip to main content

When I use the "DistributionInverseCumulative" function for beta distribution, I get the following error message from Visual C++:

--

Assertion failed!

Program: ...Aimms\4.85.5.3-x64-VS2017\Bin\libaimms3.dll

File: c:\gitlab-runner\builds\pvap61xc\0\aimms\a...\beta.cpp

Line: 173

Expression: istat==0

--

In the MainInitialization I implemented the function as follows:

b_p_1 := 6;
b_q_1 := 3;
b_a_1 := 1;
b_b_1 := 5;

for n do
y(n) := DistributionInverseCumulative(Beta(b_p_1,b_q_1,b_a_1,b_b_1), Uniform(0,1))
endfor;

For other distributions (e.g. normal distribution) the "DistributionInverseCumulative" works without any problems.

I would appreciate any pointers on what I should do so that this function doesn't produce an error message?

Hello!

I was able to reproduce the issue in AIMMS version 4.85, but this does not happen for versions 24.2 and 4.97 and 4.88. I cannot try all versions, but please update your AIMMS version to somethin newer, since it has already been fixed.

Thank you

 


Hello! Thank you very much for the quick reply. You're right, after updating to version 24.2.9.2 the function works without any errors. With best regards!


Reply


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

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