naginterfaces.library.opt.qpconvex2_sparse_option_integer_get¶
- naginterfaces.library.opt.qpconvex2_sparse_option_integer_get(string, comm, io_manager=None)[source]¶
qpconvex2_sparse_option_integer_get
is used to get the value of an int option.qpconvex2_sparse_option_integer_get
can be used before or after callingqpconvex2_sparse_solve()
.For full information please refer to the NAG Library document for e04nx
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/e04/e04nxf.html
- Parameters
- stringstr
A single valid keyword of an int option (as described in Other Parameters for qpconvex2_sparse_solve).
- commdict, communication object, modified in place
Communication structure.
This argument must have been initialized by a prior call to
qpconvex2_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
qpconvex2_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
qpconvex2_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 qpconvex2_sparse_solve.