Hi everyone,

In nlopt, I'm at my wit's end trying to figure out the matlab (octave)
interface for vector-valued constraints.

I tried adding a vector-valued function to opt.mconstraint, but that is
completely ignored.

I tried opt.c but that is ignored.

I tried supplying opt.fc = {@myfun} where myfun returns a vector-valued
result (and a matrix for gradient), but that is not accepted (incorrect
length).

>From the (C++ and python) documentation, it seems I should be able to do
this, and that matlab should have a very similar interface, but I can't
figure it out.

Please CC replies. I can't follow the list online:
http://ab-initio.mit.edu/pipermail/nlopt-discuss/ is a 404.


Thanks so much,
Dave
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to