[Ipopt] Absolute value constraint

Stefan Vigerske vigerske at zib.de
Tue Jul 28 14:09:06 EDT 2009


Hi,

> When I add a constraint involving absolute value to my problem it no longer converges. For example
>  
> sum(abs(xi)) <= U
> 
> Can anybody help me code a constraint that the optimiser can work with?

Maybe something like
sum(xiabs) <= U
xiabs >=  xi
xiabs >= -xi

Since minimizing xiabs is in the sense of sum(xiabs) <= U, you should
either have xiabs = |xi| in the optimum, if the constraint is active.

Stefan

> 
> Thanks
> 
> Dan
> 
> 
>       
> 
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
> 




More information about the Ipopt mailing list