Sets options for IPOPT.
Sets the values for the options.ipopt dict normally passed to
IPOPT.
Inputs are all optional, second argument must be either a string
(fname ) or a dict (ppopt ):
-
overrides
-
ppopt PYPOWER options vector, uses the following
entries:
Output is an options.ipopt dict to pass to IPOPT.
Example: If ppopt['IPOPT_OPT'] = 3, then after setting the default
IPOPT options, ipopt_options will execute the following user-defined
function to allow option overrides:
opt = ipopt_user_options_3(opt, ppopt);
The contents of ipopt_user_options_3.py, could be something like:
def ipopt_user_options_3(opt, ppopt):
opt = {}
opt['nlp_scaling_method'] = 'none'
opt['max_iter'] = 500
opt['derivative_test'] = 'first-order'
return opt
See the options reference section in the IPOPT documentation for
details on the available options.
http://www.coin-or.org/Ipopt/documentation/
See Also:
pyipopt , ppoption
- Authors:
-
Ray Zimmerman (PSERC Cornell),
Richard Lincoln
|