After Bertini does a run many files are created. This function imports the coordinates of solutions from the simple "rawsolutions" file. By using the option NameSolutionsFile=>"realfinitesolutions" we would import solutions from real finite solutions. Other common file names are "nonsingularsolutions", "finitesolutions", "infinitesolutions", and "singularsolutions".
If the NameSolutionsFile option is set to 0 then "nonsingularsolutions" is imported, is set to 1 then "realfinitesolutions" is imported, is set to 2 then "infinitesolutions" is imported, is set to 3 then "finitesolutions" is imported, is set to 4 then "start" is imported, is set to 5 then "rawsolutions" 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}) o2 = /var/folders/j_/gx42s4z576z_vj47_ym0j5xm0000gn/T/M2-74641-0/0/input o2 : File |
i3 : runBertini(storeBM2Files) ~/bertini |
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 |