xpress.setcheckedmode
xpress.setcheckedmode |
Purpose
Disable/enable some of the checking & validation of function calls & function call parameters for calls to the Xpress Optimizer API. This checking is relatively lightweight but disabling it can improve performance in cases where non-intensive Xpress Optimizer functions are called repeatedly in a short space of time. Please note: after disabling function call checking & validation, invalid usage of Xpress Optimizer functions may not be detected and may cause the Xpress Optimizer process to behave unexpectedly or crash. It is not recommended to disable function call checking & validation during application development.
Synopsis
xpress.setcheckedmode (checked_mode)
Argument
checked_mode
|
Pass as 0 to disable much of the validation for all Xpress function calls from the current process. Pass 1 to re-enable validation. By default, validation is enabled.
|
Related topics