# Running optimization studies

Once all the preparatory steps for creating a study are done, running a study is straightforward: An optimization study can be started from either the Akamas UI (see the following figures) or the command line (refer to the [Resource management commands](../akamas-reference/cli-reference/cli-reference-2) page).

<figure><img src="https://1840531935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC1d2wNp5yTa9gnHgSILG%2Fuploads%2Fgit-blob-9a1534759a4c6dfe2d662a7697836eb2ccc165cf%2FScreenshot%202023-01-25%20at%2015.00.21.png?alt=media" alt=""><figcaption><p>Ready to start a new offline optimization study</p></figcaption></figure>

Before actually running an optimization study, it is highly recommended to read the following sections:

* [Before running optimization studies](running-optimization-studies/before-running-optimization-studies)
* [Analyzing results of offline optimization studies](running-optimization-studies/analyzing-results-of-offline-optimization-studies) or [Analyzing results of live optimization studies](running-optimization-studies/analyzing-results-of-live-optimization-studies)
* [Before applying optimization results](running-optimization-studies/analyzing-live-optimization-studies)

Once started, managing studies is different for offline optimization studies (see [here below](#offline-optimization-studies)) and live optimization studies (see [here below](#live-optimization-studies)).

### Offline optimization studies

Notice that once an offline optimization study has started, it can only be stopped or let be finished and not restarted again. However, it is also possible to reuse experiments executed in another study in another (successfully or not) finished study - this is called **bootstrapping** and is illustrated by the following figure (also refer to the [Bootstrap Step](../akamas-reference/construct-templates/study-template/steps/bootstrap-step) page on the reference page).

<figure><img src="https://1840531935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC1d2wNp5yTa9gnHgSILG%2Fuploads%2Fgit-blob-9636120846ab8e6596ba26582bdaa2634a7df50d%2FScreenshot%202023-01-25%20at%2016.51.02.png?alt=media" alt=""><figcaption><p>Study bootstrapping</p></figcaption></figure>

This can be useful for multiple reasons, including the case of an error (e.g. a misconfigured workflow) that requires "restarting" the study.

### Live optimization studies

For **live optimization studies**, it is possible to stop a study and restart it. However, please notice that this is an irreversible action, that would delete all the executed experiments, so basically, restarting a live study means starting it from scratch.

<figure><img src="https://1840531935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC1d2wNp5yTa9gnHgSILG%2Fuploads%2Fgit-blob-01444ee084d8256e5930734bee72d01fa2edd137%2FScreenshot%202023-01-25%20at%2016.21.27.png?alt=media" alt=""><figcaption><p>Warning message when stopping a live optimization study</p></figcaption></figure>

##
