[Coin-ipopt] How to choose objective functions from multi-objective functions

Michal Kaut mail at michalkaut.net
Sun May 20 04:07:14 EDT 2007


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




More information about the Coin-ipopt mailing list