ContentsIndexHome
PreviousUpNext
IAimmsMathProgramInfo::GetNonlinearObjectiveColumns Method

Get the nonlinear columns in the objective.

virtual _LONG_T GetNonlinearObjectiveColumns(
    _LONG_T max_no, 
    _LONG_T col_no[]
) = 0;
Parameters 
Description 
_LONG_T max_no 
The maximum number of nonlinear columns to retrieve. 
_LONG_T col_no[] 
Integer array with the column numbers of the nonlinear columns in the objective. 

The GetNonlinearObjectiveColumns method returns the actual number of nonlinear columns retrieved.

The GetNonlinearObjectiveColumns method is used to get the nonlinear columns in the objective from AIMMS.

A safe size for the array col_no is the number of columns in the model, i.e., the value of IntegerMathProgramInfo::IPARAM_COLS, as passed to the DoSolve method.

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