Initializing help system before first use

# xpress.setcomputeallowed

Purpose
Set whether the current application is allowed to use the Insight Compute interface.
Synopsis
`xpress.setcomputeallowed(isComputeAllowed)`
Argument

isComputeAllowed | Whether to allow use of Insight Compute, must be one of the following values:
1 | Always allow solves to be sent to Compute.
0 | Never allow solves to be sent to Compute.
-1 | Allow solves to be sent to Compute only from non-OEM applications.

Further information
1. This function controls whether this process would be allowed to use the Insight Compute Interface if the user tries to enable it.
2. If the user enables the Insight Compute Interface but the value specified through this function does not allow the Insight Compute Interface to be used, any solves will terminate with an immediate error. This function can be used to prevent solves from being sent to Insight Compute but cannot be used to force solves to be performed locally. The purpose of this function is to allow an application to prevent the optimization model being sent to the Insight Compute Interface.
Parent Topic Xpress base functions

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.