PIPS-NLP
|
Classes | |
class | eq_comp |
class | ineq_comp |
Functions | |
template<typename Compare > | |
int | countNNZ (const CoinPackedMatrix &M, const vector< double > &lb, const vector< double > &ub, const Compare &compFun) |
template<typename Compare > | |
void | extractRows (const CoinPackedMatrix &M, const vector< double > &lb, const vector< double > &ub, const Compare &compFun, int *krowM, int *jcolM, double *dM) |
int anonymous_namespace{sTreeImpl.C}::countNNZ | ( | const CoinPackedMatrix & | M, |
const vector< double > & | lb, | ||
const vector< double > & | ub, | ||
const Compare & | compFun | ||
) |
Counts the nnz in Mcol's rows corresponding to entries in lb and ub satisfying 'compFun' condition.
void anonymous_namespace{sTreeImpl.C}::extractRows | ( | const CoinPackedMatrix & | M, |
const vector< double > & | lb, | ||
const vector< double > & | ub, | ||
const Compare & | compFun, | ||
int * | krowM, | ||
int * | jcolM, | ||
double * | dM | ||
) |
Extracts the Mcol's rows corresponding to entries in lb and ub satisfying 'compFun' condition. Mcol is in row-major format, the output krowM,jcolM,dM rexepresent a row-major submatrix of Mcol.