Changed CCOLAMD parameters to examine all entries instead of pushing variables with many factors to the end of the ordering.
parent
36c921bb9f
commit
829b2a7ffc
|
|
@ -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 */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue