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?