is_presolveReturns if presolve level specified in testmask is active. unsigned char is_presolve(lprec *lp, int testmask); Return Value is_presolve returns TRUE or FALSE. Parameters lp Pointer to previously created lp model. See return value of make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI testmask
Remarks The is_presolve function returns a flag if the presolve level specified
in testmask is active. Presolve looks at the model and tries to simplify
it so that solving times are shorter. For example a constraint on only one
variable is converted to a bound on this variable (and the constraint is
deleted). Note that the model dimensions can change because of this, so be
careful with this. Both rows and columns can be deleted by the presolve. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, set_presolve, get_presolve |