Skip to content

Comments

Better lifting for grevlex GBs over QQ#266

Open
mohabsafey wants to merge 5 commits intoalgebraic-solving:masterfrom
mohabsafey:lifting-gb
Open

Better lifting for grevlex GBs over QQ#266
mohabsafey wants to merge 5 commits intoalgebraic-solving:masterfrom
mohabsafey:lifting-gb

Conversation

@mohabsafey
Copy link
Contributor

As a result, this new code saves a significant amount of memory for computing GBs over QQ (by factors increasing with the size of problems ; sometimes more than 3 times).

Issue #258 seems fixed also.

The export functions have also been tested through Julia / AlgebraicSolving.jl under ubuntu

Copy link
Contributor

@jerebertho jerebertho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides these small space issues, this looks good to me.
Thanks!

if(!(nprimes & (nprimes - 1))){
fprintf(stdout, "{%d}", nprimes);
fflush(stdout);
fflush(stdout);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fflush(stdout);
fflush(stdout);

space issue

if(info_level){
fprintf(stdout, "<%.2f%%>", 100* (float)MIN((dlift->lstart + 1), (*modgbsp)->ld)/(*modgbsp)->ld);
fflush(stdout);
fflush(stdout);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fflush(stdout);
fflush(stdout);

space issue

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few more space issues, but otherwise I am also fine with this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants