naginterfaces.library.glopt.bnd_​mcs_​optget_​real

naginterfaces.library.glopt.bnd_mcs_optget_real(optstr, comm)[source]

bnd_mcs_optget_real is used to get the value of a real bnd_mcs_solve() option. bnd_mcs_optget_real can be used before or after calling bnd_mcs_solve(), but the initialization function bnd_mcs_init() must have been called before calling bnd_mcs_optget_real.

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

https://www.nag.com/numeric/nl/nagdoc_27.1/flhtml/e05/e05jlf.html

Parameters
optstrstr

A string identifying a real-valued option (as described in Other Parameters for bnd_mcs_solve).

commdict, communication object

Communication structure.

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

Returns
rvaluefloat

If no exception or warning is raised on exit, contains the real value associated with the option in .

Raises
NagValueError
(errno )

Initialization function bnd_mcs_init() has not been called.

(errno )

The supplied option is invalid. A keyword or keyword combination was not recognized.

Notes

bnd_mcs_optget_real obtains the current value of a real-valued option.

A complete list of options, their symbolic names and default values is given in Other Parameters for bnd_mcs_solve.