| Overview | Group | Index | Concepts | 
This is an advanced routine. Advanced routines typically demand a thorough understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.
The routine CPXpreaddrows is used to add rows to an LP
 problem object and its associated presolved LP problem object. Note that the
 CPLEX parameter CPX_PARAM_REDUCE must be set to
 CPX_PREREDUCE_PRIMALONLY (1) or
 CPX_PREREDUCE_NOPRIMALORDUAL (0) at the time of the presolve in
 order to add rows and preserve the presolved problem. This routine should be
 used in place of CPXaddrows) when you want to preserve
 the presolved problem.
The arguments of CPXpreaddrows are the same as those of
 CPXaddrows, with the exception that new columns may not be
 added, so there are no ccnt and colname arguments.
 The new rows are added to both the original LP problem object and the
 associated presolved LP problem object.
Examples:
 status = CPXpreaddrows (env, lp, rcnt, nzcnt, rhs, sense, rmatbeg, rmatind,
                         rmatval, newrowname);See also the example adpreex1.c in the standard
 distribution.