# Hexaly solver with JuMP

**URL:** <https://discourse.julialang.org/t/hexaly-solver-with-jump/124827>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [January 16, 2025, 11:46am UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827 "2025-01-16T11:46:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![baprata](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baprata/32/204269_2.png) [@baprata](https://discourse.julialang.org/u/baprata)\
**Post date:** [January 16, 2025, 11:46am UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/1 "2025-01-16T11:46:33Z")

</div>

Dear Colleagues, Is it feasible to call the Hexaly solver ([https://www.hexaly.com/](https://www.hexaly.com/)) within the JuMP library? If so, could someone provide some source code with an example? Best regards, Bruno

---

<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:** [January 16, 2025, 7:08pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/2 "2025-01-16T19:08:38Z")

</div>

It is not possible. You should reach out to Hexaly and let them know that you are interested in a Julia or JuMP interface.

---

<div class="post-metadata">

**Author:** ![baprata](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baprata/32/204269_2.png) [@baprata](https://discourse.julialang.org/u/baprata)\
**Post date:** [January 16, 2025, 11:00pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/3 "2025-01-16T23:00:35Z")

</div>

Thank you very much

---

<div class="post-metadata">

**Author:** ![baprata](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baprata/32/204269_2.png) [@baprata](https://discourse.julialang.org/u/baprata)\
**Post date:** [January 20, 2025, 7:01pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/4 "2025-01-20T19:01:14Z")

</div>

Feedback from Hexaly:

Hello Bruno,

Thank you for the contact and for your suggestion. We had several inquiries from academics asking about a Julia interface for Hexaly. Unfortunately, we don’t offer one now. The reason is that despite more and more people using it in academia, Julia is not used in industry. To give you an idea: 90% of projects are implemented in Python, 5% in Java, 5% in C#, and a tiny fraction in C++.

Nevertheless, we want to make our users in academia happy and comfortable by using their preferred programming language. So, in Julia if you prefer Julia. We plan to offer a Julia API in the future, but because this is a lot of work to do properly, this is not planned for the next version.

Note that we may not be able to offer integration into JuMP because Hexaly is not a traditional MILP solver. Hexaly’s modeling APIs are nonlinear and set-oriented. This latter aspect, “set modeling,” is very original and unique in the landscape of mathematical optimization solvers and makes a huge difference in modeling and solving combinatorial optimization problems like routing, scheduling, packing, clustering, assignment, matching, location, and many other problems. Have a look at our [benchmarks](https://www.hexaly.com/benchmarks).

If you have the possibility to use Python, I invite you to try Hexaly by starting from one of our [code templates](https://www.hexaly.com/docs/last/exampletour/index.html). Hexaly is free for students, professors, and researchers. Additionally, We will be pleased to support you in the process to smooth your learning curve as much as possible.

Kind regards,

---

<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:** [January 21, 2025, 6:54am UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/5 "2025-01-21T06:54:01Z")

</div>

I have some ideas for how to interface Healy’s set-orientated modeling API, and JuMP has great nonlinear support. But it would require a nontrivial amount of effort that I don’t have time for at the moment. So I’ll second the Hexaly folks: if you want to use them at the moment, use Python.

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [January 21, 2025, 7:36am UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/6 "2025-01-21T07:36:03Z")

</div>

Also note that if the rest of the project is in Julia, PythonCall.jl can probably help

---

<div class="post-metadata">

**Author:** ![dburch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dburch/32/8741_2.png) [@dburch](https://discourse.julialang.org/u/dburch)\
**Post date:** [June 17, 2026, 9:52pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/7 "2026-06-17T21:52:25Z")

</div>

It looks like this is now possible? Or do I misunderstand?

> **[GitHub - NexOR-Optimization/Hexaly.jl: Julia interface to hexaly](https://github.com/NexOR-Optimization/Hexaly.jl)**
>
> Julia interface to hexaly

---

<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:** [June 17, 2026, 10:04pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/8 "2026-06-17T22:04:18Z")

</div>

It’s still a WIP and being actively developed. It’s also not a complete wrapper.

See also [https://youtu.be/hxph7NR6JeM](https://youtu.be/hxph7NR6JeM)

---

<div class="post-metadata">

**Author:** ![blegat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blegat/32/217090_2.png) [@blegat](https://discourse.julialang.org/u/blegat)\
**Post date:** [June 26, 2026, 7:45pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827/9 "2026-06-26T19:45:57Z")

</div>

Yes, I recently created a Julia wrapper, it’s still early stage so feedback is most welcome 🙂
