| 170 To compile the program, run |
170 To compile the program, run |
| 171 |
171 |
| 172 cargo build --release |
172 cargo build --release |
| 173 |
173 |
| 174 When doing this for the first time, several dependencies will be downloaded. |
174 When doing this for the first time, several dependencies will be downloaded. |
| 175 Now you can run the experiments in the article with |
175 Now you can run the basic experiments in the article with |
| 176 |
176 |
| 177 cargo run --release -- \ |
177 cargo run --release -- \ |
| 178 -o results -a radon_sliding_fb -a radon_fb --max-iter 20000 \ |
178 -o results -a radon_sliding_fb -a radon_fb --max-iter 10000 \ |
| 179 experiments/laser_and_mirrors_aux.py experiments/laser_and_mirrors_aux2.py |
179 experiments/laser_and_mirrors_aux.py experiments/laser_and_mirrors_aux2.py |
| 180 |
180 |
| 181 The `-o results` option tells `pointsource_pde` to write results in the `results` directory. |
181 The `-o results` option tells `pointsource_pde` to write results in the `results` directory. |
| 182 The other options indicate the algorithms and experiments to run, as well as the maximum number |
182 The other options indicate the algorithms and experiments to run, as well as the maximum number |
| 183 of iterations. |
183 of iterations. |
| 184 The double-dash separates the options for the Cargo build system and `pointsource_pde`. |
184 The double-dash separates the options for the Cargo build system and `pointsource_pde`. |
| 185 |
185 |
| |
186 To run the sensitivity experiments and generative the summary files, you can use: |
| |
187 |
| |
188 stats/generate.sh |
| |
189 stats/run.sh experiments/variant* # or many parallel copies |
| |
190 MAXITER=5000 stats/extract_results.sh results_variant* |
| |
191 julia stats/summarise.jl tmp/results_variant* |
| |
192 |
| 186 ### Visualising the results |
193 ### Visualising the results |
| 187 |
194 |
| 188 The results may be plotted with |
195 The results may be plotted with |
| 189 |
196 |
| 190 python3 ./plot.py results/laser_and_mirrors_aux/radon_sliding_fb |
197 python3 ./plot.py results/laser_and_mirrors_aux/radon_sliding_fb |