[Ipopt] If statement in objective function

Gregory K. khoroshylov at yahoo.com
Sun Sep 18 00:32:03 EDT 2011

Hi all, 
I am new to this list and I hope it is still active, and I will be able to find knowledgeable folks around here.
I have the following, hopefully easy question.
After some remodeling of my model I've realized that it would be much 
much simpler and contain much less variables and constraints if IF 
statements are used. 
I was successful in rewriting the model but now have a problem with AMPL\IPOPT solving it with IF statements in objective function. It returns all zero solution if IF statement is used in objective function
My problem is NLP, but in the future might be developed into MINLP. 
Is there some IPOPT option that I have to use? Or maybe it's not possible at all (I hope not). Am I missing something?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20110917/530b379f/attachment.html>

More information about the Ipopt mailing list