# Micro-economics package

I am looking for a package for solving simple college-level micro-economics problems. For example, I am looking for a software where I can:

- Define utility functions, e.g. $u_1(x,y) = x^2 y$, $u_2(x,y) = x y^2$;
- Define initial endowments $(x_1,y_1)$ and $(x_2,y_2)$;
- Find and plot all the Pareto-efficient allocations;
- Find and plot all the envy-free allocations;
- Find a competitive equilibrium.

Is there a SageMath package for this?

Not that I know of. There

issome game-theoretic stuff but not this. I assume there are well-known algorithms for finding such Pareto and envy-free allocations?Yes, there are algorithms but there are many fine details (e.g. if the function is smooth there is one algorithm, if it is continuous but not smooth there is another algorithm, etc.)

Do you know some (free-software) packages that do that ? In case, we could include them within Sagemath.