> For the complete documentation index, see [llms.txt](https://rembrandt.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rembrandt.gitbook.io/docs/user-guide-1/resource-allocation.md).

# Resource Allocation

During run-time recipes can be executed by a BPMS which leades to a optimized resource allocation.\
Rembrandt allows two ways of starting the allocation:&#x20;

* Calling the corresponding API route.
* Clicking the button in the recipe detail view.

The GET request to start the allocation can be called from an arbitrary BPMS at any time. \
If Rembrandt is used locally with the standard port, the request looks like this:

```
localhost:8080/optimization/[recipeId]/execute
```

### Executions

Started executions can be seen in the frontend within the "Executions" page in the optimization component.\
In the detail view of a specific execution ingredients and their current state are displayed, which enables better monitoring and debugging of the resource allocation process.\
If an execution is no longer relevant, it can be **deleted** to maintain clarity. This, however, does not stop the allocation process in the backend, but only deletes the visible front end records.

![](https://2302517564-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeJ6kGUyZS2zT96wHZ3%2F-LmoPrhb6hyP3XkiPAJ9%2F-LmoRtNLXvU6avonEqbj%2FExecution.png?alt=media\&token=52d3bd88-1dac-44c8-afbc-c1ea4ac84986)
