On Wed, Apr 27, 2016 at 9:44 PM, Grey Gordon <[email protected]> wrote:
> > Instead of using sum(x) = 1 as an equality constraint, perhaps you can > directly take x(1) = 1 - sum(x(2:end)) and substitute it into the problem > directly. > Grey, can you expand on this a bit? Do you mean use that as a penalty in the optimization function, or something else? David
_______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
