Changed CCOLAMD parameters to examine all entries instead of pushing variables with many factors to the end of the ordering.

release/4.3a0
Stephen Williams 2012-04-02 20:08:51 +00:00
parent 36c921bb9f
commit 829b2a7ffc
1 changed files with 5 additions and 5 deletions

View File

@ -60,11 +60,11 @@ Permutation::shared_ptr PermutationCOLAMD_(const VariableIndex& variableIndex, s
for(size_t i=0; i<nVars+1; ++i) for(size_t i=0; i<nVars+1; ++i)
cout << "p[" << i << "] = " << p[i] << endl; cout << "p[" << i << "] = " << p[i] << endl;
double* knobs = NULL; /* colamd arg 6: parameters (uses defaults if NULL) */ //double* knobs = NULL; /* colamd arg 6: parameters (uses defaults if NULL) */
// double knobs[CCOLAMD_KNOBS]; double knobs[CCOLAMD_KNOBS];
// ccolamd_set_defaults(knobs); ccolamd_set_defaults(knobs);
// knobs[CCOLAMD_DENSE_ROW]=-1; knobs[CCOLAMD_DENSE_ROW]=-1;
// knobs[CCOLAMD_DENSE_COL]=-1; knobs[CCOLAMD_DENSE_COL]=-1;
int stats[CCOLAMD_STATS]; /* colamd arg 7: colamd output statistics and error codes */ int stats[CCOLAMD_STATS]; /* colamd arg 7: colamd output statistics and error codes */