[Coin-ipopt] How to choose objective functions from multi-objective functions
Andreas Waechter
andreasw at watson.ibm.com
Mon May 21 19:32:31 EDT 2007
Hi Rui,
I think that we wrote the AMPL interface in Ipopt so that it complains (in
the way you describe) when there are more than one objective functions in
the model. Maybe the trick that Michal mentioned already does the trick
for you.
If not, please submit a ticket at the Ipopt trac page and attach the AMPL
model that give you trouble.
Thanks,
Andreas
On Sun, 20 May 2007, Michal Kaut wrote:
> Hello,
>
> you can use named problems, using the "problem" keyword. This is one of the
> new features of AMPL, so you won't find it in the first edition of the book.
> For a detailed description, including examples, see
> http://ampl.com/NEW/loop2.html
>
> Regards,
> Michal Kaut
>
>
> Rui Huang wrote:
>> Hello
>>
>> I have two objective functions.
>> So I have two same ampl models, except that each one has a different
>> objective function.
>> and try to solve them together without "reset"
>> But ampl breaks
>> "There is more than one objective function in the AMPL model, but
>> AmplTNLP::set_active_objective has not been called",
>>
>> I do not know how to call this function.
>> _______________________________________________
>> Coin-ipopt mailing list
>> Coin-ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>
> _______________________________________________
> Coin-ipopt mailing list
> Coin-ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>
More information about the Coin-ipopt
mailing list