|
Get columns information.
Parameters |
Description |
_LONG_T is_update |
An integer indicator for full (value 0) or update (value 1) retrieval. |
_LONG_T max_no |
The maximum number of columns to retrieve. |
_LONG_T col_no[] |
In case of a full retrieval the size of this array must be at least 1 and on output col_no[0] will contain the number of the first column that is retrieved. In case of an update retrieval the array col_no contains the column numbers of the updated columns. In the latter case the length of col_no must be at least max_no. |
double lb[] |
Array with the lower bounds of the columns. Length must be at least max_no. This argument may be NULL. |
double lev[] |
Array with the level values of the columns. Length must be at least max_no. This argument may be NULL. |
double ub[] |
Array with the upper bounds of the columns. Length must be at least max_no. This argument may be NULL. |
double obj_coeff[] |
Array with the objective coefficients of the columns. Length must be at least max_no. This argument may be NULL. |
double prior[] |
Array with the priorities for integer programming of the columns. Length must be at least max_no. This argument may be NULL. |
_LONG_T no_elm[] |
Array with the number of non-zero elements of the columns, excluding bounds and objective. Length must be at least max_no. This argument may be NULL. |
_LONG_T no_q_elm[] |
Array with the number of non-zero elements in the quadratic matrix for the columns. Length must be at least max_no. This argument may be NULL. |
_LONG_T type_flag[] |
Array of bit fields that specify column properties; flags are taken from the ColumnRowFlag enumeration. Length must be at least max_no. This argument may be NULL. |
The GetColumnData method returns the actual number of columns retrieved.
The GetColumnData method is used to get information about the columns from AIMMS. This method can be used for either a full or an update retrieval, and in both cases you can retrieve all data in one call or retrieve it block-wise in consecutive calls.
The SetMatrixOrder method.