Hi,

 I am new to nlopt and I am trying to figure out an issue with the LD MMA
algorithm.

 My optimization problem has the following inequality constraints.

  |C(x) -1| < 0

 I decompose this absolute value into two inequalities as follows

 C(x) -1  <0
 and
 -C(x) +1 <0

Since the LD MMA needs gradients of the constraints I am computing:

  del C(x)/ del x

  and

 -del C(x)/ del x

and populating the gradient vector.

The final result of the optimization step is yielding an "x" which does not
satisfy the  |C(x)-1| <0 constraint at all. (note my optimization is
achieved with "relative_ftol_reached" criterion.)

I suspect the derivative given above is causing the issue.

By the way I have numerically checked the derivative computation itself.
There is no error in the derivative computation.

Can someone please point out what I am doing incorrect ?

Best
Kaushik
_______________________________________________
NLopt-discuss mailing list
NLopt-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to