ContentsIndexHome
PreviousUpNext
IAimmsMathProgramMatrixManipulationInfo::GetNextDeletedRows Method

Get deleted rows.

virtual _LONG_T GetNextDeletedRows(
    _LONG_T max_no, 
    _LONG_T row_no[]
) = 0;
Parameters 
Description 
_LONG_T max_no 
Maximum number of rows to retrieve. 
_LONG_T row_no[] 
Array with the row numbers of the matrix elements. Length must be at least max_no

The GetNextDeletedRows method returns the actual number of rows retrieved.

The GetNextDeletedRows method is used to get rows from AIMMS that were deleted 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 deleted rows is equal to the value of parameter IntegerMathProgramInfo::IPARAM_MM_DEL_R, as passed to the DoSolve method.
  2. If max_no is greater than or equal to the number of deleted rows in the problem, you get all row data using a single call to this method.
  3. If max_no is smaller than the number of deleted rows then you request for a block-wise retrieval, and you must call GetNextDeletedRows repeatedly, until all deleted rows are retrieved.

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