# Using JuMP to solve the heat equation - performance tips requested

**URL:** https://discourse.julialang.org/t/using-jump-to-solve-the-heat-equation-performance-tips-requested/69749
**Category:** Optimization (Mathematical)
**Tags:** jump
**Created:** [October 14, 2021, 12:22pm UTC](https://discourse.julialang.org/t/using-jump-to-solve-the-heat-equation-performance-tips-requested/69749 "2021-10-14T12:22:26Z")
**Posts on this page:** 1
**Showing post:** 10

<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: [October 16, 2021, 9:36pm UTC](https://discourse.julialang.org/t/using-jump-to-solve-the-heat-equation-performance-tips-requested/69749/10 "2021-10-16T21:36:24Z")

</div>

Please read [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757) and provide your code as text that can be copy-pasted.

Did you take a look at where the time is being spent? I guess most of the 12 minutes is inside Ipopt. You have ~10^6 variables and constraints.

If you continue to use Ipopt, you should try a more efficient linear solver: [https://github.com/jump-dev/Ipopt.jl#linear-solvers](https://github.com/jump-dev/Ipopt.jl#linear-solvers)

---

_[View the full topic](https://discourse.julialang.org/t/using-jump-to-solve-the-heat-equation-performance-tips-requested/69749)._
