Hi, I'm using NLOPT for a project where I need to optimize a non linear function subject to non linear constraints. I have found that I can express my constraints in several ways. In one way I have to deal with a very high number of constraints while in the other way I can reduced it due to some equalities. The problem is that this second way is not easy to be expressed as a mathematical expression. I have several polylines and each one defines a zone in space where it has control. I'm trying to optimize the position of this polylines and the constraints says that the new points must be in the zone of space that it's under the polyline control. The space is sampled as a regular grid.
As you can see, its not easy to define the mathematical expression for the constraint so I was wondering if it is possible to call a user function after each step the optimization algorithm performs. This would allow me to project the points to the feasible space after the step is done. Thanks!
_______________________________________________ NLopt-discuss mailing list NLopt-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss