After Bertini does a run many files are created. This function imports the coordinates of solutions from the simple "raw_solutions" file. By using the option NameSolutionsFile=>"real_finite_solutions" we would import solutions from real finite solutions. Other common file names are "nonsingular_solutions", "finite_solutions", "infinite_solutions", and "singular_solutions".
If the NameSolutionsFile option is set to 0 then "nonsingular_solutions" is imported, is set to 1 then "real_finite_solutions" is imported, is set to 2 then "infinite_solutions" is imported, is set to 3 then "finite_solutions" is imported, is set to 4 then "start" is imported, is set to 5 then "raw_solutions" is imported.
i1 : R=QQ[x,y] o1 = R o1 : PolynomialRing |
i2 : makeB'InputFile(storeBM2Files, AffVariableGroup=>{{x,y}}, B'Polynomials=>{x^2-1,y^3-1}); |
i3 : runBertini(storeBM2Files) |
i4 : importSolutionsFile(storeBM2Files) o4 = {{1, 1}, {1, -.5+.866025*ii}, {1, -.5-.866025*ii}, {-1, 1}, {-1, ------------------------------------------------------------------------ -.5+.866025*ii}, {-1, -.5-.866025*ii}} o4 : List |
i5 : importSolutionsFile(storeBM2Files,NameSolutionsFile=>"real_finite_solutions") o5 = {{1, 1}, {-1, 1}} o5 : List |
i6 : importSolutionsFile(storeBM2Files,NameSolutionsFile=>0) o6 = {{1, 1}, {1, -.5+.866025*ii}, {1, -.5-.866025*ii}, {-1, 1}, {-1, ------------------------------------------------------------------------ -.5+.866025*ii}, {-1, -.5-.866025*ii}} o6 : List |
The object importSolutionsFile is a method function with options.