On Jan 17, 2011, at 9:34 AM, King Simon wrote:
1) Design the Objective function for the maximum number of constraints For simple design, there may be only several variables in my objective function, and may be hundreds of variables for complicated design. If I fix the mumber of variables to it's maxium number, it may cause a lot of usless computation.

2) Fix the non-variable variables using equal upper and lower bounds? I had try to fix the variable's upper and lower bounds as you say , but it doesnot work.

A lot of the algorithms don't properly handle the case where upper and lower bounds are equal. This should be fixed in the next release. (I have either fixed the algorithms, especially in the case of the gradient-based algorithms, or switch internally to a wrapper function that eliminates ub==lb dimensions transparently).

Steven
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to