1MSOLVE(1) User Commands MSOLVE(1)
2
3
4
6 msolve - manual page for msolve
7
9 msolve library for polynomial system solving implemented by J.
10 Berthomieu, C. Eder, M. Safey El Din
11
12 Basic call:
13 ./msolve -f [FILE1] -o [FILE2]
14
15 FILE1 and FILE2 are respectively the input and output files
16
17 Standard options
18
19 -f FILE File name (mandatory).
20
21 -h Prints this help. -o FILE Name of output file. -t THR
22 Number of threads to be used.
23
24 Default: 1.
25
26 -v n Level of verbosity, 0 - 2
27
28 0 - no output (default). 1 - global information at the start
29 and
30
31 end of the computation.
32
33 2 - detailed output for each step of the
34
35 algorithm, e.g. matrix sizes, #pairs, ...
36
37 Input file format:
38 - first line: variables separated by a comma - second line:
39 characteristic of the field - next lines provide the polynomials
40 (one per line),
41
42 separated by a comma (no comma after the final polynomial)
43
44 Output file format: When there is no solution in an algebraic closure
45 of the base field [-1]: Where there are infinitely many solutions in an
46 algebraic closure of the base field: [1, nvars, -1,[]]: Else: Over
47 prime fields: a rational parametrization of the solutions When input
48 coefficients are rational numbers: real solutions to the input system
49 (see the -P flag to recover a parametrization of the solutions) See the
50 msolve tutorial for more details (https://msolve.lip6.fr)
51
52 Advanced options:
53
54 -F FILE File name encoding parametrizations in binary format.
55
56 -g GB Prints reduced Groebner bases of input system for
57
58 first prime characteristic w.r.t. grevlex ordering. One element
59 per line is printed, commata separated. 0 - Nothing is printed.
60 (default) 1 - Leading ideal is printed. 2 - Full reduced Groeb‐
61 ner basis is printed.
62
63 -c GEN Handling genericity: If the staircase is not generic
64
65 enough, msolve can automatically try to fix this situation via
66 first trying a change of the order of and finally adding a ran‐
67 dom linear form with a new variable (smallest w.r.t. DRL) 0 -
68 Nothing is done, msolve quits. 1 - Change order of variables.
69 2 - Change order of variables, then try adding a
70
71 random linear form. (default)
72
73 -C Use sparse-FGLM-col algorithm:
74 Given an input file with k polynomials compute the quotient of
75 the ideal generated by the first k-1 polynomials with respect to
76 the kth polynomial.
77
78 -e ELIM Define an elimination order: msolve supports two
79
80 blocks, each block using degree reverse lexicographical monomial
81 order. ELIM has to be a number between 1 and #variables-1. The
82 basis the first block eliminated is then computed.
83
84 -I Isolates the real roots (provided some univariate data)
85
86 without re-computing a Gröbner basis Default: 0 (no).
87
88 -l LIN Linear algebra variant to be applied:
89 1 - exact sparse / dense 2 - exact sparse (default)
90
91 42 - sparse / dense linearization (probabilistic) 44 - sparse
92 linearization (probabilistic)
93
94 -m MPR Maximal number of pairs used per matrix.
95
96 Default: 0 (unlimited).
97
98 -n NF Given n input generators compute normal form of the last NF
99
100 elements of the input w.r.t. a degree reverse lexicographical
101 Gröbner basis of the irst (n - NF) input elements. At the mo‐
102 ment this only works for prime field computations. Combining
103 this option with the "-i" option assumes that the first (n - NF)
104 elements generate already a degree reverse lexicographical
105 Gröbner basis.
106
107 -p PRE Precision of the real root isolation.
108
109 Default is 32.
110
111 -P PAR Get also rational parametrization of solution set.
112
113 Default is 0. For a detailed description of the output format
114 please see the general output data format section above.
115
116 -q Q Uses signature-based algorithms.
117
118 Default: 0 (no).
119
120 -r RED Reduce Groebner basis.
121
122 Default: 1 (yes).
123
124 -s HTS Initial hash table size given
125
126 as power of two. Default: 17.
127
128 -S Use f4sat saturation algorithm:
129 Given an input file with k polynomials compute the saturation of
130 the ideal generated by the first k-1 polynomials with respect to
131 the kth polynomial.
132
133 -u UHT Number of steps after which the
134
135 hash table is newly generated. Default: 0, i.e. no update.
136
137 msolve library for polynomial system solving implemented by J.
138 Berthomieu, C. Eder, M. Safey El Din
139
140 Basic call:
141 ./msolve -f [FILE1] -o [FILE2]
142
143 FILE1 and FILE2 are respectively the input and output files
144
145 Standard options
146
147 -f FILE File name (mandatory).
148
149 -h Prints this help. -o FILE Name of output file. -t THR
150 Number of threads to be used.
151
152 Default: 1.
153
154 -v n Level of verbosity, 0 - 2
155
156 0 - no output (default). 1 - global information at the start
157 and
158
159 end of the computation.
160
161 2 - detailed output for each step of the
162
163 algorithm, e.g. matrix sizes, #pairs, ...
164
165 Input file format:
166 - first line: variables separated by a comma - second line:
167 characteristic of the field - next lines provide the polynomials
168 (one per line),
169
170 separated by a comma (no comma after the final polynomial)
171
172 Output file format: When there is no solution in an algebraic closure
173 of the base field [-1]: Where there are infinitely many solutions in an
174 algebraic closure of the base field: [1, nvars, -1,[]]: Else: Over
175 prime fields: a rational parametrization of the solutions When input
176 coefficients are rational numbers: real solutions to the input system
177 (see the -P flag to recover a parametrization of the solutions) See the
178 msolve tutorial for more details (https://msolve.lip6.fr)
179
180 Advanced options:
181
182 -F FILE File name encoding parametrizations in binary format.
183
184 -g GB Prints reduced Groebner bases of input system for
185
186 first prime characteristic w.r.t. grevlex ordering. One element
187 per line is printed, commata separated. 0 - Nothing is printed.
188 (default) 1 - Leading ideal is printed. 2 - Full reduced Groeb‐
189 ner basis is printed.
190
191 -c GEN Handling genericity: If the staircase is not generic
192
193 enough, msolve can automatically try to fix this situation via
194 first trying a change of the order of and finally adding a ran‐
195 dom linear form with a new variable (smallest w.r.t. DRL) 0 -
196 Nothing is done, msolve quits. 1 - Change order of variables.
197 2 - Change order of variables, then try adding a
198
199 random linear form. (default)
200
201 -C Use sparse-FGLM-col algorithm:
202 Given an input file with k polynomials compute the quotient of
203 the ideal generated by the first k-1 polynomials with respect to
204 the kth polynomial.
205
206 -e ELIM Define an elimination order: msolve supports two
207
208 blocks, each block using degree reverse lexicographical monomial
209 order. ELIM has to be a number between 1 and #variables-1. The
210 basis the first block eliminated is then computed.
211
212 -I Isolates the real roots (provided some univariate data)
213
214 without re-computing a Gröbner basis Default: 0 (no).
215
216 -l LIN Linear algebra variant to be applied:
217 1 - exact sparse / dense 2 - exact sparse (default)
218
219 42 - sparse / dense linearization (probabilistic) 44 - sparse
220 linearization (probabilistic)
221
222 -m MPR Maximal number of pairs used per matrix.
223
224 Default: 0 (unlimited).
225
226 -n NF Given n input generators compute normal form of the last NF
227
228 elements of the input w.r.t. a degree reverse lexicographical
229 Gröbner basis of the irst (n - NF) input elements. At the mo‐
230 ment this only works for prime field computations. Combining
231 this option with the "-i" option assumes that the first (n - NF)
232 elements generate already a degree reverse lexicographical
233 Gröbner basis.
234
235 -p PRE Precision of the real root isolation.
236
237 Default is 32.
238
239 -P PAR Get also rational parametrization of solution set.
240
241 Default is 0. For a detailed description of the output format
242 please see the general output data format section above.
243
244 -q Q Uses signature-based algorithms.
245
246 Default: 0 (no).
247
248 -r RED Reduce Groebner basis.
249
250 Default: 1 (yes).
251
252 -s HTS Initial hash table size given
253
254 as power of two. Default: 17.
255
256 -S Use f4sat saturation algorithm:
257 Given an input file with k polynomials compute the saturation of
258 the ideal generated by the first k-1 polynomials with respect to
259 the kth polynomial.
260
261 -u UHT Number of steps after which the
262
263 hash table is newly generated. Default: 0, i.e. no update.
264
265
266
267msolve November 2023 MSOLVE(1)