Initializing help system before first use

XPRBsetcolorder

XPRBsetcolorder


Purpose
Set a column ordering criterion for matrix generation.
Synopsis
int XPRBsetcolorder(XPRBprob prob, int num);
Arguments
prob 
Reference to a problem.
num 
The ordering flag, which must be one of:
default ordering;
alphabetical order.
Return value
0 if function executed successfully, 1 otherwise.
Example
Set a fixed ordering for a single problem:
XPRBprob expl2;
expl2 = XPRBnewprob("example2");
XPRBsetcolorder(expl2, 1);
Further information
1. BCL runs reproduce always the same matrix for a problem. This function allows the user to choose a different ordering criterion than the default one. Note that this function only changes the order of columns in what is sent to Xpress Optimizer, you do not see any effect when exporting the matrix with BCL. However you can control the effect by exporting the matrix from the Optimizer.
2. This function can be used before any problem has been created (with first argument NULL). In this case the setting applies to all problems that are created subsequently.
Related topics

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