# Optimization problem

**URL:** <https://discourse.julialang.org/t/optimization-problem/33026>\
**Category:** Optimization (Mathematical)\
**Created:** [January 6, 2020, 3:12pm UTC](https://discourse.julialang.org/t/optimization-problem/33026 "2020-01-06T15:12:21Z")\
**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:** [January 6, 2020, 4:34pm UTC](https://discourse.julialang.org/t/optimization-problem/33026/2 "2020-01-06T16:34:10Z")

</div>

If you look up the termination status:

```julia
julia> termination_status(model4)
INFEASIBLE::TerminationStatusCode = 2

```

you will see that it is infeasible. Is this what you mean by doesn’t run?

Should read: [Query Solutions · JuMP](https://www.juliaopt.org/JuMP.jl/v0.20.0/solutions/)

p.s., You should read [this PSA](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757) about how to format your code.

p.p.s., this looks like a homework question. If so, while people may help you with JuMP syntax, you should be mindful of your schools homework policy.

---

_[View the full topic](https://discourse.julialang.org/t/optimization-problem/33026)._
