"Hannah" wrote in message <kqilg9$6to$
1...@newscl01ah.mathworks.com>...
> Can you please post how to use opti to include an integer as one of the variables to be optimised? I have the same question.
Here is the website.
http://www.i2c2.aut.ac.nz/PHP/getOPTI.php Authors have published 2.0
I've been using the NOMAD solver with success. You send the SOLVE routine a string array having the same size as the array of optimized variables. For an integer variable, the corresponding string character will be 'I' i.e., xtype = ['I' etc].