19.01.2015 Views

MOLPRO

MOLPRO

MOLPRO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

45 MINIMIZATION OF FUNCTIONS 340<br />

45 MINIMIZATION OF FUNCTIONS<br />

The minimization of general functions of one or more variables can be carried out using the<br />

command:<br />

MINIMIZE, func, x 1 [, x 2 , x 3 , . . . ]<br />

where func represents a function of up to 50 variables x 1 , x 2 , . . . . Two different optimization<br />

methods can be selected as described below which do or do not use numerical derivative information.<br />

The optimization method, as well as finer control over func, can be chosen using the METHOD<br />

directive<br />

METHOD, key [, key1=value, key2=value, . . . ]<br />

where key defines the optimization method. Valid options for key are:<br />

BFGS<br />

SIMPLEX<br />

Broyden-Fletcher-Goldfarb-Shanno conjugate gradient method, which<br />

uses numerical gradients (default)<br />

Downhill simplex method, which uses only function evaluations<br />

Options to these methods, key1, key2, . . . , are:<br />

VARSCALE=vscale<br />

THRESH=thresh<br />

VSTEP=epsd<br />

PROC=procname<br />

STARTCMD=command<br />

Optimization in space of scaled variables.<br />

vscale=0 no scaling (not recommended)<br />

vscale=1 optimization in the space of ln(x)<br />

vscale=2 optimization in space of initial value scaling, e.g., x 1 /x 1i<br />

(default)<br />

Required accuracy of either the optimized gradient (BFGS) or function<br />

value (SIMPLEX). The default is 1 · 10 −4 .<br />

Step size for numerical gradients (BFGS) or initial SIMPLEX vertices<br />

Specifies the procedure to be executed in each optimization step. This<br />

defines a complete function evaluation (if needed, numerical gradients<br />

will be evaluated using this procedure as well)<br />

Specifies a start command. In each optimization step all input beginning<br />

with command to the current MINIMIZE is processed.<br />

Miscellaneous directives<br />

MAXIT=maxit<br />

maximum number of optimization cycles. The default is 30 for BFGS<br />

and 100 for SIMPLEX.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!