naginterfaces.library.glopt.bnd_mcs_optset_char¶
- naginterfaces.library.glopt.bnd_mcs_optset_char(optstr, cvalue, comm, io_manager=None)[source]¶
bnd_mcs_optset_char
may be used to supply individual ‘ON’/’OFF’-valued character options tobnd_mcs_solve()
. The initialization functionbnd_mcs_init()
must have been called before callingbnd_mcs_optset_char
.Deprecated since version 28.3.0.0:
bnd_mcs_optset_char
is deprecated. There is no suggested replacement for this routine.For full information please refer to the NAG Library document for e05je
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/e05/e05jef.html
- Parameters
- optstrstr
A string defining a single ‘ON’/’OFF’-valued character option (as described in Other Parameters for bnd_mcs_solve).
- cvaluestr
The ‘ON’/’OFF’ value associated with the keyword 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 an illegal value of ‘Local Searches’ (): .
- (errno )
Attempt to assign an illegal value of ‘Repeatability’ (): .
- Notes
bnd_mcs_optset_char
may be used to supply values for ‘ON’/’OFF’-valued character options tobnd_mcs_solve()
. It is only necessary to callbnd_mcs_optset_char
for those arguments whose values are to be different from their default values. One call tobnd_mcs_optset_char
sets one argument value.Each ‘ON’/’OFF’-valued character 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.