Initializing help system before first use

XPRS_ge_setcomputeallowed

Purpose
Set whether the current application is allowed to use the Insight Compute interface.
Topic areas
Synopsis
int XPRS_CC XPRS_ge_setcomputeallowed(int allow);
Argument
allow 
Whether the Insight Compute interface may be used; must be one of the following constants:
XPRS_ALLOW_COMPUTE_ALWAYS 
Always allow solves to be sent to Compute.
XPRS_ALLOW_COMPUTE_NEVER 
Never allow solves to be sent to Compute.
XPRS_ALLOW_COMPUTE_DEFAULT 
Allow solves to be sent to Compute only from non-OEM applications.
Example
The following shows how this function might be used:
XPRS_ge_setcomputeallowed(XPRS_ALLOW_COMPUTE_NEVER);
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

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