# Optimizer options commands

The optimizer options can be customized at the study level only. Since a study is an Akamas resource this can be done by using the update command described on the [Resource management commands](cli-reference-2) page.

This page provides a quick reference for the update commands that can be used to dynamically change the options that drive how the Akamas optimizer works for live optimization studies.

### Updating the online mode

The following command can be used to update the online mode of live optimization studies:

```bash
akamas update study <STUDY_NAME_OR_ID> --online-mode [RECOMMEND|FULLY_AUTONOMOUS]
```

### Updating the safety mode

The following command can be used to update the safety mode of live optimization studies:

```bash
akamas update study <STUDY_NAME_OR_ID> --safety [GLOBAL|LOCAL]
```

### Updating the workload strategy

The following command can be used to update the workload strategy of live optimization studies:

```bash
akamas update study <STUDY_NAME_OR_ID> --workload-strategy [MAXIMIN|MEDIAN|LAST|MOST_VIOLATED]
```

### Updating the safety factor

The following command can be used to update the safety factor of live optimization studies:

```bash
akamas update study <STUDY_NAME_OR_ID> --safety-factor <VALUE>
```

### Updating the exploration factor

The following command can be used to update the exploration factor of live optimization studies:

```bash
akamas update study <STUDY_NAME_OR_ID> --exploration-factor <VALUE>
```
