[Bonmin] Re: Integral function with Bonmin in AMPL

Stefan Vigerske stefan at vigerske.de
Sat Mar 3 04:46:39 EST 2007


Hi,

> Experiment 2:
> ampl: reset;
> ampl: function ginv(Reals);
> ampl: var x;
> ampl: minimize Z:x*x+x+1+ginv(x);
> ampl: subject to cons:x>=0.8;
> ampl: option solver bonmin;
> ampl: solve;
> bonmin:
> Cannot load library
> /home/chen11q/AMPL_Learning/ampl_external_function/ASL/solvers/funclink/amplfunc.dll:
> 
> /home/chen11q/AMPL_Learning/ampl_external_function/ASL/solvers/funclink/amplfunc.dll:
> 
> cannot open shared object file: No such file or directory
> function ginv not available
> user-defined function not available
> exit code 255

I'm not an Ampl-user, but from the about output it looks like there is a
library missing. A first step could be to asure that
/home/chen11q/AMPL_Learning/ampl_external_function/ASL/solvers/funclink/amplfunc.dll
is actually there.

Stefan


More information about the Bonmin mailing list