Hello everyone, I realized the other day that the MATLAB plugin does not accept vector-valued constraints, but figured I could just edit the source code for matlab (in nlopt_optimize-mex.c)
However, I am not entirely sure how to compile this code so that I can use it for matlab. I tried going back to the installed directory and running ./configure --enable-shared && make && make install, and it appears the "new" version has had no changes (which it definitely should), so that doesn't appear to be it. In addition, I've tried running the mex command on matlab (i.e. mex nlopt_optimize-mex.c), but I'm getting some errors about not having certain things declared. Am I missing something when compiling via mex (with the above command I just mentioned)? If anyone can give me a rundown on how to update the matlab code after changing the nlopt_optimize-mex.c file, that'll be fantastic. I'm really trying to get this vector-valued version of the constraints working and sadly I'm not too familiar with the matlab/C interface. Joeson
_______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
