Initializing help system before first use

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 checking and validation for function calls, 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 False or 0 to disable much of the validation for all Xpress function calls from the current process. Pass True or 1 to re-enable validation. By default, validation is enabled.
Related topics