> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mileapp.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Odd Even

The **Odd-Even Rule** allows you to optimize routes by considering odd-even traffic regulation. This feature ensures that your route follows the best possible path based on your vehicle’s license plate number and the applicable traffic restrictions.

<Note>
  Required Permission :

  * View configuration
  * Create configuration
  * Edit configuration
</Note>

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/0c80cb63-af02-4813-9ac5-7a42235d85f3/image.png" alt="image" width="600" />

  <p>
    <i>Routing Configuration Odd Even Display</i>
  </p>
</div>

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/efc76df3-39e6-4410-aeec-5b743756e987/image.png" alt="image" width="600" />

  <p><i>Routing VIsit Display</i></p>
</div>

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/577cafcc-2577-444e-bdd3-1d6a838651ab/image.png" alt="image" width="600" />

  <p><i>Routing Result Display</i></p>
</div>

### **How to Use**

1. Go to **Routing → Configuration** and enable the **Odd-Even Rule** toggle.
2. Set the **time range** when the odd-even rule applies, according to your operational needs.
3. Define your **vehicle type** — whether it falls under the *Odd* or *Even* category based on the license plate.
4. Select the **date** when the route will be executed to determine if the vehicle is allowed to pass through odd or even restricted roads.
5. Click **Optimize** to run the route optimization process.
6. The optimized route — considering odd-even restrictions — can be viewed under **Routing → Result**.

### **Notes**

* Using this rule helps you generate routes that comply with Jakarta’s odd-even road policy.
* Once enabled, the setting will be **saved** for future routing processes and can be **modified anytime** as needed.
* The **Odd-Even Rule** currently applies **only to roads within the Jakarta province, Indonesia**.
