# JuMP - variable constraint depending on variable

**URL:** <https://discourse.julialang.org/t/jump-variable-constraint-depending-on-variable/24313>\
**Category:** General Usage\
**Created:** [May 17, 2019, 12:30pm UTC](https://discourse.julialang.org/t/jump-variable-constraint-depending-on-variable/24313 "2019-05-17T12:30:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 17, 2019, 1:18pm UTC](https://discourse.julialang.org/t/jump-variable-constraint-depending-on-variable/24313/2 "2019-05-17T13:18:37Z")

</div>

Take a read of [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757).

Then, make a self-contained minimal working example and post it here. It’s hard to tell what you’re trying to do from the text.

You might be looking for `JuMP.value` [Query Solutions · JuMP](http://www.juliaopt.org/JuMP.jl/v0.19.0/solutions/#Obtaining-solutions-1)

Or you might be looking for `JuMP.set_start_value` [Variables · JuMP](http://www.juliaopt.org/JuMP.jl/dev/variables/#Start-values-1)

---

_[View the full topic](https://discourse.julialang.org/t/jump-variable-constraint-depending-on-variable/24313)._
