So in pyOpt you can specify if the design variable is continuous or an integer with:
opt_prob.addVar('name', type='c') or opt_prob.addVar('name', type='i')
Can you do the same thing with the pyOpt driver in OpenMDAO?
asked 22 Jul '15, 14:50
Ry10, from my experience with OpenMDAO 0.13, the code for using one of OpenMDAO's intrinsic drivers(e.g. genetic, SLSQP, etc) and for a pyOpt driver is almost the same. The variables are defined in the same way as for any intrinsic driver http://openmdao.org/releases/0.13.0/docs/basics/variables.html (version 0.13). However, each PyOpt library has a unique set of parameters. For example, the parameters for NSGA2 are:
Hope this helps.
answered 22 Jul '15, 15:31
The pyopt driver should automatically detect the
answered 23 Jul '15, 14:36
Kenneth T Moore ♦