[AMPL 25087] Using AMPL Extended Functions with Global Optimization Solvers

Hello,

I am trying to use AMPL extended functions in my model. I have the following lines in my model:

load amplgsl.dll;

function gsl_cdf_beta_P;

Since the problem is nonlinear, I need to use a global optimizer such as BARON, LINDO Global, LGO, or Couenne. But none seems to be able to call these functions. I tried following the steps listed in these previous posts:

( I tried downloading an older version of the amplgsl.dll and set the ampl_funclibs to the location of amplgsl.dll)

But none seemed to work and I get the following error messages respectively, for the aforementioned solvers:

BARON does not support operation function call

BARON 25.8.5 (2025.08.05): operation not supported by BARON

BARON 25.8.5 (2025.08.05): maxtime=3600

Reading C:\Users\pelin\AppData\Local\Temp\at18472.nl in NL format

Bad NL format

Errorcode=2029: Specified feature is not yet supported or not compatible with the model type.

exit value 1

LGO: timelim=3600

function gsl_cdf_beta_P not available

exit value 4

Couenne 0.5.8 – an Open-Source solver for Mixed Integer Nonlinear Optimization

Mailing list: couenne@list.coin-or.org

Instructions: Couenne, a solver for non-convex MINLP problems

couenne: max_cpu_time=3600

exit value 18446744072635810825

I would really appreciate any help on how to proceed.

Thank you!

Pelin

Your question has been moved to our new user forum at discuss.ampl.com, and a response has been posted there. To see the response, use this link:

https://discuss.ampl.com/t/using-ampl-extended-functions-with-global-optimization-solvers/2226/2

To reply, click the red “Reply” button that follows the response. (Do not send an email reply to this message.)