# How to get constraints from one JuMP model and use them in another JuMP model

**URL:** <https://discourse.julialang.org/t/how-to-get-constraints-from-one-jump-model-and-use-them-in-another-jump-model/20729>\
**Category:** Optimization (Mathematical)\
**Created:** [February 13, 2019, 3:27am UTC](https://discourse.julialang.org/t/how-to-get-constraints-from-one-jump-model-and-use-them-in-another-jump-model/20729 "2019-02-13T03:27:40Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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 19, 2024, 1:30am UTC](https://discourse.julialang.org/t/how-to-get-constraints-from-one-jump-model-and-use-them-in-another-jump-model/20729/9 "2024-12-19T01:30:53Z")

</div>

> Somewhat related: if I have a collection of JuMP models `i = 1...n` and I want to “combine” (exact way tbd) them into a single model, is there a “best” or suggested way of doing this?

You cannot combine JuMP models. Can you start a new thread and describe why you want to do this?

---

_[View the full topic](https://discourse.julialang.org/t/how-to-get-constraints-from-one-jump-model-and-use-them-in-another-jump-model/20729)._
