# Errors using JuMP with Ipopt or HiGHS: UndefVarError: libipopt not defined and UndefVarError: libhighs not defined

**URL:** <https://discourse.julialang.org/t/errors-using-jump-with-ipopt-or-highs-undefvarerror-libipopt-not-defined-and-undefvarerror-libhighs-not-defined/78539>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [March 27, 2022, 1:34am UTC](https://discourse.julialang.org/t/errors-using-jump-with-ipopt-or-highs-undefvarerror-libipopt-not-defined-and-undefvarerror-libhighs-not-defined/78539 "2022-03-27T01:34:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [December 4, 2022, 7:48pm UTC](https://discourse.julialang.org/t/errors-using-jump-with-ipopt-or-highs-undefvarerror-libipopt-not-defined-and-undefvarerror-libhighs-not-defined/78539/5 "2022-12-04T19:48:00Z")

</div>

Hi @Aakriti_Rohatgi, please start a new post, and provide the output of `versioninfo()` and `import Pkg; Pkg.status()`.

If I have to guess, you probably have a large number of packages in the global environment. Try following the example here to create a new environment:

> [@Installing Pardiso on Julia (Mac)](https://discourse.julialang.org/t/installing-pardiso-on-julia-mac/91014/9):
>
> You have somehow installed a very old version of Ipopt that is not actually using Ipopt\_jll. Do you have lots of other packages in your environment? You should use a new environment for each project. Don’t install a bunch of packages into the default environment; bad things can happen like this that lead to version conflicts. You can work with projects like this: (base) oscar@Oscars-MBP /tmp % julia \_ \_ \_ \_(\_)\_ | Documentation: https://docs.juliala…

---

_[View the full topic](https://discourse.julialang.org/t/errors-using-jump-with-ipopt-or-highs-undefvarerror-libipopt-not-defined-and-undefvarerror-libhighs-not-defined/78539)._
