# How to show the solution of all variables when using DualDecomposition.jl

**URL:** https://discourse.julialang.org/t/how-to-show-the-solution-of-all-variables-when-using-dualdecomposition-jl/110975
**Category:** Optimization (Mathematical)
**Tags:** question, optimization
**Created:** [February 29, 2024, 9:46pm UTC](https://discourse.julialang.org/t/how-to-show-the-solution-of-all-variables-when-using-dualdecomposition-jl/110975 "2024-02-29T21:46:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ethan\_Tran](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ethan_tran/32/49198_2.png) [@Ethan\_Tran](https://discourse.julialang.org/u/Ethan_Tran)
#### Post date: [February 29, 2024, 9:46pm UTC](https://discourse.julialang.org/t/how-to-show-the-solution-of-all-variables-when-using-dualdecomposition-jl/110975/1 "2024-02-29T21:46:40Z")

</div>

I am trying to use the DualDecomposition package to solve the farmer test case. The `@show DD.primal_solution(algo)` just shows the solution for the CROPS variables. How could I show all variables including CROPS, PURCH, and SELL?

Thank you for your time.

---

<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: [March 3, 2024, 3:01am UTC](https://discourse.julialang.org/t/how-to-show-the-solution-of-all-variables-when-using-dualdecomposition-jl/110975/2 "2024-03-03T03:01:10Z")

</div>

Hi @Ethan_Tran

I assume you’re referring to [GitHub - kibaekkim/DualDecomposition.jl: An algorithmic framework for parallel dual decomposition methods in Julia](https://github.com/kibaekkim/DualDecomposition.jl)?

I dont know if Kibaek reads this forum. You might have more luck opening a GitHub issue.

---

<div class="post-metadata">

### Author: ![Ethan\_Tran](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ethan_tran/32/49198_2.png) [@Ethan\_Tran](https://discourse.julialang.org/u/Ethan_Tran)
#### Post date: [March 5, 2024, 4:23pm UTC](https://discourse.julialang.org/t/how-to-show-the-solution-of-all-variables-when-using-dualdecomposition-jl/110975/3 "2024-03-05T16:23:08Z")

</div>

I have opened the issue in the GitHub.
