Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling Dynamic Number of Pools in Optimization Setup #13

Open
ruidazeng opened this issue Oct 29, 2024 · 0 comments
Open

Handling Dynamic Number of Pools in Optimization Setup #13

ruidazeng opened this issue Oct 29, 2024 · 0 comments

Comments

@ruidazeng
Copy link

I’m using the code to set up an optimization problem with a bunch of liquidity pools, but the number of pools isn’t fixed—it can change and grow depending on the data. Right now, the setup requires manually defining each pool's variables and constraints, which is tough to manage with a large, variable number of pools.

Is there a way to make the code handle a dynamic number of pools, creating the needed variables and constraints on the fly based on each pool's type (e.g., Balancer, Uniswap, constant-sum)? Any tips on how to make this work smoothly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant