### Authors

Tarun Chitra, Theo Diamandis, Max Resnick, Guillermo Angeris

February 1, 2023

---

# An Efficient Algorithm for Optimal Routing Through Constant Function Market Makers

### Key Takeaways

A natural question for constant function market makers is how to optimally route trades across a network of them in order to ensure the largest possible utility (as specified by a user).

This paper presents an efficient algorithm, based on a decomposition method, to solve the problem of optimally executing an order across a network of decentralized exchanges.

Numerical results show significant performance improvements of this method, tested on realistic networks of CFMMs, when compared against an off-the-shelf commercial solver.

---

### View the full presentation
### Read the full paper

[Download](https://cdn.prod.website-files.com/648bdc0d4b8ce322f27da0af/66d88f6fe908d13e62c1d139_Research%2023.pdf)

### Want Gauntlet in your inbox?

Sign up to get notified about our latest research.

---

### About

What makes us different.

---

### Content

- [Gauntlet Vaults on Morpho Power Uniswap Earn](/content/resources/gauntlet-vaults-on-morpho-power-uniswap-earn/index.html)
- [Gauntlet Launches USDC and Bitcoin Earn Vaults on Morph with Bitget and Bitget Wallet](/content/resources/gauntlet-launches-usdc-and-bitcoin-earn-vaults-on-morph-with-bitget-and-bitget-wallet/index.html)
- [Gauntlet USD Alpha Powers Liquid Earn](/content/resources/gauntlet-usd-alpha-powers-liquid-earn/index.html)

---

### Contact our team

Tell us about your protocol’s needs:
1. Name  
2. Contact Info  
3. Protocol Info  
4. Details

---
