# naginterfaces.library.opt.nlp2_​option_​double_​get¶

naginterfaces.library.opt.nlp2_option_double_get(string, comm, io_manager=None)[source]

nlp2_option_double_get is used to get the value of a float option. nlp2_option_double_get can be used before or after calling nlp2_solve().

For full information please refer to the NAG Library document for e04wl

https://www.nag.com/numeric/nl/nagdoc_28.5/flhtml/e04/e04wlf.html

Parameters
stringstr

A single valid keyword of a float option (as described in Other Parameters for nlp2_solve).

commdict, communication object, modified in place

Communication structure.

This argument must have been initialized by a prior call to nlp2_init().

io_managerFileObjManager, optional

Manager for I/O in this routine.

Returns
rvaluefloat

The float value associated with the keyword in .

Raises
NagValueError
(errno )

The initialization function nlp2_init() has not been called.

(errno )

The supplied option string is invalid. Check that the keywords are neither ambiguous nor misspelt. The option string is .

Notes

nlp2_option_double_get obtains the current value of a float option.

A complete list of options, their abbreviations, synonyms and default values is given in Other Parameters for nlp2_solve.