ContentsIndexHome
PreviousUpNext
ISolverMathProgramInstance::GetRowSolution Method

Provides the row solution.

virtual void GetRowSolution(
    _LONG_T first_row, 
    _LONG_T last_row, 
    _LONG_T type_flag, 
    double lev[], 
    double mar[], 
    _LONG_T basic[]
) = 0;
Parameters 
Description 
_LONG_T first_row 
The number of the row indicating the beginning of the range 
_LONG_T last_row 
The number of the row indicating the end of the range 
_LONG_T type_flag 
Bit field that specifies which (combination of) solution info should be returned; flags are taken from the SolutionReturnType enumeration 
double lev[] 
Array for filling in the level values of the rows 
double mar[] 
Array for filling in the marginals of the rows 
_LONG_T basic[] 
Array for filling in the basis status of the rows if bit RETURN_SOLUTION_BASIC is set in type_flag, or the presolve status if bit RETURN_SOLUTION_PRESOLVE is set 

The GetRowSolution method has no return value.

The GetRowSolution method is called by AIMMS to request a solver to return the row level values, marginals and/or basic information for a range of rows. AIMMS can also use this method for obtaining the presolve status for a range of rows (if supported by the solver).

The arrays lev, mar and basic have length last_row - first_row + 1. Only the arrays as indicated by argument type_flag should be filled.

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