# naginterfaces.library.glopt.bnd_​mcs_​optset_​int¶

naginterfaces.library.glopt.bnd_mcs_optset_int(optstr, ivalue, comm, io_manager=None)[source]

bnd_mcs_optset_int may be used to supply individual integer options to bnd_mcs_solve(). The initialization function bnd_mcs_init() must have been called before calling bnd_mcs_optset_int.

Deprecated since version 28.3.0.0: bnd_mcs_optset_int is deprecated. There is no suggested replacement for this routine.

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

https://www.nag.com/numeric/nl/nagdoc_28.5/flhtml/e05/e05jff.html

Parameters
optstrstr

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

ivalueint

An integer value associated with the option in .

commdict, communication object, modified in place

Communication structure.

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

io_managerFileObjManager, optional

Manager for I/O in this routine.

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.

(errno )

Attempt to assign a non-positive value of ‘Function Evaluations Limit’ (): .

(errno )

Attempt to assign a non-positive value of ‘Static Limit’ (): .

(errno )

Attempt to assign a non-positive value of ‘Local Searches Limit’ (): .

Notes

bnd_mcs_optset_int may be used to supply values for integer options to bnd_mcs_solve(). It is only necessary to call bnd_mcs_optset_int for those arguments whose values are to be different from their default values. One call to bnd_mcs_optset_int sets one argument value.

Each integer option is defined by a single character string in and the corresponding value in .

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