Update the instructions for running the examples

This commit is contained in:
Aaron Fenyes 2025-08-07 20:36:43 -07:00
parent b1d5db2dc2
commit 707b5bf52f

View file

@ -48,7 +48,13 @@ The latest prototype is in the folder `app-proto`. It includes both a user inter
### Run the engine on some example problems
1. Go into the `app-proto` folder
2. Call `./run-examples`
2. Use `sh` to run the script `tools/run-examples.sh`
* *The script is location-independent, so you can do this from anywhere in the dyna3 repository*
* *The call from the top level of the repository is:*
```bash
sh tools/run-examples.sh
```
* *For each example problem, the engine will print the value of the loss function at each optimization step*
* *The first example that prints is the same as the Irisawa hexlet example from the Julia version of the engine prototype. If you go into `engine-proto/gram-test`, launch Julia, and then*