> ## Documentation Index
> Fetch the complete documentation index at: https://docsy3.mile.app/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://mintcdn.com/mile-app/MUIsaJjssf9Cm1te/images/route-optimization/configuration/odd-even-01.png?fit=max&auto=format&n=MUIsaJjssf9Cm1te&q=85&s=af3541af830eea3900718a3d01b20ce3" alt="image" width="600" data-path="images/route-optimization/configuration/odd-even-01.png" />

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

<div align="center">
  <img src="https://mintcdn.com/mile-app/MUIsaJjssf9Cm1te/images/route-optimization/configuration/odd-even-02.png?fit=max&auto=format&n=MUIsaJjssf9Cm1te&q=85&s=19fc288d1e1a2277432c218600b8d7d4" alt="image" width="600" data-path="images/route-optimization/configuration/odd-even-02.png" />

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

<div align="center">
  <img src="https://mintcdn.com/mile-app/MUIsaJjssf9Cm1te/images/route-optimization/configuration/odd-even-03.png?fit=max&auto=format&n=MUIsaJjssf9Cm1te&q=85&s=ac34d448e9f2f6853622e9a8a3c5d57f" alt="image" width="600" data-path="images/route-optimization/configuration/odd-even-03.png" />

  <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**.
