Initializing help system before first use

# xpress.setComputeAllowed

Purpose
Set whether the current application is allowed to use the Insight Compute interface.
Topic areas
Global Environment, Compute Interface
Synopsis
`xpress.setComputeAllowed(allow)`
Argument

allow: AllowCompute | Whether the Insight Compute interface may be used; must be one of the following constants:
xpress.AllowCompute.ALWAYS | Always allow solves to be sent to Compute.
xpress.AllowCompute.NEVER | Never allow solves to be sent to Compute.
xpress.AllowCompute.DEFAULT | 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 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.
Related topics
xpress.getComputeAllowed.
Parent Topic Global methods of the Xpress module

© 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.