# Simplify MINLP problem to speed up results

**URL:** https://discourse.julialang.org/t/simplify-minlp-problem-to-speed-up-results/32522
**Category:** Optimization (Mathematical)
**Tags:** question, jump
**Created:** [December 20, 2019, 5:40pm UTC](https://discourse.julialang.org/t/simplify-minlp-problem-to-speed-up-results/32522 "2019-12-20T17:40:22Z")
**Posts on this page:** 1
**Showing post:** 4

<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 20, 2019, 9:33pm UTC](https://discourse.julialang.org/t/simplify-minlp-problem-to-speed-up-results/32522/4 "2019-12-20T21:33:19Z")

</div>

No idea without a full stack trace of the error. I assume this is in Juno/Atom? Try running Julia from a terminal and `include("/path/to/file.jl")` your file.

You should also read [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). It’s worth spending time simplifying the example, but removing unneeded packages (e.g., Plots) and parameters and providing dummy data instead of the files.

Also, some things to improve your performance. Variable bounds (e.g., the last two constraints) are better specified as

```nohighlight
@variable(m, -0.2 <= dS_var[1:N] <= 0.2)

```

---

_[View the full topic](https://discourse.julialang.org/t/simplify-minlp-problem-to-speed-up-results/32522)._
