ContentsIndexHome
PreviousUpNext
IAimmsMathProgramNonLinearEvaluator::GetRowDefinitionString Method

Get the definition of a row.

virtual _LONG_T GetRowDefinitionString(
    int rowno, 
    char * constr_def, 
    int * constr_def_length, 
    int obj_row_no, 
    int is_first, 
    int is_last, 
    int * flags
) = 0;
Parameters 
Description 
int rowno 
The row number. 
char * constr_def 
Buffer to hold the row definition. This argument may be NULL. 
int * constr_def_length 
On input, the length of constr_def. On return, the length of the returned string. 
int obj_row_no 
The row number of the objective row. 
int is_first 
If 1, this is the first call to the GetRowDefinitionString method. 
int is_last 
If 1, this is the last call to the GetRowDefinitionString method. 
int * flags 
A pointer to the location where a bit field is returned that specifies which properties, as taken from the RowDefinitionProperty enumeration, belong to the row. This argument may be NULL. 

The GetRowDefinitionString method returns AOSI_SUCCESS on success.

The GetRowDefinitionString method is used to get the definition of a row from AIMMS as a string. The row can be nonlinear.

  1. The GetRowDefinitionString method should first be called with argument is_first equal to 1 to initialize the AIMMS algorithm for retrieving row definitions. Next the row definitions should be obtained with arguments is_first and is_last equal to 0. Finally, to release memory allocated by AIMMS, this method should be called with argument is_last equal to 1.
  2. Columns are displayed in the definition as x1, x2, x3, and so on. So the symbolic names in the AIMMS model are not used.

Copyright © 1993–2016 by AIMMS B.V. All rights reserved.