<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Hi,</span>
<div>I am trying to solve a simple integer programming problem that involves binomial probabilities.  I have loaded the gsl DLL for binomial probability calculations.  I am calling couenne through AMPL (I am using AMPLE IDE on windows).  Here is my model (.mod)
 file:</div>
<div><br>
</div>
<div>reset;<br>
option solver couenne;<br>
option randseed 1234;<br>
<br>
load amplgsl.dll;<br>
<br>
var r >= 0 integer;<br>
var n >= 0 integer;<br>
<br>
function gsl_cdf_binomial_P;<br>
function gsl_cdf_binomial_Q;<br>
<br>
param p0 := 0.2;<br>
param p1 := 0.4;<br>
param alpha := 0.05;<br>
param beta := 0.1;<br>
<br>
  minimize obj:  n; <br>
  subject to c1: gsl_cdf_binomial_Q(r,p0,n) <= alpha;<br>
  subject to c2: gsl_cdf_binomial_P(r,p1,n) <= beta;<br>
  subject to s1: n - r >= 0; <br>
  <br>
solve;<br>
display r, n;<br>
</div>
<div><br>
</div>
<div>When I run this, I get the following error message:</div>
<div><br>
</div>
<div>Couenne 0.5.7 -- an Open-Source solver for Mixed Integer Nonlinear Optimization<br>
Mailing list: <a href="https://groups.google.com/" data-email-masked="" rel="nofollow">
cou...@list.coin-or.org</a><br>
Instructions: <a href="http://www.coin-or.org/Couenne" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=http://www.coin-or.org/Couenne&source=gmail&ust=1624646491962000&usg=AFQjCNEuCUw3TvdB0QNkn9fKK7emdXiN_g">
http://www.coin-or.org/Couenne</a><br>
couenne: <br>
ANALYSIS TEST: *** Error: function call not implemented<br>
exit value 18446744073709551615<br>
<BREAK></div>
<div><br>
</div>
<div>I would appreciate any help as to what the problem is and how to address it.</div>
<div><br>
</div>
<div>Thank you,</div>
<span>Ravi</span><br>
</div>
</body>
</html>