XPRSgetcontrolinfo
XPRSgetcontrolinfo |
XPRS_TYPE_NOTDEFINED | The name was not recognized. |
XPRS_TYPE_INT | 32 bit integer. |
XPRS_TYPE_INT64 | 64 bit integer. |
XPRS_TYPE_DOUBLE | Double precision floating point. |
XPRS_TYPE_STRING | String. |
int XPRS_CC XPRSgetcontrolinfo(XPRSprob prob, const char* sCaName, int* iHeaderId, int* iTypeinfo);
prob
|
The current problem.
|
sCaName
|
The name of the control to be queried. Names are case-insensitive and may or may not have the
XPRS_ prefix. A full list of all controls may be found in
Control Parameters, or from the list in the
xprs.h header file.
|
iHeaderId
|
Pointer to an integer where the id number will be returned.
|
iTypeInfo
|
Pointer to an integer where the type information will be returned.
|
const char *sCaName = "presolve"; int iHeaderId, iTypeInfo; ... if(XPRSgetattribinfo(prob, sCaName, &iHeaderId, &iTypeInfo) || iHeaderId==0) { if(XPRSgetcontrolinfo(prob, sCaName, &iHeaderId, &iTypeInfo) || iHeaderId==0) { printf("Unrecognized name: %s\n", sCaName); } }
© 2001-2020 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.