[Ipopt] Help: It seems like setting options is not working

Stefan Vigerske stefan at math.hu-berlin.de
Sun Aug 9 08:58:43 EDT 2015


Hi,

my guess is that something is wrong with the handling of strings, maybe 
some clash in using different libstdc++ libraries?
Maybe you can investigate with otool -L whether Ipopt uses the libraries 
that you (or your compiler) thinks it should use.

Stefan

On 08/07/2015 08:59 AM, Guy Feldman wrote:
> Hi,
>
> I am running mac os x 10.9.5 (Mavericks) and I installed IPOPT through homebrew.
>
> I have been able to set up a problem however when I try to set an option like hessian approximation:
>
> app->Options()->SetStringValue("hessian_approximation", "limited-memory");
>
>
> I get some gibberish "Tried to set Option: ��;�" and it does not set the option.
>
>
> I tried to build the hs071_nlp example and I get similar output without changing it at all.
> In that example I also tried to add an option for max iterations being 1 just to see if the options are being set despite the gibberish and no luck.
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
> Guy
>
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>


-- 
http://www.gams.com/~stefan


More information about the Ipopt mailing list