# \#bilevel

**URL:** https://discourse.julialang.org/tag/bilevel/1362.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [BilevelJuMP: Symmetric variables not supported?](https://discourse.julialang.org/t/bileveljump-symmetric-variables-not-supported/127346)

<div class="topic-metadata">

**Author:** [@HSt](https://discourse.julialang.org/u/HSt)\
**Replies:** 1\
**Last updated:** [March 25, 2025, 6:58pm UTC](https://discourse.julialang.org/t/bileveljump-symmetric-variables-not-supported/127346 "2025-03-25T18:58:47Z")

</div>

I’ve build functions to add specific variables and constraints one after another, to modularize model creation. Some of the variables should be symmetric, which is fine in regular JuMP when constrained on creation. How…

---

## [Issues solving a bilevel optimization with binary variables](https://discourse.julialang.org/t/issues-solving-a-bilevel-optimization-with-binary-variables/105460)

<div class="topic-metadata">

**Author:** [@kiki](https://discourse.julialang.org/u/kiki)\
**Replies:** 3\
**Last updated:** [November 29, 2023, 5:44pm UTC](https://discourse.julialang.org/t/issues-solving-a-bilevel-optimization-with-binary-variables/105460 "2023-11-29T17:44:23Z")

</div>

I’m new using Julia to solve my nonlinear mixed integer bilevel model, so I have a model in JuMP using BilevelJuMP with binary and continuous variables at the lower and upper level and with non-linear \[non quadratic\] co…

---

## [Solve bilevel optimization the stupid way](https://discourse.julialang.org/t/solve-bilevel-optimization-the-stupid-way/103024)

<div class="topic-metadata">

**Author:** [@cricci](https://discourse.julialang.org/u/cricci)\
**Replies:** 6\
**Last updated:** [September 15, 2023, 9:27am UTC](https://discourse.julialang.org/t/solve-bilevel-optimization-the-stupid-way/103024 "2023-09-15T09:27:38Z")

</div>

I would like to solve a bilevel optimization problem in a dumb way. Consider the following (as an example) \\min\_{x,y}\\quad x^4 - \\sin(y)\\\\ \\text{s.t.}\\quad x \\geq 2, x^3+y^3 \\leq 1\\\\ y(x) \\in \\arg\\min\_{y} y^2 + x\\\\ 3…

---

## [Access to automatic reformulations created internally by BilevelJump](https://discourse.julialang.org/t/access-to-automatic-reformulations-created-internally-by-bileveljump/100268)

<div class="topic-metadata">

**Author:** [@martina.gherardi](https://discourse.julialang.org/u/martina.gherardi)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 4:32am UTC](https://discourse.julialang.org/t/access-to-automatic-reformulations-created-internally-by-bileveljump/100268 "2023-06-21T04:32:43Z")

</div>

Hi, I was wondering if there is a possibility to access the automatic reformulations that BilevelJump creates internally to solve the bilinear model. In particular, I would like to access (1) the dual of the lower level…

---

## [Bilevel model with multiple lower levels](https://discourse.julialang.org/t/bilevel-model-with-multiple-lower-levels/100113)

<div class="topic-metadata">

**Author:** [@martina.gherardi](https://discourse.julialang.org/u/martina.gherardi)\
**Replies:** 3\
**Last updated:** [June 21, 2023, 4:40am UTC](https://discourse.julialang.org/t/bilevel-model-with-multiple-lower-levels/100113 "2023-06-21T04:40:09Z")

</div>

Hi, I’m currently working on a bilevel problem that has: one lower level problem for each period a single upper level problem that considers all the periods How to code this kind of bilevel problem with “mode=Bilevel…

---

## [BiLevel with Lower Quadratic Constraints](https://discourse.julialang.org/t/bilevel-with-lower-quadratic-constraints/99603)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 3\
**Last updated:** [May 30, 2023, 10:26pm UTC](https://discourse.julialang.org/t/bilevel-with-lower-quadratic-constraints/99603 "2023-05-30T22:26:54Z")

</div>

As “BilevelJuMP is not able to solve problems with quadratic constraints in the lower level.” Is there a recommended way to solve bilevel optimizations where the lower level has quadratic constraints and the upper level …
