This is the class and function reference of pydirect. Please refer to the tutorial for further details, as the class and function raw specifications may not be enough to give full guidelines on their uses.
Solve an optimization problem using the DIRECT (Dividing Rectangles) algorithm. It can be used to solve general nonlinear programming problems of the form:
subject to
Where are the optimization variables (with upper an lower bounds), is the objective function.
Parameters : | objective : function pointer
l : array-like, shape = [n]
u : array-like, shape = [n]
eps : float, optional (default=1e-4)
maxf : integer, optional (default=20000)
maxT : integer, optional (default=6000)
algmethod : integer
fglobal : float, optional (default=-1e100)
fglper : float, optional (default 0.01)
volper : float, optional (default=-1.0)
sigmaper : float, optional (default=-1.0)
logfilename : string, optional (default=’DIRresults.txt’)
user_data : object, optional (default=None)
|
---|---|
Returns : | x : array, shape = [n]
fmin : float
ierror : string
|