ContentsIndexHome
PreviousUpNext
IAimmsMathProgramMatrixManipulationInfo::GetNextChangedColumns Method

Get modified columns.

virtual _LONG_T GetNextChangedColumns(
    _LONG_T max_no, 
    _LONG_T col_no[], 
    double ub[], 
    double lb[], 
    _LONG_T type_flag[]
) = 0;
Parameters 
Description 
_LONG_T max_no 
Maximum number of columns to retrieve. 
_LONG_T col_no[] 
Array with the column numbers. Length must be at least max_no
double ub[] 
Array with the upper bounds of the columns. Length must be at least max_no
double lb[] 
Array with the lower bounds of the columns. Length must be at least max_no
_LONG_T type_flag[] 
Array of bit fields that specify column (modification) properties. Flags are taken from IAimmsMathProgramInfo::ColumnRowFlag enumeration. Length must be at least max_no

The GetNextChangedColumns method returns the actual number of columns retrieved.

The GetNextChangedColumns method is used to get columns from AIMMS that were changed after a solve using GMP modifications. This method should only be called if the capability flag SolverCapability::CAPAB_MATRIX_MANIP has been set in the GetInitialInfo method.

  1. The number of changed columns is equal to the value of parameter IntegerMathProgramInfo::IPARAM_MM_CHG_C, as passed to the DoSolve method.
  2. If max_no is greater than or equal to the number of changed columns in the problem, you get all column data using a single call to this method.
  3. If max_no is smaller than the number of changed columns then you request for a block-wise retrieval, and you must call GetNextChangedColumns repeatedly, until all changed columns are retrieved.

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