naginterfaces.library.opt.nlp2_​sparse_​option_​integer_​get

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

nlp2_sparse_option_integer_get is used to get the value of an int option. nlp2_sparse_option_integer_get can be used before or after calling nlp2_sparse_solve().

Deprecated since version 28.3.0.0: nlp2_sparse_option_integer_get is deprecated. Please use handle_solve_ssqp() instead. See also the Replacement Calls document.

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

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/e04/e04vrf.html

Parameters
stringstr

A single valid keyword of an int option (as described in Other Parameters for nlp2_sparse_solve).

commdict, communication object, modified in place

Communication structure.

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

io_managerFileObjManager, optional

Manager for I/O in this routine.

Returns
ivalueint

The int value associated with the keyword in .

Raises
NagValueError
(errno )

The initialization function nlp2_sparse_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_sparse_option_integer_get obtains the current value of an integer option.

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