[Ipopt] running ipopt through AMPL

Andreas Waechter andreasw at watson.ibm.com
Wed May 26 10:53:41 EDT 2010


Hi Renata,

The problem is that your PATH is set to that the first "ipopt" is the 
CUTEr script "ipopt".  You need to change the order of directories in your 
PATH so that the AMPL executable "ipopt" that is installed by "make 
install" is found first.

You can test your setup with the UNIX command "which ipopt".

Regards,

Andreas

On Wed, 26 May 2010, Renata Silva wrote:

> Dear all,
>
> After doing some tests with ipopt using the SIF interface, I want to
> use now the AMPL interface, but something is wrong.
>
> Here is my output:
>
> -----------------------------------------------------------------------------
> % ampl
> ampl: option solver ipopt;
> ampl: model alsotame.mod;
> ampl: solve;
> runpackage : option /tmp/at27948 not understood -- discarding
> runpackage : option -AMPL not understood -- discarding
>
> -lipopt object file not in
> /users/extras/renata/CUTEr_upd/cuter/CUTEr.large.pc.lnx.gfo/double/bin/
> Terminating execution.
> exit code 5
> <BREAK>
> ampl:
> -----------------------------------------------------------------------------
>
> It seems that the Ipopt AMPL solver executable is trying to use
> something from the CUTEr interface!?!?!?!
>
> Can anyone see what is happen?
>
> Many thanks,
> Renata
>
>
> -- 
> Renata Silva, PhD
> Auxiliary Investigator, Molecular Systems Biology Group
> Centre for Neuroscience and Cell Biology
> Chemistry Department, Office G.35 - University of Coimbra
> 3004-535 Coimbra, Portugal
> Phone: +351-918927181 Fax: +351-239827703
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>



More information about the Ipopt mailing list