is_add_rowmodeReturns a flag which of the add routines perform best. unsigned char is_add_rowmode(lprec *lp); Return Value is_add_rowmode returns TRUE or FALSE. If FALSE, then add_column, add_columnex, str_add_column performs best. If TRUE, then add_constraint, add_constraintex, str_add_constraint performs best. Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI Remarks Default, this is FALSE, meaning that add_column, add_columnex,
str_add_column performs best. If the model is build via
add_constraint, add_constraintex, str_add_constraint calls, then these routines will be much faster
if this routine is called with turnon set on TRUE. This is also called row entry mode.
The speed improvement is spectacular,
especially for bigger models, so it is advisable to call this routine to set the mode.
Normally a model is build either column by column or row by row. Example
See Also make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, set_add_rowmode, set_add_rowmode, set_obj_fn, set_obj_fnex, str_set_obj_fn, set_obj, add_column, add_columnex, str_add_column, add_constraint, add_constraintex, str_add_constraint |