Hi,

I have optimization problem with 36 parameters. I have a equality
constraint where the last parameter is equal to the sum of the others i.e.
x_36 =(x_1+...+x_35).

I try to optimize as follows:

1) I set up problem with 36 parameters.
2) put lowerbound = upperbound =guess param for the 36th parameter with the
intention to fix it from changing.
3) in my objective function valuation i just compute x_36 as given above
and use it for function evaluation.

When I try to use algorithm COBYLA  or Isres I get a failure.

The error happens inside static double elimdim_func() at the line

val = d->f();

Essential the function pointer is null and the code breaks.

May I please request someone to point out what I may be doing wrong

Best
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to