Question: concerning solve: give me the first (or lets say first 10) solution you find

Hi Maple experts,

is there a way to tell Maple, that it only gives me the first 10 solutions it finds.

My problem is, that I have an equation

eq := f(x,a,b)=0

with probably millions of solution pairs

(a_0 , b_0).

I use

solve(eq, {a,b} )

Therefore, maple thinks the whole night, fills 2Gb of memory untill I have to interruped the calculation.

 

Indeed I need only 1 nontrivial solution (a,b)  !

 

Therefore, is there a way to tell maple: Stop searching for more solution, when you have found 10

and give me the 10 solutions out!

 

Thank you for your expertise,

Peter

 

 

 

 

Please Wait...