> For the complete documentation index, see [llms.txt](https://zillion.gitbook.io/iredistrict/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zillion.gitbook.io/iredistrict/run.md).

# Set Parameters and Run

Video：<https://www.youtube.com/watch?v=l8xQOGeZpKM&feature=youtu.be>

Set the number of districts to draw and the number of plans to produce, enable shape compactness, and click Run.  **If you are using iRedistrict for Site**, the number of districts is the number of sites, which you cannot change.

iRedistrict produces multiple redistricting plans. There is no limitation on how many plans to create. However, the more plans to create, the longer time it takes. By default, this number is set to 30. This number can be changed.

&#x20;The threshold helps to reduce the population deviation. It is optional.&#x20;

![](/files/-MIzYRtKV5Jsqyu7jd9E)

Click Run to calculate redistricting plans.&#x20;

When the calculation is done, the redistricting plans are shown on top of the map. In the scatter plot, each green circle represents a plan. Click the green circle, the plan is changed on the map.

![](/files/-MIzYghM0VlCLwJou-OK)

**If you are using iRedistrict for Site**, the plan looks as the image below. There is one site in each district.

![](/files/4gAp3tDWRZYiAXo0kCXQ)

Switch to "District Info" to check the details of each plan.

![](/files/-MIzv4Wq5xHruj7CVyvW)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zillion.gitbook.io/iredistrict/run.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
