# Edit .NL files using JuMP

**URL:** <https://discourse.julialang.org/t/edit-nl-files-using-jump/75712>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [February 3, 2022, 8:48am UTC](https://discourse.julialang.org/t/edit-nl-files-using-jump/75712 "2022-02-03T08:48:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luca](https://avatars.discourse-cdn.com/v4/letter/l/51bf81/32.png) [@Luca](https://discourse.julialang.org/u/Luca)\
**Post date:** [February 3, 2022, 8:48am UTC](https://discourse.julialang.org/t/edit-nl-files-using-jump/75712/1 "2022-02-03T08:48:31Z")

</div>

Dear all,

I would like to run a solvers comparison on several instances of MINLPLib. I can get the .NL files for each instance. Now, I would like to reformulate several instances and I need to edit the .NL files (in particular I would like to add a term to the objective function). I would ask you if you know an easy way to read and modify directly the .NL files for instance using JuMP.

Thanks very much for all your help.

---

<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:** [February 3, 2022, 5:41pm UTC](https://discourse.julialang.org/t/edit-nl-files-using-jump/75712/2 "2022-02-03T17:41:09Z")

</div>

There is no support for reading NL files in JuMP (only writing).
