Hi,
If you want to add piecewise linear functions to a NLP problem then
normally you have to use binary variables and you end up with a MINLP
problem (which can be more difficult to solve).
In theory you can model a binary variable x by giving it a continuous
range [0,1] and adding the nonlinear constraint x^2 = x (which is only
true for x=0 and x=1) but I doubt NLP solvers can handle many of those
“binary” variables efficiently.
Marcel Hunting
AIMMS Software Developer
On Aug 11, 3:40 am, Anh The <
anhthe...@gmail.com> wrote:
> Dear Marcel Hunting,
>
> I have used MIP to model piecewise linear, but for a large model, the
> execution time increases quickly.
> Can you have method to model piecewise linear in NLP.?
>
> Best regards,
>
> Anh The
>
> 2011/8/10 Marcel Hunting <
Marcel.Hunt...@aimms.com>
> >
http://groups.google.com/group/aimms?hl=en.- Hide quoted text -
>
> - Show quoted text -