Hi, I am trying to use the NLOPT library with a shape optimization problem. Browsing through this mailing list I see that other people have done something similar, but I have some problems with the objective and constraint functions.
What I do is build a geometry through some parametrized CAD code, analyze it with a cfd code, and the objectives and constraints are computed by postprocessing the cfd solution and retrieving some geometrical data nonlinearly related with the design variables. I see that the NLOPT interface requires separate functions for the objective and constraints. My problem is that to comply with those requirements would make me build geometry and analyze for each different objective and constraint, which is very time consuming. Is there an obvious workaround, or would I need to code interfaces for common calculations within nlopt_optimize_()? Thanks, _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
